Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HvJBv-00021j-Dc for mharc-grub-devel@gnu.org; Mon, 04 Jun 2007 16:30:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HvJBt-00021e-TG for grub-devel@gnu.org; Mon, 04 Jun 2007 16:30:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HvJBr-00021N-DM for grub-devel@gnu.org; Mon, 04 Jun 2007 16:30:12 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HvJBr-00021K-AX for grub-devel@gnu.org; Mon, 04 Jun 2007 16:30:11 -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 1HvJBq-0000hL-Ln for grub-devel@gnu.org; Mon, 04 Jun 2007 16:30:10 -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 1HvJBo-0004jL-Ck; Mon, 04 Jun 2007 22:30:08 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1HvJBs-00056v-9D; Mon, 04 Jun 2007 22:30:12 +0200 Date: Mon, 4 Jun 2007 22:30:12 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20070604203012.GA19433@aragorn> References: <87bqfyhtp7.fsf@gismo.pca.it> <20070603213725.GA10192@aragorn> <87abvfqy31.wl@dekkers.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87abvfqy31.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: Mon, 04 Jun 2007 20:30:14 -0000 On Mon, Jun 04, 2007 at 10:11:30PM +0200, Jeroen Dekkers wrote: > At Sun, 3 Jun 2007 23:37:25 +0200, > Robert Millan wrote: > > Here's another report with issues about LVM. I notice the device name is > > different than previous ones (note: device.map only has /dev/sda). > > The problem seems to be that grub-install is probing for things > outside of /boot. GRUB shouldn't use anything outside of /boot to > start. update-grub calls grub-probe a few times, in different places. Some of them could be avoided, but at least these appear to be necessary: # Device containing our userland. Typicaly used for root= parameter. GRUB_DEVICE="`grub-probe --target=device /`" # Filesystem for the device containing our userland. Used for stuff like # choosing Hurd filesystem module. GRUB_FS="`grub-probe --target=fs /`" See also 00_header.in for code that might scan /usr/share/ in search of unifont. If e.g. /usr is a separate partition, grub needs to know that somehow to load the font later. -- 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.