Azitech

Azimout's Linux weblog

gave up waiting for root device

leave a comment »

Had to resolve a very strange problem today: a pc (not mine) running Karmic, would fail to boot. I could see grub (1.98), choose an entry, then it would wait for 30 seconds and time out, complaining it had given up waiting for the root device, and drop me to a busybox “(initramfs)” prompt.

If I chose the “recovery” (single) option, it would boot the initrd and then drop me to the busybox prompt. Replacing root=UUID=blahblah (and removing the “search” line) didn’t help. I looked at /dev/disk, and it was empty except for a “by-path” entry. Booting from the LiveCD, the partition looked fine. I confirmed that the UUID was correct. Touching an empty file (in case this was bug #518582) didn’t solve this.

In the end, I booted from a LiveCD, mounted the root partition, devfs, procfs and sysfs, and did a full-upgrade. After that, the problem went away. Not sure if upgrading any packages did the trick (I saw that grub-pc was upgraded) or if such a big change of inodes deferred the problem.

Advertisements

Written by azimout

09/07/2010 at 13:35

Posted in Problems

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: