From 128d8d16b8a606e28c0653dc0ccc97a321e5c040 Mon Sep 17 00:00:00 2001 From: Stephen Wadeley Date: Aug 31 2015 05:09:44 +0000 Subject: Improve: GRUB 2 over a Serial Console --- 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 81f951b..2665706 100644 --- a/en-US/Working_with_the_GRUB_2_Boot_Loader.xml +++ b/en-US/Working_with_the_GRUB_2_Boot_Loader.xml @@ -738,15 +738,26 @@ password_pbkdf2 john grub.pbkdf2.sha512.10000.19074739ED80F115963D984BDCB35AA671 -
- GRUB 2 over Serial Console +
+ GRUB 2 over a Serial Console If you use computers with no display or keyboard, it can be very useful to control the machines through serial communications. -
- Configuring GRUB 2 +
+ Configuring the GRUB 2 Menu + + + 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 e key to edit the kernel parameters. Remove the rhgb and quit parameters and add console parameters at the end of the linux16 line as follows: + +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 console=ttyS0,115200 + + These settings are not persistent and apply only for a single boot. + + To make persistent changes to a menu entry on a system, use the grubby tool. For example, to update the entry for the default kernel, enter a command as follows: +~]# grubby --remove-args="rhgb quiet" --args=console=ttyS0,115200 --update-kernel=DEFAULT +The parameter also accepts the keyword ALL or a comma separated list of kernel index numbers. See for more information on using grubby. - In order to use GRUB 2 over a serial line, add the following two lines in the /etc/default/grub file: + If required to build a new GRUB 2 configuration file, add the following two lines in the /etc/default/grub file: GRUB_TERMINAL="serial"