grub-devel
[Top][All Lists]
Advanced

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

search command


From: Yoshinori K. Okuji
Subject: search command
Date: Sat, 20 Aug 2005 09:56:51 +0200
User-agent: KMail/1.7.2

I've implement a new command "search" right now. This is similar to "find" in 
GRUB Legacy, but has more features. I renamed it to "search", because it is 
significantly different from "find" in GNU.

Some supposed usage:

# Find a partition whose label is "Boot Partition" and set the result in root.
search --label "Boot Partition" --set
linux /vmlinuz

# Find a partition which has a file "grub2.cfg" and store it in a variable.
search --file /boot/grub/grub2.cfg --set=VAR
configfile ($VAR)/boot/grub/grub2.cfg

Okuji




reply via email to

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