On Tue, Jan 08, 2008 at 11:18:28PM +0100, Jan Nieuwenhuizen wrote:
> Robert Millan writes:
> 
> > Try this one.
> 
> That's better, grub-install now does
> 
>    grub-mkimage --output=/tmp/boot/grub/core.img --prefix=/tmp/boot/grub ext2 
> lvm biosdisk _chain

Try putting lvm after biosdisk (I mentioned this in another mail).

> I haven't tested yet, but this won't work, gpt (or pc?) is also needed, right?

Yep.

> I remember having seen
> 
>    grub rescue> ls
>    (hd0) (hd1)
> 
> ie: no partitions when I tried without gpt/pc.  I do not know how to
> recover from that from withing grub (cannot mount anything to insmod
> gpt/pc from).

You can't.

>     grub-probe --target=partmap --device-map=/boot/grub/device.map /boot/grub
>     grub-probe: error: Cannot detect partition map for lvmraid-lvm1

Wait, do lvm devices actually contain a partition map?  If not, then this is
normal, although in this case grub-probe should tell you the partmap for
whatever physical partition contains the lvm data.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to