Grub: Difference between revisions
From Leo's Notes
This page was last edited on 14 June 2020, at 23:36.
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..." |
m Added categories |
||
| Line 12: | Line 12: | ||
# grub2-mkconfig -o /boot/grub2/grub.cfg | # grub2-mkconfig -o /boot/grub2/grub.cfg | ||
}} | }} | ||
{{Navbox Linux}}[[Category:Linux]] | |||
[[Category:LinuxUtilities]] | |||
Latest revision as of 23:36, 14 June 2020
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