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

Sam Morris sam at robots.org.uk
Sat May 19 11:47:46 UTC 2007


On Sat, 2007-05-19 at 11:33 +0200, Robert Millan wrote:
> 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"

Ok, I'll try that... would grub-mkimage not throw an error in that case
though?

BTW, where does 'gpt' come into this at all... do I not need 'pc' and
'raid'?

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20070519/0770da0c/attachment-0001.pgp 


More information about the Pkg-grub-devel mailing list