Option 'No' at question 'Continue without installing GRUB?' does nothing. Forced to answer 'Yes'.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Colin Watson |
Bug Description
Binary package hint: grub2
This bug is in the debconf screens of grub-pc.
During upgrades it asks 'You chose not to install GRUB to any devices. [ ... ] Continue without installing GRUB?' and offers two options: Yes or No. Answering 'No' does nothing and brings you back to the same screen which forces you to answer 'Yes' and continue upgrading (and manually installing / updating GRUB in the MBR of your disks).
It would be nice if answering 'No' in that screen brings you to a screen to select which devices to install GRUB to and disable the question in later upgrades.
SRU justification:
IMPACT: This was caused by the fact that there's a while loop around the code that asks the grub-pc/
DEVELOPMENT BRANCH: While I haven't uploaded this yet due to the Alpha-2 freeze, I've committed it to the Maverick branch for grub2 1.98+20100614-
PATCH: The raw patch is quite large due to indentation changes (the result would have been much more confusing without those changes!). 'diff -bu' makes it much more readable, though: http://
TEST CASE: Install Karmic on a two-disk system, run 'echo SET grub-pc/
REGRESSION POTENTIAL: As with bug 576724, upgrades or dpkg-reconfigure might break. I think this test case should exercise most of the possible problem cases, though.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: grub-pc 1.98-1ubuntu6
ProcVersionSign
Uname: Linux 2.6.32-21-server x86_64
Architecture: amd64
Date: Fri May 14 11:22:47 2010
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
ProcEnviron:
LC_COLLATE=C
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: grub2
Changed in grub2 (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → High |
Changed in grub2 (Ubuntu Lucid): | |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
status: | New → Triaged |
milestone: | none → ubuntu-10.04.1 |
Changed in grub2 (Ubuntu): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in grub2 (Ubuntu Lucid): | |
status: | Triaged → In Progress |
description: | updated |
description: | updated |
tags: | added: patch |
tags: | added: testcase |
Changed in grub2 (Ubuntu): | |
assignee: | Colin Watson (cjwatson) → nobody |
This bug was fixed in the package grub2 - 1.98+20100614- 2ubuntu4
--------------- 2ubuntu4) maverick; urgency=low
grub2 (1.98+20100614-
* Rearrange postinst install_devices logic so that preparatory code is run
only once and the while loop only encloses actual asking of questions,
and so that the question being asked is always marked for redisplay when
going round the while loop again (LP: #580408).
* Only offer partitions containing /, /boot, or /boot/grub for
grub-install; installing to other partitions may have harmful effects
such as making Windows unbootable, and installing GRUB to every single
partition is likely to result in confusion anyway (LP: #576724).
-- Colin Watson <email address hidden> Thu, 01 Jul 2010 18:26:37 +0100