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

Colin Watson cjwatson at canonical.com
Wed Sep 19 01:53:23 UTC 2012


2012-09-19  Colin Watson  <cjwatson at ubuntu.com>

        * grub-core/partmap/msdos.c (pc_partition_map_embed): Revert
        incorrect off-by-one fix from 2011-02-12.  A 62-sector core image
        should fit before end == 63.

-- 
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:
  In Progress

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