Ubuntu Installation :: Mkinitramfs Not Creating Proper Images?
Aug 15, 2010
the title says it all, mkinitramfs isnt creating proper initrd images. it used to work properly in karmic, but now i get an error saying 5: scripts/functions not found. wat does that mean? oh and also, when i boot into the new custom kernel, i am thrown into initramfs shell
I know why this happened, but I need to know what problems it's going to cause and how I can re-install / fix the problem. I have my /tmp folder mounted as -noexec ... so when I did a recent update to my 10.04.1 LTS server installation, I got the following errors:
Every time kubuntu updates its headers/boot image I get another version on disk in /boot. These also show up in menu choices when I boot. I currently have 7 or 8 versions and would like to get down to three or four.
In the past I just deleted the files of related versions from /boot but is this the preferred method? Is there a better/safer way to get rid of old kernels?
I have a workstation running Fedora 15 with custom software and settings. I want to make an image of this machine for fast and easy deployment around the office (preferably a DVD, but could also use an external USB drive for install).How would you go about doing this from an existing install?
I have been using GHOST for quite a few years to back up my Windoze partitions from NTFS to a series of images on a fat32 partition. I usually boot off a DOS7 bootable CD and simply ghost over to the fat32 partition.
I am rebuilding my laptops and desktops to dual boot Windows7 and Suse 11.2
My goal is to create restore images from my NTFS and ext3 partitions into directories on the fat32 partition for a restoration to my "gold baseline" build after any corruption.
My partition layout is below. This is output from gdisk.exe in DOS7. It's an 80gig drive.
We are in the process of pruning our directories to recuperate some disk space.
The 'algorithm' for the pruning/backup process consists of a list of directories and, for each one of them, a set of rules, e.g. 'compress *.bin', 'move *.blah', 'delete *.crap', 'leave *.important'; these rules change from directory to directory but are well known. The compressed and moved files are stored in a temporary file system, burned onto a blue ray, tested within the blue ray, and, finally, deleted from their original locations.
I am doing this in Python (basically a walk statement with a dictionary with the rules for each extension in each folder).
Do you recommend a better methodology for pruning file systems? How do you do it?
I am thinking of using flash drives to boot linux image files instead of iso files. I remember reading in the past that booting off USB flash drives were sometimes problematic -- and I don't know if they're still are. I want to know from your personal experience what type and brand of flash drive has work for you in creating a bootable flash image.
Description: I am trying to create a custom pxe booted environment to automate the repair of systems.
I've successfully created a custom initramfs and booted it. So far everything is working well. I had manually added in modules, I had copied over binary tools and they do work. The system boots fine and stops at the prompt below where I can manually perform all the tasks I need: (initramfs)
Problem:
1) I tried adding in custom scripts to automate the above process in "init-bottom" and "local-bottom" but they all fail saying that "panic", "log_begin_msg", "log_end_msg" don't exist. They are in the "functions" file though.
2) It's entirely possible this is related to the root mount. I don't want to mount a disk as a root device. In fact I am just happy with the (initramfs) prompt. So far I've just removed the "set root" option from grub and it just complains but continues anyways. This could be why it can't find the functions.
I installed 9.10 on a computer I'm working on, and right away the graphics went out. It won't display the proper resolution without shoving the display significantly to the left.
After MUCH Googling, I found that this can be fixed by a driver called i915. After much MORE Googling, I found [URL], which as you can imagine filled me with relief.
And THEN I try to follow the instructions and discover to my pure horror that GRUB has been gutted and made unusable in 9.10. GRUB2 just simply does not seem to have an option to insert the i915 driver into my boot command.
should I just forget this unstable release and burn a 9.04 disk instead?
I attempted to do a proper install of Ubuntu 11.04 via booting of off CD. This failed because my CD/DVD drive is quirky and does not like burned CDs, though it likes factory pressed CDs just fine. I reattempted using a burned DVD, which almost worked, but my quirky drive just couldn't quite handle it. Replacing this drive is currently not an option, as I have no money for such things at this time.
I updated the CD/DVD drive firmware to 102D (apparently the most recent), but to no avail. I am comfortable with tearing apart electronics, so if anyone has knowledgeable suggestions about any kind of maintenance I could do to the drive I would be happy to hear it. Also, a (cheap!) factory pressed Ubuntu CD could work as well. Are such things available?
I further attempted booting via flash drive, but this failed as well, despite changing BIOS settings. If anyone has any useful suggestions on this, I would be happy to hear them. I attempted installation within Windows XP and was successful, though this is not an optimal solution. I have a second 60GB hard drive in this laptop that I would like to devote to a proper installation of Linux. It seems like I should be able to do this from within the current Ubuntu installation, but I am unsure of how to proceed.
Just installed 11.04. Before install, during live cd preview, it detected my dell wireless card and offered to install a Broadcom (as I remember) proprietary driver. However, after a proper install, it did not make the same offer and left no wireless available.
using the update maneger to update on ubuntu new linux images available 2.6.31-17 generic and after the download is complete both images exist in the grub menu should i remove them ? or just remove them from the boot menu ? and if so how could i do each.
With the updates received with Ubuntu 10.10 my grub splash screen has become very busy. Is there a proper way to clean off the older update options?My dual boot for Windows 7 has now been pushed off to a second screen.
I've been trying since ever to install the new ubuntu on my FakeRaid controller and I'm really starting to get frustrated. After restarting, i get the message "reboot and select proper device.." So my first tough was that my grub was not installed properly. So i ran the boot_info_script.sh that I found in the forum and here is my output. It says that the boot loader is not installed and my Raid is screwed up. I went look in the BIOS and everything looks fine. Ive put the result.TXT from the script.
Quote:
Boot Info Script 0.60 from 17 May 2011 ============================= Boot Info Summary: =============================== => No boot loader is installed in the MBR of /dev/mapper/ddf1_00000000000000004b1ba2914b1ba291f5010000f5010 000. ddf1_00000000000000004b1ba2914b1ba291f5010000f5010 0001: ________________________
I intend to switch to Debian form PCLinuxOS. I am not an experienced Linux user. But I intend to switch all my machines to Linux. I have used Antix as well on an older machine. I am a bit familiar with the basic Linux CLI commands.
I intend to switch to Debian as I think the support (Forums and probably mailinglist) are more active then PCLoS and Antix. Sadly enough though the live cd gives a problem which no distro gave on the same machine. And I really do not know what to do about it.
When starting the first line that prints is:
Umount: can't mount /live overlay: Device or resource busy
What is the best way to install Firefox 5 (with flash) in Debian Testing ? I'm asking this because, until now, I've used Mint Debian, and now when I switched to Debian, there isn't a firefox 5 package in debian repositories, and I'm used to installing software through Synaptic only
I am running Linux from a DVD, not installed. I am not good with installing software, but since the DVD cannot be corrupted, I am content to operate this way. Lately, I have been having problems that previously did not occur. When I try to click on the checkbox to get rid of emails, it doesn't register in most cases, or when it does, I am clicking multiple times so it registers twice, meaning it is unchecked again. Even more frustrating is some issues that are affecting my ability to update my business. I am trying to modify spreadsheets (text not calculations).
Whenever I try to click & drag to select something to change, it keeps jumping around to select only some of what I want, something else or some combination of the 2. When I try to copy and paste several fields from 1 column to another, everything from the several fields in the source column ends up together in the last field in the target column. I am also trying to download some images from a website. There is a single column of links to the images. I have to click on the link to get to the image in order to copy it, then back out to continue looking for more links to do the same.
My computer keeps jumping back 2 steps, then forward 2 steps, and sometimes I lose my place in that list. I could deal with it if it were a small number of links, but this is a list of probably close to 20,000 links. Again, i am operating off of a live DVD so this should not be corruptible, but this has just started happening, and has been an issue the last several sessions.
I know that ImageMagick's convert program can be used as follows to convert a collection of images -- say, in PNG format -- to a PDF file:
convert *png output.pdf
The problem with this is that each image is then stretched to fit on one page, whereas I would like to keep the original dimensions of the images and put as many as possible on one page in the PDF file before moving on to another page.
I tried to install F12 on my new IDE-HDD. The installation completed without any errors. But, when rebooting my PC I got a dark screen with error message: reboot and select proper boot device.
No BIOS boot up issue, since booting up using other hard disk running windows has no problem at all. I have set the hardisk jumper to master/primary, tried to re-install F12 a couples of time, but didn't make any difference.
I am just spent half an hour hunting for a thing that should be totally available already:USB install images of Ubuntu, knoppix and all the others.And, the only good way are so far complicated tutorials where you extract the stuff from an CD image. Why??Hasn't everybody notices that CDs/DVDs are vanishing big time? That more and more systems don't have the readers anymore? Instead of following a 10 point instruction list, it would be nice to just be able to download a Ubuntu 8.10 or whatever USB image and be able to beam that DIRECTLY to a USB stick with a dd command.
Or am a missing something here? Does this exist?It should by no means be mariginal, considering how important USB stick in specific and flash memory in general have become.
I've been playing around with arch and ubuntu in virtual box, and after many... many installs i realized it'd be practical to just image the virtual drive and do it that way.
Now of course I could just copy the vdi file, but that's cheating.
Kind of like what is normally done with norton ghost, however I don't have money to be buying it, and so it's left me curious about what utilities similar to ghost there are our there.
I dont know what the problem is ive downloaded 2 different images of ubuntu 10.10 and one for 10.04. Ive also tried the Wubi.exe download as well. everytime i try and install inside windows it gives me the error right at the end tells me that permission is denied and to check the logs. I know that im not the only one that is having this problem. I have tried to reburn the image at a slower speed only thing that i havent tried is installing using a thumb drive.
The Ubuntu website doesn't include the md5 checksums for the current 10.04 matrix. The forum announcement thread also makes no mention of these checksums. That means servers could be distributing defective isos and on day one, that could mean tens of thousands of downloads could be defective. I have to say that md5sums have been a mainstay of Linux ISO distribution for a decade, this despite whatever flaws one might find in it, yet for the last few releases of U, md5sum data are the hardest data to locate on the Ubuntu website, and on release day, they are critical.
recently i shifted to Ubuntu.I been using US patent and trademark site in windows.but after shifting to Ubuntu I'm unable to view the images as it is asking for additional plug ins required for it.
I turned on the computer this morning as usual, went into firefox, and some of the pages in the tabs look a bit strange, but i reckon they're just loading slow.Then I went into one of my sites that has images of some other sites that I designed. The images all seem to be there, so on. So I click through to one of the sites and... no images. Odd. Tried clicking where the image should be "View image" and it says firefox can't find it. Checked in ftp, the images are there and viewable.
Installed chrome and the site is perfect. Images showing up and everything.Still the same after a reboot.It makes cpanel really hard to use. Lots of sites including Facebook are just rubbish to look at (not just mine), seems the stylesheets may not be loading either in some cases. However, Ubuntu Forums is normal. In fact the whole thing is apparently completely randomAll is fine in Chrome.Is this a buggy version of firefox installed in the the latest update?
I copied memdisk from /usr/lib/syslinux/ over the to my floppy disk image (dos622.img) and booted int the grub command prompt to see if i could load the image manually. with the followinglinux /boot/memdiskinitrd /boot/dos622.img but nothing occurs, it just goes back the the command prompt. When i trylinux16 /boot/memdiskinitrd /boot/dos622.img i get "linux-bz image, setup -0x600, size 0x5apc form the linux16 command and"You need to load a kernel first" form the Initrd command.
what kind of network between cloud controller and nodes, is required for a proper cloud installation? I mean, Does all machines needs to be in same network, in same lan, or may be in MAN or WAN ? how much should be network throughput? 1Mbit/sec , 10Mbit per sec, or 1Gbit/sec? I ask because I need to know the possibility of running nodes on different locations.
I burned 2 cds using K3b and the speed was 8X, I think that is the minimum, but it didn't work so I Want to go a speed lower, what is a software that has this? And also, what is the lowest speed I should go?
I recently upgraded from 10.04 to 11.04, and when I did so images started displaying improperly in Firefox. This is an issue that is isolated to Firefox, and does not occur in Chrome, and really only occurs on Facebook. The images look as though they were taken under a blacklight. I don't know what the issue is, as I was running Firefox 4 under 10.04, and the issue did not occur then.