[Bug 1066324] [NEW] core.img too large for embedding with msdos partition style

Jamin W. Collins jcollins at asgardsrealm.net
Sat Oct 13 15:53:06 UTC 2012


Public bug reported:

After upgrading to 12.10 I found that I could no longer boot my system.
Instead I ended at a grub rescue prompt.  Attempting to fix this by
booting from a USB stick built from the 12.04 alternative installer
revealed that grub could no longer embed the necessary core.img file.
This same configuration worked flawlessly under 12.04, but no longer
works under 12.10.  This would appear to be a regression.

In order to get the system booting again, I had to move to a gpt
partition table to allow for the larger core.img size.

Relevant core.img creation command from attached grub-install debug
output:

/usr/bin/grub-mkimage -d /usr/lib/grub/i386-pc -O i386-pc
--output=/boot/grub/i386-pc/core.img --prefix=(lvm/ssd-root)/boot/grub
biosdisk ext2 part_gpt lvm

Resultant core.img size:

ls -l /boot/grub/i386-pc/core.img 
-rw-r--r-- 1 root root 33257 Oct 13 08:45 /boot/grub/i386-pc/core.img

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: grub-pc 2.00-7ubuntu10
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Sat Oct 13 08:41:42 2012
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: Upgraded to quantal on 2012-10-12 (0 days ago)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal regression

** Attachment added: "grub-install-sda.debug"
   https://bugs.launchpad.net/bugs/1066324/+attachment/3397358/+files/grub-install-sda.debug

** Tags added: regression-proposed

** Tags removed: regression-proposed
** Tags added: regression

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

Title:
  core.img too large for embedding with msdos partition style

Status in “grub2” package in Ubuntu:
  New

Bug description:
  After upgrading to 12.10 I found that I could no longer boot my
  system.  Instead I ended at a grub rescue prompt.  Attempting to fix
  this by booting from a USB stick built from the 12.04 alternative
  installer revealed that grub could no longer embed the necessary
  core.img file.  This same configuration worked flawlessly under 12.04,
  but no longer works under 12.10.  This would appear to be a
  regression.

  In order to get the system booting again, I had to move to a gpt
  partition table to allow for the larger core.img size.

  Relevant core.img creation command from attached grub-install debug
  output:

  /usr/bin/grub-mkimage -d /usr/lib/grub/i386-pc -O i386-pc
  --output=/boot/grub/i386-pc/core.img --prefix=(lvm/ssd-root)/boot/grub
  biosdisk ext2 part_gpt lvm

  Resultant core.img size:

  ls -l /boot/grub/i386-pc/core.img 
  -rw-r--r-- 1 root root 33257 Oct 13 08:45 /boot/grub/i386-pc/core.img

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: grub-pc 2.00-7ubuntu10
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  Date: Sat Oct 13 08:41:42 2012
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: Upgraded to quantal on 2012-10-12 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1066324/+subscriptions




More information about the foundations-bugs mailing list