Make tty1 the default console in live system as well (#545)

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
Dimitris Karakasilis
2023-11-21 17:25:17 +02:00
committed by GitHub
parent e02e0808c7
commit 4f11b7a41b
2 changed files with 7 additions and 7 deletions

View File

@@ -1,9 +1,9 @@
packages: packages:
- name: "grub2" - name: "grub2"
category: "livecd" category: "livecd"
version: "0.0.10" version: "0.0.11"
description: "Grub2 booloader for live systems" description: "Grub2 booloader for live systems"
- name: "grub2-efi-image" - name: "grub2-efi-image"
category: "livecd" category: "livecd"
version: "0.0.10" version: "0.0.11"
description: "Grub2 booloader EFI image for live systems" description: "Grub2 booloader EFI image for live systems"

View File

@@ -22,35 +22,35 @@ if [ -f ${font} ];then
fi fi
menuentry "Kairos" --class os --unrestricted { menuentry "Kairos" --class os --unrestricted {
echo Loading kernel... echo Loading kernel...
$linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs net.ifnames=1 console=tty1 console=ttyS0 rd.cos.disable vga=795 nomodeset nodepair.enable selinux=0 rd.live.overlay.overlayfs $linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs net.ifnames=1 console=ttyS0 console=tty1 rd.cos.disable vga=795 nomodeset nodepair.enable selinux=0 rd.live.overlay.overlayfs
echo Loading initrd... echo Loading initrd...
$initrd ($root)/boot/initrd $initrd ($root)/boot/initrd
} }
menuentry "Kairos (manual)" --class os --unrestricted { menuentry "Kairos (manual)" --class os --unrestricted {
echo Loading kernel... echo Loading kernel...
$linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs net.ifnames=1 console=tty1 console=ttyS0 rd.cos.disable vga=795 nomodeset selinux=0 rd.live.overlay.overlayfs $linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs net.ifnames=1 console=ttyS0 console=tty1 rd.cos.disable vga=795 nomodeset selinux=0 rd.live.overlay.overlayfs
echo Loading initrd... echo Loading initrd...
$initrd ($root)/boot/initrd $initrd ($root)/boot/initrd
} }
menuentry "kairos (interactive install)" --class os --unrestricted { menuentry "kairos (interactive install)" --class os --unrestricted {
echo Loading kernel... echo Loading kernel...
$linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs net.ifnames=1 console=tty1 console=ttyS0 rd.cos.disable vga=795 nomodeset interactive-install selinux=0 rd.live.overlay.overlayfs $linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs net.ifnames=1 console=ttyS0 console=tty1 rd.cos.disable vga=795 nomodeset interactive-install selinux=0 rd.live.overlay.overlayfs
echo Loading initrd... echo Loading initrd...
$initrd ($root)/boot/initrd $initrd ($root)/boot/initrd
} }
menuentry "Kairos (remote recovery mode)" --class os --unrestricted { menuentry "Kairos (remote recovery mode)" --class os --unrestricted {
echo Loading kernel... echo Loading kernel...
$linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs net.ifnames=1 console=tty1 console=ttyS0 rd.cos.disable vga=795 nomodeset kairos.remote_recovery_mode selinux=0 rd.live.overlay.overlayfs $linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs net.ifnames=1 console=ttyS0 console=tty1 rd.cos.disable vga=795 nomodeset kairos.remote_recovery_mode selinux=0 rd.live.overlay.overlayfs
echo Loading initrd... echo Loading initrd...
$initrd ($root)/boot/initrd $initrd ($root)/boot/initrd
} }
menuentry "Kairos (boot local node from livecd)" --class os --unrestricted { menuentry "Kairos (boot local node from livecd)" --class os --unrestricted {
echo Loading kernel... echo Loading kernel...
$linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs net.ifnames=1 console=tty1 console=ttyS0 kairos.boot_live_mode vga=795 nomodeset selinux=0 rd.live.overlay.overlayfs $linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs net.ifnames=1 console=ttyS0 console=tty1 kairos.boot_live_mode vga=795 nomodeset selinux=0 rd.live.overlay.overlayfs
echo Loading initrd... echo Loading initrd...
$initrd ($root)/boot/initrd $initrd ($root)/boot/initrd
} }