Bug#423022: Bug#422851: "grub-probe -t partmap" doesn't work with software RAID

Robert Millan rmh at aybabtu.com
Sat May 19 14:08:48 UTC 2007


On Sat, May 19, 2007 at 02:10:32PM +0100, Sam Morris wrote:
> 
> Ok, here are the results.
> 
> 'grub-mkimage --output=/boot/grub/core.img ext2 pc gpt _chain' crashes
> at the menu

But raid is missing here.  Does "ext2 pc gpt raid _chain" work?  (at least,
to get to the rescue console)

> I wonder if I am hitting the rescue console because of the "out of disk"
> error that I see when inserting the 'raid' module by hand? The
> partitions in my raid array are 300 GiB, which is larger than the 128
> GiB limit imposed by LBA-28 addressing.
> 
> If this is the case then I guess the error is really my fault and I
> should fix it by creating a separate partition at the start of the disk
> for /boot. However, the code that brings me to the rescue console
> doesn't actually print any errors, it just dumps me there, so I may just
> be barking up the wrong tree. :)

There are two separate problems here.  I can't comment on the LBA addressing
issue, but if we can isolate the partmap detection one, then at least we can
"fix" [1] this (which is what affects the majority of users).

[1] With a kludge that loads "pc gpt" when partmap cannot be detected.  Not sure
    if this is suitable for official grub, but at least we would enable it in
    Debian.

-- 
Robert Millan

My spam trap is honeypot at aybabtu.com.  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.




More information about the Pkg-grub-devel mailing list