Grub

From Leo's Notes
Revision as of 03:31, 1 December 2019 by Leo (talk | contribs) (Created page with " == Serial == To enable serial output, edit {{code|/etc/default/grub}} with the following lines: {{highlight|lang=text|code= GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 1 December 2019, at 03:31.

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