Skip to content

Commit

Permalink
ISO boot: do not set ttyS0 as console
Browse files Browse the repository at this point in the history
Some machines have a hard time booting with the parameter on.

Signed-off-by: Kiefer Chang <[email protected]>
  • Loading branch information
bk201 authored and Vicente-Cheng committed Oct 5, 2023
1 parent 5c375c0 commit 254b7c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/harvester-os/iso/boot/grub2/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ 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
}

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
}
Expand Down

0 comments on commit 254b7c7

Please sign in to comment.