From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JCNyB-0002W7-QI for mharc-grub-devel@gnu.org; Tue, 08 Jan 2008 18:34:55 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCNyA-0002W0-Dn for grub-devel@gnu.org; Tue, 08 Jan 2008 18:34:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCNy8-0002Ug-U3 for grub-devel@gnu.org; Tue, 08 Jan 2008 18:34:54 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCNy8-0002UQ-NO for grub-devel@gnu.org; Tue, 08 Jan 2008 18:34:52 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JCNy8-0005Zb-Eh for grub-devel@gnu.org; Tue, 08 Jan 2008 18:34:52 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JCNy6-0002xS-Si; Wed, 09 Jan 2008 00:34:51 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JCNwk-0002lj-J5; Wed, 09 Jan 2008 00:33:26 +0100 Date: Wed, 9 Jan 2008 00:33:26 +0100 From: Robert Millan To: Jan Nieuwenhuizen Message-ID: <20080108233326.GC10215@thorin> References: <20080108121314.GC4270@thorin> <1199797210.7601.3.camel@localhost.localdomain> <1199798453.7601.17.camel@localhost.localdomain> <20080108150140.GA470@thorin> <20080108152102.GA13078@thorin> <1199826360.6104.19.camel@peder.flower> <20080108214449.GA630@thorin> <1199830708.6104.36.camel@peder.flower> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1199830708.6104.36.camel@peder.flower> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Cc: The development of GRUB 2 Subject: Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2008 23:34:54 -0000 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 I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.)