quequotion
December 27th, 2009, 11:44 AM
System: Jaunty Jackalope x86_64
After an update, wherein linux-image-2.6.28-17 was installed, I noticed that the system was unbootable with the new kernel. The previous kernel, linux-image-2.6.28-11 was still working, so I ignored the problem and continued working with the old kernel. Another update (package unknown, several were upgraded at the time) called update-initramfs on 2.6.28-11 and ruined everything.
Now both kernels exhibit the same boot failure:
Starting up ...
[ 5.110355] i8042.c: No controller found.
Loading, please wait...
/sbin/usplash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/sbin/udevd: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dmraid: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wiat fo rthe right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mapper/nvidia_dgcgcffh1 does not exist. Dropping to a shell!And then I get BusyBox. Unfortunately, there's no keyboard driver so I can't use BusyBox.
i've tried the solution from this page:
http://chevdor.blogspot.com/2009/06/installing-ubuntu-on-raid10-sata-array.htmlUnfortunately, there are a lot of type-os in the code. i found the same solution on launchpad and gave it a try, but it was no help. However after striping the initramfs and checking which modules it has in a manner similar to that suggested, i find that my initramfs HAS the modules for dmraid at least... although i can't tell what it's doing with them.
this page discusses the problem I'm having as well, but the solution is no good:
http://www.dedoimedo.com/computers/ubuntu-initrd-bug.htmlSince I don't have a spare working system nearby and can't install another one anywhere.
This issue has been a problem for me in Intrepid, Jaunty, and Karmic.
In Intrepid it only happened at fresh install and was simple to fix, one simply had to boot form the live cd, install dmraid, chroot in, install dmraid on the system, update initramfs, and install grub.. The process for fresh install in Jaunty is practically the same, with the exception of compiling a custom dmraid to fix a mistake in it's initramfs hooks (and i did that, and that is the dmraid package i have installed now).
Karmic would install out of the box, but got the same error because it installed a GPT partition table which nothing can boot (why do that?), so it could be fixed by changing to an MSDOS partition table.
Both Karmic and Jaunty have exhibited this tendency to break a working initramfs periodically and in the past i just reinstalled the operating system...
In the past month, I tried to upgrade from Intrepid to Jaunty to Karmic and have formatted and reinstalled dozens upon dozens of times in the process... finally I just gave up on Karmic. Jaunty was working, beautifully, until a few hours ago.. After reading endless pages of forums, wikis, chatlogs, and blogs about dmraid and initramfs and the linux kernel... i'm no closer to booting my system than I was last night when it suddenly lost the root partition...
## UPDATE ##
It turns out that mkinitramfs was adding libraries i'd specified in ld.so.preload and somehow that broke everything. Why that happens and if it's a bug or a feature I do not know.
I do wish I had seen some kind of warning about that however, as I was following the instructions specified in dante-client's man page.
After an update, wherein linux-image-2.6.28-17 was installed, I noticed that the system was unbootable with the new kernel. The previous kernel, linux-image-2.6.28-11 was still working, so I ignored the problem and continued working with the old kernel. Another update (package unknown, several were upgraded at the time) called update-initramfs on 2.6.28-11 and ruined everything.
Now both kernels exhibit the same boot failure:
Starting up ...
[ 5.110355] i8042.c: No controller found.
Loading, please wait...
/sbin/usplash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/sbin/udevd: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dmraid: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wiat fo rthe right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mapper/nvidia_dgcgcffh1 does not exist. Dropping to a shell!And then I get BusyBox. Unfortunately, there's no keyboard driver so I can't use BusyBox.
i've tried the solution from this page:
http://chevdor.blogspot.com/2009/06/installing-ubuntu-on-raid10-sata-array.htmlUnfortunately, there are a lot of type-os in the code. i found the same solution on launchpad and gave it a try, but it was no help. However after striping the initramfs and checking which modules it has in a manner similar to that suggested, i find that my initramfs HAS the modules for dmraid at least... although i can't tell what it's doing with them.
this page discusses the problem I'm having as well, but the solution is no good:
http://www.dedoimedo.com/computers/ubuntu-initrd-bug.htmlSince I don't have a spare working system nearby and can't install another one anywhere.
This issue has been a problem for me in Intrepid, Jaunty, and Karmic.
In Intrepid it only happened at fresh install and was simple to fix, one simply had to boot form the live cd, install dmraid, chroot in, install dmraid on the system, update initramfs, and install grub.. The process for fresh install in Jaunty is practically the same, with the exception of compiling a custom dmraid to fix a mistake in it's initramfs hooks (and i did that, and that is the dmraid package i have installed now).
Karmic would install out of the box, but got the same error because it installed a GPT partition table which nothing can boot (why do that?), so it could be fixed by changing to an MSDOS partition table.
Both Karmic and Jaunty have exhibited this tendency to break a working initramfs periodically and in the past i just reinstalled the operating system...
In the past month, I tried to upgrade from Intrepid to Jaunty to Karmic and have formatted and reinstalled dozens upon dozens of times in the process... finally I just gave up on Karmic. Jaunty was working, beautifully, until a few hours ago.. After reading endless pages of forums, wikis, chatlogs, and blogs about dmraid and initramfs and the linux kernel... i'm no closer to booting my system than I was last night when it suddenly lost the root partition...
## UPDATE ##
It turns out that mkinitramfs was adding libraries i'd specified in ld.so.preload and somehow that broke everything. Why that happens and if it's a bug or a feature I do not know.
I do wish I had seen some kind of warning about that however, as I was following the instructions specified in dante-client's man page.