Bug#699754: grub core.img too large when using lvm+md
I hope to get this bug squashed, soonish.
On Mon, Feb 04, 2013 at 04:43:22PM +0100, Thijs Kinkhorst wrote:
> Package: release-notes
> Severity: normal
> Tags: wheezy
> Hi Joost,
> Filing a bug as discussed.
> When I upgraded a desktop system from Squeeze to Wheezy, it failed to install
> grub in my MBR. The reason given was probably along the lines of this:
> warning: your core.img is unusually large. It won't fit in the embedding area.
> error: embedding is not possible, but this is required for RAID and LVM install.
> This worked in squeeze but in wheezy my system which has lvm and software raid
> has tipped it over the line.
> I have no exact log as to what I did, but it came down to booting from a UBCD,
> converting my partition table to a GUID table so I could fit the thing in.
Some more info on this:
An "Ultimate Boot CD" that is.
The new style partition table is called GPT (GUID Partition Table); even with
an old style partition it's possible to use new grubs: in that case, make sure
your root partition starts at cylinder 2.
If "sfdisk -d /dev/yourrootdevice" shows "start= 1", you won't be able to run
a new grub.
PS/note to self: debian-6.0-squeeze-upgrade.txt