Bug#478228: grub-probe: can't handle (raid) md-devices

Felix Zielcke fzielcke at z-51.de
Sun Aug 3 21:01:33 UTC 2008


reassign 492897 grub2
#forgot that it applies to whole grub2 not just grub-probe
thanks

Hello,

Am Sonntag, den 03.08.2008, 21:09 +0200 schrieb Thomas Rösch:
> Hey Felix
> 
> Sorry for needing so much time - too much work.

No problem, thanks for replying to both mails.

> 
> > mdraids with default 0.90 format works fine with grub2 as long as you aren't installing grub in a chroot to it,
> That is a common case for repair, if your system fails to boot

Yeah chroots are needed, but I couldn't get it to work as I played with
mdraid 1 and 5 for testing grub on it.


> There was a problem with 0.90, but I already forgot it.
> I also don't want to go back. Format 1.x ist the actual format, a new 
> program should support the actual format (and I don't know how to go back )
> 

#492897 is the cloned bug, for the wishlist request to support this.

>I don't know where /dev/md/6 come from.
> 
See #475585
As I tried the whole mdraid stuff out I always had both forms mdN and md/N
As long as you have a /dev/mdN without / everything is fine for grub-probe

> I don't try grub-install , because I have no time to repair my system, 
> if It do not work. :-(
> 
It won't work anyway with the super 1.X format.
grub-setup is able to detect this and warn about (see the message from Robert about this in this report)
But grub-probe doestn't use that code, it uses only the code real grub uses.

As I cloned the bug I wanted to leave it open for the case you've still problems with super 0.90.
But I leave it now to Robert if he wants to close it or retitle it to sth. like
"grub-probe fails to warn about unsupported super 1.X"

I looked a bit at the Code but using the one grub-setup is using isn't that easy in grub-probe,
because grub-probe has to care about LVM devices too.







More information about the Pkg-grub-devel mailing list