forked from u-root/u-root
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grub: Add support for the search command
This adds support for the grub `search` command as defined by the grub manual. This allows the kernel and initrd to be loaded from a file system other from the boot drive. CentOS exercises this command and has been added as a unit test. The following options are included: * `search --file`: Set root to the file system which contains the given file. * `search --fs-label`: Set root to the file system with the given label. * `search --fs-uuid`: Set root to the file system with the given UUID. The aliases `search.file`, search.fs_label` and `search.fs_uuid` are also supported. Signed-off-by: Ryan O'Leary <[email protected]>
- Loading branch information
Showing
39 changed files
with
759 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.