From 7773f82726f8a93591216867b2862b37242864a0 Mon Sep 17 00:00:00 2001 From: Vincent Li Date: Sun, 18 Feb 2024 05:09:46 +0000 Subject: [PATCH] Enable serial console in default grub serial console allows user to easy access to ipfire image instance in KVM/Libvirt environment by virt console Signed-off-by: Vincent Li --- config/grub2/default | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/grub2/default b/config/grub2/default index 127d334454..5bdda430da 100644 --- a/config/grub2/default +++ b/config/grub2/default @@ -1,6 +1,8 @@ GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved -GRUB_CMDLINE_LINUX="rd.auto panic=10" +GRUB_CMDLINE_LINUX="rd.auto panic=10 console=tty0 console=ttyS0,115200n8" +GRUB_TERMINAL=serial +GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop==1" GRUB_DISABLE_RECOVERY="true" GRUB_BACKGROUND="/boot/grub/splash.png"