[Bug 726021] Re: update-grub handles vg names with dashes incorrectly
Launchpad Bug Tracker
726021 at bugs.launchpad.net
Sat Feb 4 04:43:35 UTC 2012
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: grub2 (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/726021
Title:
update-grub handles vg names with dashes incorrectly
Status in “grub2” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: grub2
When update-grub is probing for bootable partitions from logical
volumes, it creates incorrect menu entries if the volume group names
have dashes in them. Apparently the parameter format for the "set root
='(vg-lv)'" should be exactly the same as the device node name in
/dev/mapper, or /dev/mapper/vg-lv in the above case. However, for a
volume group called "vg-0" having a logical volume "root", the dash
gets sorta-escaped so that the mapper node path is /dev/mapper/vg--
0-root; update-grub still puts '(vg-0-root)' as the root parameter
however. This causes the menu entries to become unbootable, and if the
grub configuration itself resides on such an lvm volume, the whole
system becomes unbootable.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/726021/+subscriptions
More information about the foundations-bugs
mailing list