Upgrade to Beta 1 does not install grub to partition

Bug #838981 reported by Zak B. Elep on 2011-09-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)

Bug Description

Description: Ubuntu oneiric (development branch)
Release: 11.10

  Installed: 1.99-11ubuntu1
  Candidate: 1.99-11ubuntu1
  Version table:
 *** 1.99-11ubuntu1 0
        500 http://tw.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages
        100 /var/lib/dpkg/status

Prior setup is a Natty Install on /dev/sda5, with grub2 installed on that same partition, as laptop has a Windows installation in /dev/sda2, and the Windows boot manager is used as the main, chainloading to grub when Ubuntu is desired.

Upgrade to Oneiric Beta 1 seems to have a grub2 that does not allow itself being installed in /dev/sda5, as seen in /var/log/dist-upgrade/apt-term.log...

/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: will not proceed with blocklists.

...first reboot after upgrade left the Windows boot manager intact, but choosing to boot Ubuntu with it leads to a blank screen, meaning there's no grub2 in /dev/sda5; I find it odd that the upgrade removed it.

Workaround was to boot with a rescue CD (e.g. Natty live CD) and chroot to /dev/sda5 to do `grub-install /dev/sda'; while this works now, this may be undesirable for those using non-Linux boot loaders as their primary boot manager.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: grub-pc 1.99-11ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-9.15-generic 3.0.3
Uname: Linux 3.0.0-9-generic i686
NonfreeKernelModules: wl fglrx
Architecture: i386
Date: Fri Sep 2 01:40:44 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
 PATH=(custom, user)
SourcePackage: grub2
UpgradeStatus: Upgraded to oneiric on 2011-09-01 (0 days ago)

Zak B. Elep (zakame) wrote :
Antti Kaijanmäki (kaijanmaki) wrote :

bug #851012 might be a duplicate

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers