Bug#612692: grub-setup segfaults when presented with partitioned raid

Jamie Heilman jamie at audible.transient.net
Wed Feb 9 23:33:54 UTC 2011


Package: grub-pc
Version: 1.99~rc1-2

root at cucamonga:/etc/grub.d# grub-setup --directory=/boot/grub --device-map=/boot/grub/device.map /dev/md/d0
Invalid device `/dev/md/d0'.
Segmentation fault

I think that was supposed to show usage ... not segfault.  Anyhow, it
appears that device.map isn't supposed to be allowed to contain md
devices anymore... judging by the changelog...

grub2 (1.99~20101210-2) experimental; urgency=low

  * Automatically remove MD devices from device.map on upgrade, since the
    BIOS cannot read from these and including them in device.map will break
    GRUB's ability to read from such devices (LP: #690030).

...but that didn't happen when I upgraded to this version from
1.98+20100804-14 so it looks like something is broken there.  (I still
had nothing but (hd0) /dev/md/d0 in my map.)  Once I fixed up my
device.map manually, grub-setup works OK (I use msdos partitions on d0,
which probably explains why I don't see bug 612518).

-- 
Jamie Heilman                     http://audible.transient.net/~jamie/
"Most people wouldn't know music if it came up and bit them on the ass."
                                                        -Frank Zappa





More information about the Pkg-grub-devel mailing list