Public bug reported:
Kernel 2.6.27 exhibits a regression that precludes specifying a root
device via human-readable labels: when giving the kernel a root device
via GRUB, one cannot pass a device via LABEL=sensical-name, but must
instead feed in a string of arbitrary, random hexadecimal digits. Labels
do still appear to work everywhere else (in /etc/fstab, etc.); the issue
seems to be confined to specifying the root device on boot-up. This
appears to be a regression from 2.6.24, where it can be verified that
booting from labeled roots does work.
To duplicate this behavior (with a root device whose label is, say,
hostname-root, and whose UUID is, say, deadbeef-cafe-b33f-c0de-b33fb33fb33f):
1. In /boot/grub/menu.lst, find the line that reads "#
kopt=root=UUID=deadbeef-cafe-b33f-c0de-b33fb33fb33f ro", and change it to read
"# kopt=root=LABEL=hostname-root ro".
2. Run "sudo update-grub".
3. Reboot. Kernel 2.6.27 freezes hard early in the boot process, while kernel
2.6.24 will still boot up smoothly.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
Kernel 2.6.27 exhibits a regression that precludes specifying a root
device via human-readable labels: when giving the kernel a root device
via GRUB, one cannot pass a device via LABEL=sensical-name, but must
instead feed in a string of arbitrary, random hexadecimal digits. Labels
do still appear to work everywhere else (in /etc/fstab, etc.); the issue
seems to be confined to specifying the root device on boot-up. This
appears to be a regression from 2.6.24, where it can be verified that
booting from labeled roots does work.
To duplicate this behavior (with a root device whose label is, say,
hostname-root, and whose UUID is, say, deadbeef-cafe-b33f-c0de-b33fb33fb33f):
- 1. In /boot/grub/menu.lst, find the line that reads "#
kopt=root=UUID=ef14f7a6-31d2-4094-bddd-eedd1fe8563b ro", and change it to read
"# kopt=root=LABEL=hostname-root ro".
+ 1. In /boot/grub/menu.lst, find the line that reads "#
kopt=root=UUID=deadbeef-cafe-b33f-c0de-b33fb33fb33f ro", and change it to read
"# kopt=root=LABEL=hostname-root ro".
2. Run "sudo update-grub".
3. Reboot. Kernel 2.6.27 freezes hard early in the boot process, while kernel
2.6.24 will still boot up smoothly.
--
[Intrepid][Regression] 2.6.27 fails to boot when given a root device via
LABEL=foo
https://bugs.launchpad.net/bugs/272285
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs