[Bug 851704] Re: GRUB reports error after successful installation (Alternate)

Colin Watson cjwatson at canonical.com
Fri Sep 23 20:00:53 UTC 2011


** Changed in: grub-installer (Ubuntu Oneiric)
       Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/851704

Title:
  GRUB reports error after successful installation (Alternate)

Status in “grub-installer” package in Ubuntu:
  Fix Committed
Status in “grub-installer” source package in Oneiric:
  Fix Committed

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/sda5_crypt -> LVM PV, only PV in VG system

  /dev/mapper/system-root1 -> / for Kubuntu 11.04
  /dev/mapper/system-root2 -> / for (to be installed) Kubuntu 11.10
  /dev/mapper/system-swap -> Swap partition for any Linux 
  /dev/mapper/system-home -> /home for any Linux

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/851704/+subscriptions




More information about the foundations-bugs mailing list