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.