[Bug 1892526] Re: dpkg-reconfigure grub-pc no longer prompts for grub-pc/install_devices

Steve Langasek 1892526 at bugs.launchpad.net
Thu Aug 27 15:24:35 UTC 2020


** Also affects: grub2 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: grub2 (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: grub2 (Ubuntu Groovy)
   Importance: Undecided
       Status: Confirmed

** Also affects: grub2 (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: grub2 (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: grub2 (Ubuntu Trusty)
   Importance: Undecided => High

** Changed in: grub2 (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: grub2 (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: grub2 (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: grub2 (Ubuntu Groovy)
   Importance: Undecided => High

** Tags removed: rls-gg-incoming

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

Title:
  dpkg-reconfigure grub-pc no longer prompts for grub-pc/install_devices

Status in grub2 package in Ubuntu:
  Confirmed
Status in grub2 source package in Trusty:
  New
Status in grub2 source package in Xenial:
  New
Status in grub2 source package in Bionic:
  New
Status in grub2 source package in Focal:
  New
Status in grub2 source package in Groovy:
  Confirmed

Bug description:
  I recently had a RAID-5 disk failure and was greeted by an inoperable
  grub due to not having installed grub on all the disks.  I temporarily
  fixed this problem by manually running "grub-install" on the other
  disks in the array and got my system working.

  Previously it was advised to run "dpkg-reconfigure grub-pc" and select
  the relevant disks to ensure that future grub updates installed on all
  the disks in the array.  This command no longer prompts for the
  install disks due to the changed introduced by
  https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1889556.  In
  /var/lib/dpkg/info/grub-pc.postinst, the following elif block
  immediately precedes the elif block that prompts for grub-
  pc/install_devices and short circuits on all recent grub versions:

    elif dpkg --compare-versions "$2" ge 2.04-1ubuntu26; then
      # Avoid the possibility of breaking grub on SRU update
      # due to ABI change
      :

  I can confirm this issue is present on 20.04.1 and it appears to be
  present on 18.04.4 per https://askubuntu.com/questions/1212569/dpkg-
  reconfigure-grub-pc-no-option-to-select-boot-device

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



More information about the foundations-bugs mailing list