dpkg-reconfigure grub-pc no longer prompts for grub-pc/install_devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Confirmed
|
High
|
Unassigned | ||
Xenial |
Confirmed
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned | ||
Groovy |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* dpkg-reconfigure grub-pc no longer reinstalls grub, as it should.
[Test Case]
* Set grub-pc/
* Execute $ sudo dpkg-reconfigure grub-pc
One should expect attempts to grub-instal onto /dev/hda, fail that, and see dialogues asking which devices to install grub-pc onto, and successfully install them.
[Regression Potential]
* We are patching, the recently/newly added postinst condition to skip trying to install grub-install during typical/regular upgrades. Further tighten the conditions there, to still force install grub-install when executing grub-reconfigure to be inline with existing documentation that this is the command to use when one wishes to reinstall grub-pc interactively.
[Other Info]
* Original bug report
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:/
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:/
tags: | added: regression-update |
tags: | added: rls-gg-incoming |
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 |
description: | updated |
tags: | added: id-5f47d07571fd694b6b92cb34 |
Changed in grub2 (Ubuntu Focal): | |
status: | Confirmed → In Progress |
tags: |
added: verification-done removed: verification-needed |
tags: | added: fr-206 |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
Status changed to 'Confirmed' because the bug affects multiple users.