[Bug 1997795] Re: grub-multi-install offers wrong devices as ESP

Launchpad Bug Tracker 1997795 at bugs.launchpad.net
Thu Nov 24 15:05:58 UTC 2022


** Merge proposal linked:
   https://code.launchpad.net/~juliank/grub/+git/ubuntu/+merge/425279

-- 
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/1997795

Title:
  grub-multi-install offers wrong devices as ESP

Status in grub2 package in Ubuntu:
  New

Bug description:
  [Impact]
  grub-multi-install offers the wrong device as ESP if a previous partition was recognized, because it does not correctly reset state between loop iterations, causing people to be offered e.g. the entire disk device as an ESP, and then install to obviously fail.

  [Test plan]
  Launch a lxd VM, run
   dpkg-reconfigure shim-signed

  check that only the ESP appears.

  Before the update, /dev/sda itself would appear as well.

  [Where problems could occur]
  Most importantly, some firmware are less restrictive about ESPs than grub-multi-install is, and if we previously accidentally "recognized" the partition as an ESP and now no longer do, grub does not get updated.

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




More information about the foundations-bugs mailing list