From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MNzxW-0007LY-6D for mharc-grub-devel@gnu.org; Mon, 06 Jul 2009 21:59:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNzxU-0007JV-0k for grub-devel@gnu.org; Mon, 06 Jul 2009 21:59:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNzxP-0007Gl-76 for grub-devel@gnu.org; Mon, 06 Jul 2009 21:58:59 -0400 Received: from [199.232.76.173] (port=55558 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNzxO-0007Ge-SZ for grub-devel@gnu.org; Mon, 06 Jul 2009 21:58:54 -0400 Received: from c60.cesmail.net ([216.154.195.49]:23706) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1MNzxO-0002PB-9g for grub-devel@gnu.org; Mon, 06 Jul 2009 21:58:54 -0400 Received: from unknown (HELO smtprelay2.cesmail.net) ([192.168.1.112]) by c60.cesmail.net with ESMTP; 06 Jul 2009 21:58:52 -0400 Received: from [192.168.0.22] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by smtprelay2.cesmail.net (Postfix) with ESMTPSA id 5230734C6A for ; Mon, 6 Jul 2009 22:07:07 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: References: <4A51AE6A.6060708@impulze.org> <2m2ai6-i7b.ln1@ppp121-45-136-118.lns11.adl6.internode.on.net> <1246927104.31361.43.camel@mj> Content-Type: text/plain Date: Mon, 06 Jul 2009 21:58:51 -0400 Message-Id: <1246931931.2549.21.camel@mj> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] Caseless UUID comparsion in search command 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, 07 Jul 2009 01:59:00 -0000 On Tue, 2009-07-07 at 10:41 +0930, Arthur Marsh wrote: > using grub-emu at the moment. I'll try in real grub when I reboot. Could you please try booting Linux in grub-emu? You can interrupt qemu before the kernel tries to mount anything. Or you can remove the "linux" line. What matters is whether the "search" command works. That would show if BIOS limitations play any role. > Partition hd0,1: Filesystem type ext2, Last modification time 2009-07-07 > 00:49:27 Tuesday, UUID bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea > > tune2fs -l /dev/hda1 |grep UUID > Filesystem UUID: bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea That means that the search command indeed fails to find a partition that GRUB sees. Since you are getting "device not found" with the refactor patch, it means that grub_device_iterate() doesn't set grub_errno. If --set is given, the iteration would stop as soon as the matching device is found. Unfortunately, grub lists partitions backwards (we'll need to look at that), so a problem with a later partition could confuse GRUB. Please run "ls -l" in GRUB to see if it finds any problems. Also please try running the "search" command manually on the command line. Maybe the config file has some weird symbol somewhere. You can also search by label, even though it's empty: search -l "" -- Regards, Pavel Roskin