commit 52f8f5783868a5a0a55f1d0ee02a678709552eeb Author: Stephen Wadeley swadeley@redhat.com Date: Sun Sep 6 17:38:16 2015 +0200
updating package names in GRUB2
en-US/Working_with_the_GRUB_2_Boot_Loader.xml | 58 ++++++++++++------------ 1 files changed, 29 insertions(+), 29 deletions(-) --- diff --git a/en-US/Working_with_the_GRUB_2_Boot_Loader.xml b/en-US/Working_with_the_GRUB_2_Boot_Loader.xml index 7500695..f44f27b 100644 --- a/en-US/Working_with_the_GRUB_2_Boot_Loader.xml +++ b/en-US/Working_with_the_GRUB_2_Boot_Loader.xml @@ -64,7 +64,7 @@ menuentry 'Fedora, with Linux 3.17.4-301.fc21.x86_64' --class fedora --class gnu </programlisting>
<para> - Each <literal>menuentry</literal> block that represents an installed Linux kernel contains <literal>linux</literal> on 64-bit IBM POWER Series, <literal>linux16</literal> on x86_64 BIOS-based systems, and <literal>linuxefi</literal> on UEFI-based systems. Then the <literal>initrd</literal> directives followed by the path to the kernel and the <systemitem>initramfs</systemitem> image respectively. If a separate <filename>/boot</filename> partition was created, the paths to the kernel and the <systemitem>initramfs</systemitem> image are relative to <filename>/boot</filename>. In the example above, the <literal>initrd /initramfs-3.8.0-0.40.el7.x86_64.img</literal> line means that the <systemitem>initramfs</systemitem> image is actually located at <filename>/boot/initramfs-3.8.0-0.40.el7.x86_64.img</filename> when the <systemitem class="username">root</systemitem> file system is mounted, and likewise for the kernel path. + Each <literal>menuentry</literal> block that represents an installed Linux kernel contains <literal>linux</literal> on 64-bit IBM POWER Series, <literal>linux16</literal> on x86_64 BIOS-based systems, and <literal>linuxefi</literal> on UEFI-based systems. Then the <literal>initrd</literal> directives followed by the path to the kernel and the <systemitem>initramfs</systemitem> image respectively. If a separate <filename>/boot</filename> partition was created, the paths to the kernel and the <systemitem>initramfs</systemitem> image are relative to <filename>/boot</filename>. In the example above, the <literal>initrd /initramfs-3.17.4-301.fc21.x86_64.img</literal> line means that the <systemitem>initramfs</systemitem> image is actually located at <filename>/boot/initramfs-3.17.4-301.fc21.x86_64.img</filename> when the <systemitem class="username">root</systemitem> file system is mounted, and likewise for the kernel path. </para> <para> The kernel version number as given on the <literal>linux16 /vmlinuz-kernel_version</literal> line must match the version number of the <systemitem>initramfs</systemitem> image given on the <literal>initrd /initramfs-kernel_version.img</literal> line of each <literal>menuentry</literal> block. For more information on how to verify the initial RAM disk image, see <xref @@ -135,7 +135,7 @@ menuentry 'Fedora, with Linux 3.17.4-301.fc21.x86_64' --class fedora --class gnu <step> <para> Edit the kernel parameters as required. For example, to run the system in emergency mode, add the <emphasis>emergency</emphasis> parameter at the end of the <literal>linux16</literal> line: -<screen>linux16 /vmlinuz-3.10.0-0.rc4.59.el7.x86_64 root=/dev/mapper/rhel-root ro rd.md=0 rd.dm=0 rd.lvm.lv=rhel/swap crashkernel=auto rd.luks=0 vconsole.keymap=us rd.lvm.lv=rhel/root rhgb quiet <emphasis role="bold">emergency</emphasis></screen> +<screen>linux16 /vmlinuz-4.2.0-1.fc23.x86_64 root=/dev/mapper/fedora-root ro rd.md=0 rd.dm=0 rd.lvm.lv=fedora/swap crashkernel=auto rd.luks=0 vconsole.keymap=us rd.lvm.lv=fedora/root rhgb quiet <emphasis role="bold">emergency</emphasis></screen> The <option>rhgb</option> and <option>quiet</option> parameters can be removed in order to enable system messages. </para> <para> @@ -156,7 +156,7 @@ The <option>rhgb</option> and <option>quiet</option> parameters can be removed i To find out the file name of the default kernel, enter a command as follows: </para> <screen>~]# <command>grubby --default-kernel</command> -/boot/vmlinuz-3.10.0-229.4.2.el7.x86_64</screen> +/boot/vmlinuz-4.2.0-1.fc23.x86_64</screen> <para> To find out the index number of the default kernel, enter a command as follows: </para> @@ -166,7 +166,7 @@ The <option>rhgb</option> and <option>quiet</option> parameters can be removed i <bridgehead id="bh-Changing_the_Default_Boot_Entry" renderas="sect3">Changing the Default Boot Entry</bridgehead> <para> To make a persistent change in the kernel designated as the default kernel, use the <command>grubby</command> command as follows: - <screen>~]# <command>grubby --set-default /boot/vmlinuz-3.10.0-229.4.2.el7.x86_64</command></screen> + <screen>~]# <command>grubby --set-default /boot/vmlinuz-4.2.0-1.fc23.x86_64</command></screen> </para>
<bridgehead id="bh-Viewing_the_GRUB_Menu_Entry_for_a_Kernel" renderas="sect3">Viewing the GRUB Menu Entry for a Kernel</bridgehead> @@ -177,13 +177,13 @@ To list all the kernel menu entries, enter a command as follows:
<para> To view the GRUB menu entry for a specific kernel, enter a command as follows: -<screen>~]$ <command>grubby --info /boot/vmlinuz-3.10.0-229.4.2.el7.x86_64</command> +<screen>~]$ <command>grubby --info /boot/vmlinuz-4.2.0-1.fc23.x86_64</command> index=0 -kernel=/boot/vmlinuz-3.10.0-229.4.2.el7.x86_64 -args="ro rd.lvm.lv=rhel/root crashkernel=auto rd.lvm.lv=rhel/swap vconsole.font=latarcyrheb-sun16 vconsole.keymap=us rhgb quiet LANG=en_US.UTF-8" -root=/dev/mapper/rhel-root -initrd=/boot/initramfs-3.10.0-229.4.2.el7.x86_64.img -title=Red Hat Enterprise Linux Server (3.10.0-229.4.2.el7.x86_64) 7.0 (Maipo)</screen> +kernel=/boot/vmlinuz-4.2.0-1.fc23.x86_64 +args="ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet LANG=en_US.UTF-8" +root=/dev/mapper/fedora-root +initrd=/boot/initramfs-4.2.0-1.fc23.x86_64.img +title=Fedora (4.2.0-1.fc23.x86_64) 23 (Workstation Edition)</screen> Try tab completion to see the available kernels within the <filename class="directory">/boot/</filename> directory. </para>
@@ -194,19 +194,19 @@ Try tab completion to see the available kernels within the <filename class="dire </para> <para> To add and remove arguments from a kernel's GRUB menu entry, use a command as follows: -<screen>~]# <command>grubby --remove-args="rhgb quiet" --args=console=ttyS0,115200 --update-kernel /boot/vmlinuz-3.10.0-229.4.2.el7.x86_64</command></screen> +<screen>~]# <command>grubby --remove-args="rhgb quiet" --args=console=ttyS0,115200 --update-kernel /boot/vmlinuz-4.2.0-1.fc23.x86_64</command></screen> This command removes the Red Hat graphical boot argument, enables boot message to be seen, and adds a serial console. As the console arguments will be added at the end of the line, the new console will take precedence over any other consoles configured. </para> <para> To review the changes, use the <option>--info</option> command option as follows: </para> -<screen>~]$ <command>grubby --info /boot/vmlinuz-3.10.0-229.4.2.el7.x86_64</command> +<screen>~]$ <command>grubby --info /boot/vmlinuz-4.2.0-1.fc23.x86_64</command> index=0 -kernel=/boot/vmlinuz-3.10.0-229.4.2.el7.x86_64 -args="ro rd.lvm.lv=rhel/root crashkernel=auto rd.lvm.lv=rhel/swap vconsole.font=latarcyrheb-sun16 vconsole.keymap=us LANG=en_US.UTF-8 <emphasis role="bold">ttyS0,115200</emphasis>" -root=/dev/mapper/rhel-root -initrd=/boot/initramfs-3.10.0-229.4.2.el7.x86_64.img -title=Red Hat Enterprise Linux Server (3.10.0-229.4.2.el7.x86_64) 7.0 (Maipo)</screen> +kernel=/boot/vmlinuz-4.2.0-1.fc23.x86_64 +args="ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap LANG=en_US.UTF-8 <emphasis role="bold">console=ttyS0,115200</emphasis>" +root=/dev/mapper/fedora-root +initrd=/boot/initramfs-4.2.0-1.fc23.x86_64.img +title=Fedora (4.2.0-1.fc23.x86_64) 23 (Workstation Edition)</screen>
<bridgehead id="bh-Updating_All_Kernel_Menus_with_the_Same_Arguments" renderas="sect3">Updating All Kernel Menus with the Same Arguments</bridgehead> <para> @@ -217,14 +217,14 @@ The <option>--update-kernel</option> parameter also accepts DEFAULT or a comma s
<bridgehead id="bh-Changing_a_Kernel_Argument" renderas="sect3">Changing a Kernel Argument</bridgehead> <para> - To change a value in an existing kernel argument, specify the argument again, changing the value as required. For example, to change the virtual console font size, use a command as follows: - <screen>~]# <command>grubby --args=vconsole.font=latarcyrheb-sun32 --update-kernel /boot/vmlinuz-3.10.0-229.4.2.el7.x86_64</command> + To change a value in an existing kernel argument, specify the argument again, changing the value as required. For example, if the virtual console font size has been set to <literal>latarcyrheb-sun16</literal> and you want to change the virtual console font size to <literal>32</literal>, use a command as follows: + <screen>~]# <command>grubby --args=vconsole.font=latarcyrheb-sun32 --update-kernel /boot/vmlinuz-4.2.0-1.fc23.x86_64</command> index=0 -kernel=/boot/vmlinuz-3.10.0-229.4.2.el7.x86_64 -args="ro rd.lvm.lv=rhel/root crashkernel=auto rd.lvm.lv=rhel/swap vconsole.font=<emphasis role="bold">latarcyrheb-sun32</emphasis> vconsole.keymap=us LANG=en_US.UTF-8" -root=/dev/mapper/rhel-root -initrd=/boot/initramfs-3.10.0-229.4.2.el7.x86_64.img -title=Red Hat Enterprise Linux Server (3.10.0-229.4.2.el7.x86_64) 7.0 (Maipo)</screen> +kernel=/boot/vmlinuz-4.2.0-1.fc23.x86_64 +args="ro rd.lvm.lv=fedora/root crashkernel=auto rd.lvm.lv=fedora/swap vconsole.font=<emphasis role="bold">latarcyrheb-sun32</emphasis> vconsole.keymap=us LANG=en_US.UTF-8" +root=/dev/mapper/fedora-root +initrd=/boot/initramfs-4.2.0-1.fc23.x86_64.img +title=Fedora (4.2.0-1.fc23.x86_64) 23 (Workstation Edition)</screen> </para> <para> See the <filename>grubby(8)</filename> manual page for more command options. @@ -403,7 +403,7 @@ exec tail -n +3 $0 # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above.
-menuentry 'First custom entry' --class red --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.10.0-67.el7.x86_64-advanced-32782dd0-4b47-4d56-a740-2076ab5e5976' { +menuentry 'First custom entry' --class red --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-1.fc23.x86_64-advanced-32782dd0-4b47-4d56-a740-2076ab5e5976' { load_video set gfxpayload=keep insmod gzio @@ -415,8 +415,8 @@ menuentry 'First custom entry' --class red --class gnu-linux --class gnu --class else search --no-floppy --fs-uuid --set=root 7885bba1-8aa7-4e5d-a7ad-821f4f52170a fi - linux16 /vmlinuz-3.10.0-67.el7.x86_64 root=/dev/mapper/rhel-root ro rd.lvm.lv=rhel/root vconsole.font=latarcyrheb-sun16 rd.lvm.lv=rhel/swap vconsole.keymap=us crashkernel=auto rhgb quiet LANG=en_US.UTF-8 - initrd16 /initramfs-3.10.0-67.el7.x86_64.img + linux16 /vmlinuz-4.2.0-1.fc23.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root vconsole.font=latarcyrheb-sun16 rd.lvm.lv=fedora/swap vconsole.keymap=us crashkernel=auto rhgb quiet LANG=en_US.UTF-8 + initrd16 /initramfs-4.2.0-1.fc23.x86_64.img } menuentry 'Second custom entry' --class red --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-0-rescue-07f43f20a54c4ce8ada8b70d33fd001c-advanced-32782dd0-4b47-4d56-a740-2076ab5e5976' { load_video @@ -429,7 +429,7 @@ menuentry 'Second custom entry' --class red --class gnu-linux --class gnu --clas else search --no-floppy --fs-uuid --set=root 7885bba1-8aa7-4e5d-a7ad-821f4f52170a fi - linux16 /vmlinuz-0-rescue-07f43f20a54c4ce8ada8b70d33fd001c root=/dev/mapper/rhel-root ro rd.lvm.lv=rhel/root vconsole.font=latarcyrheb-sun16 rd.lvm.lv=rhel/swap vconsole.keymap=us crashkernel=auto rhgb quiet + linux16 /vmlinuz-0-rescue-07f43f20a54c4ce8ada8b70d33fd001c root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root vconsole.font=latarcyrheb-sun16 rd.lvm.lv=fedora/swap vconsole.keymap=us crashkernel=auto rhgb quiet initrd16 /initramfs-0-rescue-07f43f20a54c4ce8ada8b70d33fd001c.img }</programlisting> </step> @@ -749,7 +749,7 @@ password_pbkdf2 john grub.pbkdf2.sha512.10000.19074739ED80F115963D984BDCB35AA671 <para> To set the system to use a serial terminal only during a single boot process, when the GRUB 2 boot menu appears, move the cursor to the kernel you want to start, and press the <keycap>e</keycap> key to edit the kernel parameters. Remove the <literal>rhgb</literal> and <literal>quit</literal> parameters and add console parameters at the end of the <literal>linux16</literal> line as follows: </para> -<screen>linux16 /vmlinuz-3.10.0-0.rc4.59.el7.x86_64 root=/dev/mapper/rhel-root ro rd.md=0 rd.dm=0 rd.lvm.lv=rhel/swap crashkernel=auto rd.luks=0 vconsole.keymap=us rd.lvm.lv=rhel/root <emphasis role="bold">console=ttyS0,115200</emphasis></screen> +<screen>linux16 /vmlinuz-4.2.0-1.fc23.x86_64 root=/dev/mapper/fedora-root ro rd.md=0 rd.dm=0 rd.lvm.lv=fedora/swap crashkernel=auto rd.luks=0 vconsole.keymap=us rd.lvm.lv=fedora/root <emphasis role="bold">console=ttyS0,115200</emphasis></screen> <para> These settings are not persistent and apply only for a single boot.</para> <para>