grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] force load of lvm and raid before entering normal mode (Re:


From: Robert Millan
Subject: Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)
Date: Wed, 9 Jan 2008 00:33:26 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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 /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]