--- trunk/grubby/grubby.8 2012/02/18 00:52:28 1721 +++ trunk/grubby/grubby.8 2017/06/27 14:29:11 3008 @@ -1,32 +1,39 @@ .TH GRUBBY 8 "Tue Jan 18 2005" .SH NAME -grubby \- command line tool for configuring grub, lilo, and elilo +grubby \- command line tool for configuring grub, lilo, elilo, yaboot and zipl .SH SYNOPSIS \fBgrubby\fR [--add-kernel=\fIkernel-path\fR] [--args=\fIargs\fR] [--bad-image-okay] [--boot-filesystem=\fIbootfs\fR] [--bootloader-probe] [--config-file \fIpath\fR] [--copy-default] - [--default-kernel] [--default-index] [--default-title] + [--debug] [--default-kernel] [--default-index] [--default-title] + [--devtree=\fIdevicetree.dtb\fR] [--set-index=\fIentry-index\fR] [--grub] [--lilo] [--yaboot] [--silo] [--zipl] [--info=\fIkernel-path\fR] [--initrd=\fIinitrd-path\fR] [--make-default] [-o path] [--version] [--remove-kernel=\fIkernel-path\fR] [--remove-args=\fIargs\fR] - [--set-default=\fIkernel-path\fR] [--title=entry-title] - [--add-multiboot=\fImultiboot-path\fR] [--mbargs=\fIargs\fR] - [--remove-multiboot=\fImultiboot-path\fR] [--remove-mbargs=\fIargs\fR] + [--set-default=\fIkernel-path\fR] [--set-default-index=\fIentry-index\fR] + [--title=entry-title] [--add-multiboot=\fImultiboot-path\fR] + [--mbargs=\fIargs\fR] [--remove-multiboot=\fImultiboot-path\fR] + [--remove-mbargs=\fIargs\fR] .SH DESCRIPTION \fBgrubby\fR is a command line tool for updating and displaying information -about the configuration files for the \fBgrub\fR, \fBlilo\fR, \fBelilo\fR +about the configuration files for the \fBgrub\fR, \fBlilo\fR, \fBelilo\fR (ia64), \fByaboot\fR (powerpc) and \fBzipl\fR (s390) boot loaders. It is primarily designed to be used from scripts which install new kernels and need to find information about the current boot environment. -On Intel x86 platforms, \fBgrub\fR is the default bootloader and the -configuration file is in \fB/boot/grub/grub.conf\fR. On Intel ia64 platforms, -\fBelilo\fR mode is used and the default location for the configuration file -is \fB/boot/grub/grub.conf\fR. On PowerPC platforms, \fByaboot\fR parsing -is used and the configuration file should be in \fB/etc/yaboot.conf\fR. +On BIOS-based Intel x86 platforms, \fBgrub2\fR is the default bootloader and +the configuration file is in \fB/boot/grub2/grub.cfg\fR. On UEFI-based Intel +x86 platforms, \fBgrub2\fR is the default bootloader, and the configuration +file is in \fB/boot/efi/EFI/redhat/grub.cfg\fR. On Intel ia64 platforms, +\fBelilo\fR mode is used and the default location for the configuration file +is \fB/boot/efi/EFI/redhat/elilo.conf\fR. On PowerPC platforms, systems based +on Power8 now support \fBgrub2\fR as a bootloader and store using a default +config stored in \fB/boot/grub2/grub.cfg\fR. The earlier Power7 systems use \fByaboot\fR +parsing and the configuration file should be in \fB/etc/yaboot.conf\fR. On +s390 platforms the \fBzipl bootloader\fR will read from \fB/etc/zipl.conf\fR. There are a number of ways to specify the kernel used for \fB-\-info\fR, \fB-\-remove-kernel\fR, and \fB-\-update-kernel\fR. Specificying \fBDEFAULT\fR @@ -42,6 +49,10 @@ Add a new boot entry for the kernel located at \fIkernel-path\fR. .TP +\fB-\-set-index\fR=\fIentry-index\fR +Set the position at which to add a new entry created with \fB-\-add-kernel\fR. + +.TP \fB-\-args\fR=\fIkernel-args\fR When a new kernel is added, this specifies the command line arguments which should be passed to the kernel by default (note they are merged @@ -94,6 +105,10 @@ and initrd path will never be copied. .TP +\fB-\-debug\fR +Display extra debugging information for failures. + +.TP \fB-\-default-kernel\fR Display the full path to the current default kernel and exit. @@ -106,6 +121,11 @@ Display the title of the current default boot entry and exit. .TP +\fB-\-devtree\fR=\fIpath\fR +Use \fIpath\fR for device tree path in place of the path of any devicetree +directive found in the template stanza. + +.TP \fB-\-elilo\fR Use an \fBelilo\fR style configuration file. @@ -150,6 +170,10 @@ boot entry. .TP +\fB-\-set-default-index\fR=\fIentry-index\fR +Makes the given entry number the default boot entry. + +.TP \fB-\-title\fR=\fIentry-title\fR When a new kernel entry is added \fIentry-title\fR is used as the title (\fBlilo\fR label) for the entry. If \fIentry-title\fR is longer then maximum