Grub

From Leo's Notes
Revision as of 23:36, 14 June 2020 by Leo (talk | contribs) (Added categories)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 14 June 2020, at 23:36.

Serial

To enable serial output, edit /etc/default/grub with the following lines:

GRUB_TERMINAL_OUTPUT="console serial"
GRUB_CMDLINE_LINUX="rhgb console=ttyS0,115200n8 "
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200"

Then update the grub config:

# grub2-mkconfig -o /boot/grub2/grub.cfg