grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Refactor commands/search.c


From: Arthur Marsh
Subject: Re: [PATCH] Refactor commands/search.c
Date: Tue, 07 Jul 2009 11:16:55 +0930
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701)

Arthur Marsh wrote, on 07/07/09 10:33:
Pavel Roskin wrote, on 2009-07-07 06:43:
ChangeLog:

    * commands/search.c (search_file): Merge into ...
    (search_fs): ... this.  On error, don't output what we were
    looking for.  Accept search type as argument.
    (grub_cmd_search): Pass search type to search_fs().

I tried this on current SVN, and am now getting "device not found" errors.

My /boot/grub/device.map is:

(hd0)   /dev/hda
(hd1)   /dev/disk/by-id/scsi-SIBM_DCAS-34330W_F3T92021
#(hd2)   /dev/disk/by-id/usb-Verbatim_STORE_N_GO_078A18B40293-0:0
#(hd2)   /dev/disk/by-id/usb-Flash_Drive_AU_USB2.0_OGUN4WMN-0:0
(hd3) /dev/hdc

all 3 uncommented devices do exist.

For more details see:
https://savannah.gnu.org/bugs/?26834 search for UUID fails with dedicated /boot filesystem on disk larger than what BIOS sees

I'll try commenting out all but /dev/hda and re-running update-grub.

when I try to boot grub2, I get two very quick

error: no such device

at the grub command prompt when I do ls I get:

(hd0) (hd0,1) (hd1) (hd2) (fd0)
error: no such device

It would be good to know *what* is leading to the "error: no such device".

Regards,

Arthur Marsh.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]