From b006f126c837bb0f0726772ee83a3076a4c1e9de Mon Sep 17 00:00:00 2001 From: Kiefer Chang Date: Wed, 4 Oct 2023 15:33:52 +0800 Subject: [PATCH] ISO boot: do not set ttyS0 as console Some machines have a hard time booting with the parameter on. Signed-off-by: Kiefer Chang (cherry picked from commit 254b7c7fdabdaecee20a1489170d45669cef8012) --- package/harvester-os/iso/boot/grub2/grub.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/harvester-os/iso/boot/grub2/grub.cfg b/package/harvester-os/iso/boot/grub2/grub.cfg index ff49de8de..e0c7e0b02 100644 --- a/package/harvester-os/iso/boot/grub2/grub.cfg +++ b/package/harvester-os/iso/boot/grub2/grub.cfg @@ -22,7 +22,7 @@ if [ -f ${font} ];then fi menuentry "Harvester Installer ${harvester_version}" --class os --unrestricted { echo Loading kernel... - $linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs console=tty1 console=ttyS0 rd.cos.disable net.ifnames=1 + $linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs console=tty1 rd.cos.disable net.ifnames=1 echo Loading initrd... $initrd ($root)/boot/initrd } @@ -30,7 +30,7 @@ menuentry "Harvester Installer ${harvester_version}" --class os --unrestricted { menuentry "Harvester Installer ${harvester_version} (VGA 1024x768)" --class os --unrestricted { set gfxpayload=1024x768x24,1024x768 echo Loading kernel... - $linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs console=tty1 console=ttyS0 rd.cos.disable net.ifnames=1 + $linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs console=tty1 rd.cos.disable net.ifnames=1 echo Loading initrd... $initrd ($root)/boot/initrd }