All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] Caseless UUID comparsion in search command
Date: Mon, 06 Jul 2009 21:58:51 -0400	[thread overview]
Message-ID: <1246931931.2549.21.camel@mj> (raw)
In-Reply-To: <pujai6-5b9.ln1@ppp121-45-136-118.lns11.adl6.internode.on.net>

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



  parent reply	other threads:[~2009-07-07  1:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-06  7:57 [PATCH] Caseless UUID comparsion in search command Daniel Mierswa
2009-07-06 20:14 ` Pavel Roskin
2009-07-06 20:16 ` Arthur Marsh
2009-07-07  0:38   ` Pavel Roskin
2009-07-07  1:11     ` Arthur Marsh
2009-07-07  1:43       ` Arthur Marsh
2009-07-07  1:58       ` Pavel Roskin [this message]
2009-07-07  3:38         ` Arthur Marsh
2009-07-07  4:23           ` Pavel Roskin
2009-07-07  4:40             ` Arthur Marsh
2009-07-07  6:51               ` Arthur Marsh
2009-07-08  6:26                 ` Pavel Roskin
2009-07-08  8:26                   ` Arthur Marsh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1246931931.2549.21.camel@mj \
    --to=proski@gnu.org \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.