[Bug 311927] [NEW] /disk/by-uuid/ does not exist

Saddy sadmail at gmx.de
Sun Dec 28 14:39:52 UTC 2008

Public bug reported:

Binary package hint: initramfs-tools

As described in this post http://forum.ubuntuusers.de/topic/disk-byuuid-does-not-exist/ (german) I get the error message above directy after booting into the (new) kernels 2.6.27-9-generic and 2.6.24-21-generic in about ~50% of the boots. If so, the system says "gave up waiting for root device" and drops me into the initramfs shell (See http://media.ubuntuusers.de/forum/attachments/1752674/initramfs.png). 
In the other 50% of the cases the system boots and I can check my configuration with

sudo blkid 
/dev/sda1: UUID="1A5093135092F4AB" TYPE="ntfs" 
/dev/sdb1: UUID="b8116d40-b60a-48bf-a387-e525095c44f7" TYPE="ext3" 
/dev/sdb2: UUID="d4bd4a19-8f56-4c0e-8e7a-742582df5577" TYPE="jfs" 
/dev/sdb5: TYPE="swap" UUID="91cdb49a-f28e-4ce2-b171-baf6c423f31d".

In other cases, when the boot was successful (on the same system) I get
a config like this:

sudo blkid
/dev/sda1: UUID="b8116d40-b60a-48bf-a387-e525095c44f7" TYPE="ext3" 
/dev/sdb1: UUID="1A5093135092F4AB" TYPE="ntfs" 
/dev/sda2: UUID="d4bd4a19-8f56-4c0e-8e7a-742582df5577" TYPE="jfs" 
/dev/sda5: TYPE="swap" UUID="91cdb49a-f28e-4ce2-b171-baf6c423f31d"

(/sda1 and /sdb1 swapped)

sdb1 is my Linux partition (on a SATA drive) while sda1 should be my Win
partition (IDE).

I changed my groot like this
## default grub root device
## e.g. groot=(hd0,0)
# groot=b8116d40-b60a-48bf-a387-e525095c44f7

so, that my boot entry looks like this
title           Ubuntu 8.10, kernel 2.6.27-9-generic
uuid            b8116d40-b60a-48bf-a387-e525095c44f7
kernel          /boot/vmlinuz-2.6.27-9-generic root=UUID=b8116d40-b60a-48bf-a387-e525095c44f7 ro quiet splash
initrd          /boot/initrd.img-2.6.27-9-generic

If I change it to
 title           Ubuntu 8.10, kernel 2.6.27-9-generic
 root            (hd1,0)
 kernel          /boot/vmlinuz-2.6.27-9-generic root=/dev/sdb1 ro quiet splash
 initrd          /boot/initrd.img-2.6.27-9-generic

the system doesn't boot at all.
With the older kernel 2.6.24-19-generic everything works fine. 

My device.map:
cat /boot/grub/device.map
(hd0)	/dev/sda
(hd1)	/dev/sdb

As you can see on
http://media.ubuntuusers.de/forum/attachments/1752674/initramfs.png, my
linux device is not listed by initramfs (it should have an id like ATA

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

/disk/by-uuid/ does not exist
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.

More information about the kernel-bugs mailing list