On Sun, 2008-02-03 at 00:58 -0500, Pavel Roskin wrote:

> grub> help search
> Usage: search [-f|-l|-s] NAME
> Search devices by a file or a filesystem label. If --set is specified,
> the first device found is set to a variable. If no variable name is
> specified, "root" is used.

Actually, I was wrong to assume that "root" is used even if "--set" is
not specified.

> That means, you can use unique labels like "usbstick-fedora8" and then
> use:
> 
> search -f usbstick-fedora8

That should be:

search -f usbstick-fedora8 -s

-- 
Regards,
Pavel Roskin


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to