From ef347b3a28f3914eed8c0b3172d629d22cd85cc3 Mon Sep 17 00:00:00 2001 From: Vincent Li Date: Wed, 3 Apr 2024 14:34:24 +0000 Subject: [PATCH] Revert "Enable serial console in default grub" This reverts commit 7773f82726f8a93591216867b2862b37242864a0. After ISO installation in real hardware and reboot, the boot process appears to be "stucking" in "dracut: Switching root". see https://github.com/vincentmli/FireBeeOS/issues/1 revert the commit resolves the issue, I suspect maybe the output after "dractu: Switching root" is directed to serial console? anyway revert this change temporarily. flash image build still need to have serial console access for better user experience when trying flash image in KVM/Libvirt virtual environment. Signed-off-by: Vincent Li --- config/grub2/default | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/grub2/default b/config/grub2/default index 5bdda430d..127d33445 100644 --- a/config/grub2/default +++ b/config/grub2/default @@ -1,8 +1,6 @@ GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved -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_CMDLINE_LINUX="rd.auto panic=10" GRUB_DISABLE_RECOVERY="true" GRUB_BACKGROUND="/boot/grub/splash.png"