As a workaround I have written a new update-grub which corrects this
bug:

root@fextest01:~# type -a update-grub
update-grub is /usr/local/sbin/update-grub
update-grub is /usr/sbin/update-grub

root@fextest01:~# update-grub
/usr/local/sbin/update-grub: workaround for 
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/508901
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.0-57-generic
Found initrd image: /boot/initrd.img-6.8.0-57-generic
Found linux image: /boot/vmlinuz-6.8.0-56-generic
Found initrd image: /boot/initrd.img-6.8.0-56-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot 
entries.
Found Ubuntu 24.04.2 LTS (24.04) on /dev/mapper/ubuntu--vg-ubuntu--lv
Adding boot menu entry for UEFI Firmware Settings ...
done

/boot/grub/grub.cfg contains now the correct root= parameter


** Attachment added: "update-grub"
   
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/508901/+attachment/5869622/+files/update-grub

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/508901

Title:
  update-grub sets wrong root argument

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/508901/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to