Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Hw01r-0000Tb-2j for mharc-grub-devel@gnu.org; Wed, 06 Jun 2007 14:14:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hw01p-0000TO-1g for grub-devel@gnu.org; Wed, 06 Jun 2007 14:14:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hw01l-0000T0-4W for grub-devel@gnu.org; Wed, 06 Jun 2007 14:14:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hw01k-0000Sk-Ve for grub-devel@gnu.org; Wed, 06 Jun 2007 14:14:37 -0400 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 1Hw01k-0005uh-I6 for grub-devel@gnu.org; Wed, 06 Jun 2007 14:14:36 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Hw01d-0007t4-Di; Wed, 06 Jun 2007 20:14:29 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1Hw01n-00083m-L5; Wed, 06 Jun 2007 20:14:39 +0200 Date: Wed, 6 Jun 2007 20:14:39 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20070606181439.GA30919@aragorn> References: <87bqfyhtp7.fsf@gismo.pca.it> <20070603213725.GA10192@aragorn> <87abvfqy31.wl@dekkers.cx> <20070604203012.GA19433@aragorn> <878xazqvlq.wl@dekkers.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878xazqvlq.wl@dekkers.cx> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Genre and OS details not recognized. Cc: 427289@bugs.debian.org, Luca Capello Subject: Re: Bug#427289: more LVM stuff (Re: Bug#427289: grub-probe: error: unknown device when / is an encrypted LVM) 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: Wed, 06 Jun 2007 18:14:41 -0000 On Mon, Jun 04, 2007 at 11:05:05PM +0200, Jeroen Dekkers wrote: > > GRUB shouldn't load anything from any other partition than /boot. The > whole reason that we have /boot partitions is that it might be > possible that the rest isn't readable by GRUB. > > The reason we have grub-probe is to find out which modules need to be > in core.img. You're currently using grub-probe for other things and > that isn't always going to work. Grub-probe won't be able to parse > encrypted LVM volumes for example, and thus grub-probe --target=fs / > is never going to work if your / is encrypted. I've arranged update-grub (see my last commit) to make it tollerant to unreadable /, and just disable non-critical features when this happens, instead of aborting. But, AFAICT the LVM readability issue I forwarded is still a problem, since it could apply to /boot as well. -- Robert Millan My spam trap is honeypot@aybabtu.com. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.