diff --git a/efiboot/grub/grubsrcd.cfg b/efiboot/grub/grubsrcd.cfg index 69c4a51..efea210 100644 --- a/efiboot/grub/grubsrcd.cfg +++ b/efiboot/grub/grubsrcd.cfg @@ -20,6 +20,12 @@ if loadfont /boot/grub/font.pf2 ; then terminal_output gfxterm fi +# enable serial console with common settings (ttyS0, 115200 Baud, 8n1) +# this works in parallel to regular console +serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 +terminal_input --append serial +terminal_output --append serial + menuentry "Boot SystemRescue using default options" { set gfxpayload=keep linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULT_KERNEL_PARAM% @@ -44,6 +50,12 @@ menuentry "Boot SystemRescue using basic display drivers (nomodeset)" { initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img } +menuentry "Boot SystemRescue with serial console (ttyS0,115200n8)" { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULT_KERNEL_PARAM% console=tty0 console=ttyS0,115200n8 + initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img +} + menuentry "Boot SystemRescue, do not activate md raid or lvm (nomdlvm)" { set gfxpayload=keep linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULT_KERNEL_PARAM% nomdlvm diff --git a/syslinux/sysresccd_head.cfg b/syslinux/sysresccd_head.cfg index 8c7ec00..231f348 100644 --- a/syslinux/sysresccd_head.cfg +++ b/syslinux/sysresccd_head.cfg @@ -1,4 +1,4 @@ -SERIAL 0 38400 +SERIAL 0 115200 UI boot/syslinux/vesamenu.c32 MENU TITLE SYSTEM-RESCUE %ISO_VERSION% %ISO_ARCH% (www.system-rescue.org) MENU BACKGROUND #c000a8a8 diff --git a/syslinux/sysresccd_sys.cfg b/syslinux/sysresccd_sys.cfg index a1a9ed7..9773291 100644 --- a/syslinux/sysresccd_sys.cfg +++ b/syslinux/sysresccd_sys.cfg @@ -36,6 +36,15 @@ LINUX boot/%ISO_ARCH%/vmlinuz INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULT_KERNEL_PARAM% nomodeset +LABEL sysresccd-serial +TEXT HELP +Use a serial console. +ENDTEXT +MENU LABEL Boot SystemRescue with serial console (ttyS0,115200n8) +LINUX boot/%ISO_ARCH%/vmlinuz +INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img +APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULT_KERNEL_PARAM% console=tty0 console=ttyS0,115200n8 + LABEL sysresccd-nomdlvm TEXT HELP Do not activate md raid or lvm to prevent any unwanted disk writes,