mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2025-12-06 07:12:01 +01:00
Merge branch 'serial-console' into 'main'
activate serial console in grub/UEFI, change baud rate to 115200 See merge request systemrescue/systemrescue-sources!253
This commit is contained in:
commit
c38edd8205
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue