[Bug 726021] Re: update-grub handles vg names with dashes incorrectly

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 12:49:47 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

** Changed in: grub2 (Ubuntu)
       Status: Confirmed => Incomplete

-- 
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:
  Incomplete

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