From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NNv2M-0006Dp-5s for mharc-grub-devel@gnu.org; Thu, 24 Dec 2009 16:15:58 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NNv2J-00069r-US for grub-devel@gnu.org; Thu, 24 Dec 2009 16:15:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NNv2F-00060T-8A for grub-devel@gnu.org; Thu, 24 Dec 2009 16:15:55 -0500 Received: from [199.232.76.173] (port=34885 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNv2E-00060K-UW for grub-devel@gnu.org; Thu, 24 Dec 2009 16:15:50 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:40878 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NNv2E-0001iq-HW for grub-devel@gnu.org; Thu, 24 Dec 2009 16:15:50 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NNv2D-0008Su-51 for grub-devel@gnu.org; Thu, 24 Dec 2009 22:15:49 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NNv2C-0003Be-JC for grub-devel@gnu.org; Thu, 24 Dec 2009 22:15:48 +0100 Date: Thu, 24 Dec 2009 22:15:48 +0100 From: Robert Millan To: The development of GNU GRUB Message-ID: <20091224211548.GF12122@thorin> References: <20091206131026.GA24598@thorin> <20091206.172252.144134315.davem@davemloft.net> <20091207140516.GE5895@thorin> <20091207.115033.240951842.davem@davemloft.net> <20091207202339.GA10277@thorin> <4B1D7267.3080301@gmail.com> <20091209214516.GE7093@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20091209214516.GE7093@thorin> 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.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Broken common.rmk change X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 21:15:56 -0000 On Wed, Dec 09, 2009 at 10:45:16PM +0100, Robert Millan wrote: > On Mon, Dec 07, 2009 at 10:23:51PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > Seth proposed a hinting technique: > > search --fs_uuid ... -s root --hint hd0,1 > > then hd0,1 will be checked first and only on failure it will revert to > > scanning > > Sounds good. Thinking a bit more, in the vast majority of times, $root variable is initially defined to the drive that contains the filesystem we want. Partition might be wrong, but then again partition numbers are persistent. Maybe our problem can be solved by making grub-mkconfig a bit smarter, so that UUIDs are only used when /boot partition is in a different drive that the one we embed core.img to. -- Robert Millan "Be the change you want to see in the world" -- Gandhi