GRUB reports error after successful installation (Alternate)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Oneiric |
Fix Released
|
High
|
Colin Watson | ||
grub2 (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Oneiric |
Invalid
|
High
|
Unassigned |
Bug Description
I'm using Kubuntu Oneiric Daily amd64 alternate iso for installation, date of 15. Sep.
Partitioning setup is complex:
/dev/sda1 -> /boot for Kubuntu 11.04
/dev/sda2 -> /boot for (to be installed) Kubuntu 11.10
/dev/sda3 -> Extended partition
/dev/sda5 -> Crypto partition (LUKS)
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
Crypt partition and LVM are already set up by Kubuntu 11.04. During installation of Kubuntu 11.10, the crypt-partition in /dev/sda5 gets activated and every partition gets listed. Installation works until GRUB installation.
The installer identifies Kubuntu 11.04 as already installed and suggests to install GRUB into the MBR. Following that suggestion, the installer runs "grub-install /dev/sda", then "update-grub". Then the installer shows a red error screen, indicating that some process during GRUB installation ended with exit code 1. Retrying leads to the same result. Choosing "Continue without boot loader installation" from the main menu concludes the installation.
After reboot, GRUB reports as version "1.99-12ubuntu3" (from Kubuntu 11.10) and offers to boot Kubuntu 11.10 (Linux 3.0.0-11-generic) as well as Kubuntu 11.04 (Linux 2.6.38-11-generic).
So from my point of view, GRUB installs correctly and reports a false negative. Actually, this error is older and occurred in Natty (Maverick?) too, but I didn't bother to report it as I had to use some workarounds (cryptsetup, lvchange, ...) from a console to activate the existiting partitions without data loss. With bug 420080 now resolved, this should be fixed too.
tags: | added: rls-mgr-o-tracking |
Changed in debian-installer (Ubuntu): | |
importance: | Undecided → High |
Changed in debian-installer (Ubuntu Oneiric): | |
milestone: | none → ubuntu-11.10 |
assignee: | nobody → Ubuntu Installer Team (ubuntu-installer) |
Changed in grub-installer (Ubuntu Oneiric): | |
status: | Triaged → Fix Committed |
Please note: As you'll see from the logs, I tested this with a VirtualBox image, but the bug is occurs on actual hardware too. I have two T410 thinkpads with this configuration, both got a parallel installation (Natty beside already existing Maverick) by using cryptsetup and lvchange by hand before the partition manager started. In both cases the bootloader installation "failed" but worked after reboot.