From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JEkRX-0003Vk-U1 for mharc-grub-devel@gnu.org; Tue, 15 Jan 2008 06:58:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JEkRV-0003VE-Gj for grub-devel@gnu.org; Tue, 15 Jan 2008 06:58:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JEkRU-0003Uk-EX for grub-devel@gnu.org; Tue, 15 Jan 2008 06:58:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEkRU-0003Ua-8z for grub-devel@gnu.org; Tue, 15 Jan 2008 06:58:56 -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 1JEkRT-00067t-SH for grub-devel@gnu.org; Tue, 15 Jan 2008 06:58:56 -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 1JEkRN-0004nN-Ft for grub-devel@gnu.org; Tue, 15 Jan 2008 12:58:55 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JEkPa-0008LE-5E for grub-devel@gnu.org; Tue, 15 Jan 2008 12:56:58 +0100 Date: Tue, 15 Jan 2008 12:56:58 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080115115658.GC31275@thorin> References: <20080109114134.GB11819@thorin> <1199886020.6568.5.camel@localhost.localdomain> <1199886620.6568.8.camel@localhost.localdomain> <20080109143446.GD2684@thorin> <1199890518.16753.8.camel@localhost.localdomain> <20080109153648.GA8510@thorin> <1199896057.16753.23.camel@localhost.localdomain> <20080109234940.GA5331@thorin> <20080110124317.GA5212@thorin> <87odbn2uzc.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87odbn2uzc.fsf@xs4all.nl> 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. Subject: Re: [PATCH] fix `lvm' and `raid' loading for grub-install/core.img and update-grub/grub.cfg problems 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, 15 Jan 2008 11:58:57 -0000 On Tue, Jan 15, 2008 at 12:23:19PM +0100, Marco Gerards wrote: > Robert Millan writes: > > > New patch, a bit simpler (after giving it a though, I don't think the gained > > speed is worth the extra complication) > > What does this patch fix? Too many problems in one thread... It fixes loading of lvm/raid modules in two situations: - In core.img, by grub-install, when they're needed to access /boot. This is still not enough to get it working due to another bug (detection of partmap). - In grub.cfg, by update-grub, when they're needed to access /usr for the font file. > BTW, does it also work for the case both LVM and RAID are used? No, for that we need to handle recursion in grub-probe, which is the same we'll need to get partmap detection working on lvm/raid. -- 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 /.)