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

Robert Millan rmh at aybabtu.com
Sat May 19 09:33:36 UTC 2007


On Sat, May 19, 2007 at 01:49:53AM +0100, Sam Morris wrote:
> On Fri, 2007-05-18 at 08:51 +0200, Robert Millan wrote:
> > On Sun, May 13, 2007 at 06:44:07PM +0200, Robert Millan wrote:
> > > On Sun, May 13, 2007 at 12:02:26PM +0100, Sam Morris wrote:
> > > > On Sat, 2007-05-12 at 22:16 +0100, Sam Morris wrote:
> > > > > On Wed, 2007-05-09 at 18:13 +0200, Robert Millan wrote:
> > > > > > I'm forwarding you a bug report from Debian.  It seems that the grub-probe
> > > > > > -t partmap feature I just added doesn't play nice with RAID.  Unfortunately,
> > > > > > I have no idea how software RAID is implemented.  Is it okay to just exit
> > > > > > succesfuly and install core.img without any partmap module?
> > > 
> > > ... so apparently it isn't.  We still need to detect this somehow, or maybe we
> > > could just print "pc gpt".. anyone can cast some light on this?
> > 
> > How about this as temporary solution?  It's ugly, but it's not worse than what
> > we had before.
> 
> I've now tested hardcoding the modules to 'pc gpt'.

I suspect some part of GRUB might be thinking you talk about a single module
named 'pc gpt' (which would be found in '/boot/grub/pc gpt.mod').

Can you try passing these to grub-install instead of modifiing the source?

Like: grub-install --modules="pc gpt"

-- 
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