Bug#497791: grub-pc: System unbotable due to "search --fs-uuid" command

Marc Fargas marc at marcfargas.com
Fri Sep 5 07:53:26 UTC 2008


On Thu, Sep 4, 2008 at 10:04 PM, Robert Millan <rmh at aybabtu.com> wrote:

In:

menuentry "Debian GNU/Linux, linux 2.6.26-1-686" {
         set root=(hd0,1)
         search --fs-uuid --set 72cbcfa8-57bf-4b37-9489-
>
> e3eaf056d94d
>          linux  /vmlinuz-2.6.26-1-686 root=/dev/mapper/castor-root ro
> selinux=1
>          initrd /initrd.img-2.6.26-1-686
> }
>
> Please try inserting:
>
>        echo $root
>        echo Press enter to continue
>        read
>
> after the search command, and tell us if it has changed the value of root
> variable (will be printed to screen).
>
>
Hi,

I forgot to mention (I forgot I even did this) that, to get the laptop to
boot, I have to a) remove the search.. line, and b) Go to command line and
type "insmod linux".

If I *only* to the insmod linux thing, The error I'll get is "You need to
load the kernel first" (or something like that), then I remove the search
line and the system boots. (Removing the search line without insmod linux
gives "initrd command not found").

I tried the echo $root thing and GRUB complained about syntax errors, but;
Yesterday I ran "grub-install" as you suggested and after removing the echo
$root the system booted normally.

So it seems that the problem is between the grub.cfg that the latest version
created which seems to have some incompatibility with the previous grub?

Anyway, today the laptop booted normally.. We'll see tomorrow :)

Thanks for the help!
Marc
-- 
http://www.marcfargas.com - will be finished someday.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20080905/b021a67d/attachment-0001.htm 


More information about the Pkg-grub-devel mailing list