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

Launchpad Bug Tracker 851704 at bugs.launchpad.net
Thu Sep 29 08:18:43 UTC 2011


This bug was fixed in the package grub-installer - 1.68ubuntu3

---------------
grub-installer (1.68ubuntu3) oneiric; urgency=low

  * Only process the output of os-prober into boot menu entries if we're
    actually going to use them; if we're using GRUB 2 and os-prober is
    installed, then it will deal with this itself and do a better job of it
    (LP: #851704).
 -- Colin Watson <cjwatson at ubuntu.com>   Thu, 29 Sep 2011 09:00:21 +0100

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

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

Title:
  GRUB reports error after successful installation (Alternate)

Status in “grub-installer” package in Ubuntu:
  Fix Released
Status in “grub2” package in Ubuntu:
  Invalid
Status in “grub-installer” source package in Oneiric:
  Fix Released
Status in “grub2” source package in Oneiric:
  Invalid

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