[Bug 1051154] Re: mdraid1x core image too large for minimal MBR?

Launchpad Bug Tracker 1051154 at bugs.launchpad.net
Wed Sep 19 10:05:09 UTC 2012


This bug was fixed in the package grub2 - 2.00-5ubuntu1

---------------
grub2 (2.00-5ubuntu1) quantal; urgency=low

  * Resynchronise with Debian.  Remaining changes:
    - Adjust for default Ubuntu boot options ("quiet splash").
    - Default to hiding the menu; holding down Shift at boot will show it.
    - Set a monochromatic theme and an appropriate background for Ubuntu.
    - Apply Ubuntu GRUB Legacy changes to legacy update-grub script.
    - Fix backslash-escaping in merge_debconf_into_conf.
    - Remove "GNU/Linux" from default distributor string.
    - Add crashkernel option.
    - Bypass menu unless other OSes are installed or Shift is pressed.
    - Allow Shift to interrupt 'sleep --interruptible'.
    - Reduce visual clutter in normal mode.
    - Remove verbose messages printed before reading configuration.
    - Suppress kernel/initrd progress messages, except in recovery mode.
    - Show the boot menu if the previous boot failed.
    - Adjust upgrade version checks for Ubuntu.
    - Suppress "GRUB loading" message unless Shift is held down.
    - Adjust versions of grub-doc and grub-legacy-doc conflicts.
    - Look for .mo files in /usr/share/locale-langpack first.
    - Build-depend on qemu-kvm rather than qemu-system for grub-pc tests.
    - Check hardware support before using gfxpayload=keep.
    - Set vt.handoff=7 for smooth handoff to kernel graphical mode.
    - In recovery mode, add nomodeset to the Linux kernel arguments, and
      remove the 'set gfxpayload=keep' command.
    - Skip Windows os-prober entries on Wubi systems, and suppress the menu
      by default if those are the only other-OS entries.
    - Handle probing striped DM-RAID devices.
    - Replace 'single' by 'recovery' when friendly-recovery is installed.
    - Disable cursor as early as possible in grub_main.
    - Avoid getting confused by inaccessible loop device backing paths.
    - Apply patch from Fedora to forbid insmod on UEFI secure boot.

grub2 (2.00-5) experimental; urgency=low

  * Backport from upstream:
    - Remove extra layer of escaping from grub_probe.
    - Add efifwsetup module to reboot into firmware setup menu.
    - Revert incorrect off-by-one fix when embedding in MBR (LP: #1051154).
  * Switch watch file to point to ftp.gnu.org.
  * Build-depend on liblzma-dev, enabling 'grub-mkimage -C xz'.
  * Adjust /etc/grub.d/30_os-prober to detect Ubuntu's use of "recovery"
    rather than "single".
 -- Colin Watson <cjwatson at ubuntu.com>   Wed, 19 Sep 2012 10:56:33 +0100

** Changed in: grub2 (Ubuntu)
       Status: In Progress => 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/1051154

Title:
  mdraid1x core image too large for minimal MBR?

Status in “grub2” package in Ubuntu:
  Fix Released

Bug description:
  I've been running Quantal on a machine for a while now, and everything
  has been smooth.

  However, I just took the recent grub2 & kernel updates which seemed to break grub2:
  * grub-pc-bin:amd64 (1.99-22ubuntu2, 2.00-4ubuntu1)
  * linux-image-3.5.0-14-generic:amd64 (3.5.0-14.16, 3.5.0-14.19)

  Grub2 now complains:

  /usr/sbin/grub-bios-setup: warning: your embedding area is unusually small.  core.img won't fit in it..
  /usr/sbin/grub-bios-setup: error: embedding is not possible, but this is required for RAID and LVM install.
  /usr/sbin/grub-bios-setup: warning: your embedding area is unusually small.  core.img won't fit in it..
  /usr/sbin/grub-bios-setup: error: embedding is not possible, but this is required for RAID and LVM install.

  
  Are there any workarounds for this?

  
  This is a very simple install, just md RAID1, with one dumb partition, no LVM.

  $ sudo parted /dev/sda
  GNU Parted 2.3
  Using /dev/sda
  Welcome to GNU Parted! Type 'help' to view a list of commands.
  (parted) print                                                            
  Model: ATA HDS725050KLA360 (scsi)
  Disk /dev/sda: 500GB
  Sector size (logical/physical): 512B/512B
  Partition Table: msdos

  Number  Start   End    Size   Type     File system  Flags
   1      32.3kB  500GB  500GB  primary  ext4         raid


  $ sudo parted /dev/sdb
  GNU Parted 2.3
  Using /dev/sdb
  Welcome to GNU Parted! Type 'help' to view a list of commands.
  (parted) print                                                            
  Model: ATA HDS725050KLA360 (scsi)
  Disk /dev/sdb: 500GB
  Sector size (logical/physical): 512B/512B
  Partition Table: msdos

  Number  Start   End    Size   Type     File system  Flags
   1      32.3kB  500GB  500GB  primary  ext4         boot, raid


  $ uname -ar
  Linux machine-1 3.5.0-14-generic #16-Ubuntu SMP Mon Sep 10 21:57:14 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: grub2 (not installed)
  ProcVersionSignature: Ubuntu 3.5.0-14.16-generic 3.5.3
  Uname: Linux 3.5.0-14-generic x86_64
  ApportVersion: 2.5.1-0ubuntu7
  Architecture: amd64
  Date: Fri Sep 14 23:38:19 2012
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: Upgraded to quantal on 2012-03-05 (194 days ago)

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




More information about the foundations-bugs mailing list