Bug#495949: grub-common: grub-probe segfaults

Felix Zielcke fzielcke at z-51.de
Sat Jul 25 09:13:23 UTC 2009


Am Samstag, den 25.07.2009, 10:06 +0200 schrieb Jean-Luc Coulon (f5ibh):
> Le 25/07/2009 08:50:10, Felix Zielcke a écrit :
> >
> >
> >That patch is now commited upstream so good that this is now fixed.
> Fine
> 
> >[jean-luc at tangerine] % sudo grub-install /dev/md0
> >You can't install to /dev/md0, either use grub-install '(md0)' or the
> >old way with grub-install /dev/sda etc.
> >That should work.
> 
> Well:
> grub install "(md0)' leads to the same error message

Strange. That patch should only fix an uninitialised variable to fix the
segfault.
For me it works fine.
Seems like there is somewhere else a bug.
Maybe the output of grub-setup helps when you run grub-install --debug '(md0)'

> grub-install /dev/sda then grun-install /dev/sdb leads to other 
> problems: the device naming is not consistant from one boot to another.
> Sometimes I've md0 with /dev/sda1 and /dev/sdb1 and sometimes with sdb1 
> and adc1 while they are the same phisycal disks.
> So /boot/grub/device.map doesnt reflects always the real 
> (logcal) configuration of the system.
> This can produce erroror.
> 

This doestn't lucky matter. On RAID grub always reads the superblocks of
all disks to assemble it.


-- 
Felix Zielcke
Proud Debian Maintainer






More information about the Pkg-grub-devel mailing list