Linux Boot Loader/Syslinux

From The Brainwrecked Wiki
Revision as of 10:10, 26 May 2021 by BrainwreckedTech (talk | contribs) (Created page with "{{hc|${BOOT}/syslinux/syslinux.cfg|2=<nowiki> DEFAULT arch-default PROMPT 0 TIMEOUT 100 #UI menu.c32 UI vesamenu.c32 MENU RESOLUTION 800 600 MENU WIDTH 26 MENU MARGIN 4 MENU...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
${BOOT}/syslinux/syslinux.cfg
DEFAULT arch-default
PROMPT 0
TIMEOUT 100

#UI menu.c32
UI vesamenu.c32

MENU RESOLUTION 800 600
MENU WIDTH 26
MENU MARGIN 4
MENU VSHIFT 16
MENU HSHIFT 36
MENU TIMEOUTROW 17
MENU TABSMSGROW 15
MENU CMDLINEROW 15
MENU HELPMSGROW 19
MENU HELPMEGENDROW 19

# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU BACKGROUND	splash.png
MENU COLOR border	30;44   #40ffffff #a0000000 std
MENU COLOR title	1;36;44 #9033ccff #a0000000 std
MENU COLOR sel		7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel	37;44   #50ffffff #a0000000 std
MENU COLOR help		37;40   #c0ffffff #a0000000 std
MENU COLOR timeout_msg	37;40   #80ffffff #00000000 std
MENU COLOR timeout	1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07	37;40   #90ffffff #a0000000 std
MENU COLOR tabmsg	31;40   #30ffffff #00000000 std

MENU TITLE Boot Menu
MENU ROWS 6

LABEL	arch-default
MENU LABEL Arch Linux (default)
LINUX	/vmlinuz-linux
APPEND	root="LABEL=<Root_Filesystem_Label>" rootfs=<fstype> rootflags="noatime,compress-force=zstd,subvol=<vol>" rw consoleblank=0 nvidia-drm.modeset=1 quiet splash loglevel=3 rd.udev.log_priority=3 rd.systemd.show_status=auto vt.global_cursor_default=0
INITRD	/initramfs-linux.img
TEXT HELP
Boot normally with splash screen and display manager.
ENDTEXT

LABEL	arch-verbose
MENU LABEL Arch Linux (verbose)
LINUX	/vmlinuz-linux
APPEND	root="LABEL=<Root_Filesystem_Label>" rootfs=<fstype> rootflags="noatime,compress-force=zstd,subvol=<vol>" rw consoleblank=0 nvidia-drm.modeset=1
INITRD	/initramfs-linux.img
TEXT HELP
Boot without splash screen and full systemd progress output.
ENDTEXT

LABEL	arch-fallback
MENU LABEL Arch Linux (fallback)
LINUX	/vmlinuz-linux
APPEND	root="LABEL=<Root_Filesystem_Label>" rootfs=<fstype> rootflags="noatime,compress-force=zstd,subvol=<vol>" rw consoleblank=0 nvidia-drm.modeset=1
INITRD	/initramfs-linux-fallback.img
TEXT HELP
Boot with the fallback initramfs.
ENDTEXT

LABEL	arch-fallback
MENU LABEL Arch Linux (fallback)
LINUX	/vmlinuz-linux
APPEND	root="LABEL=<Root_Filesystem_Label>" rootfs=<fstype> rootflags="noatime,compress-force=zstd,subvol=<vol>" rw consoleblank=0 nvidia-drm.modeset=1
INITRD	/initramfs-linux-fallback.img
TEXT HELP
Boot with the fallback initramfs.
ENDTEXT

LABEL	arch-console
MENU LABEL Arch Linux (console)
LINUX	/vmlinuz-linux
APPEND	root="LABEL=<Root_Filesystem_Label>" rootfs=<fstype> rootflags="noatime,compress-force=zstd,subvol=<vol>" rw consoleblank=0 nvidia-drm.modeset=1 systemd.unit=multi-user.target
INITRD	/initramfs-linux-fallback.img
TEXT HELP
Boot to the terminal (no GUI).
ENDTEXT

LABEL	arch-rescue
MENU LABEL Arch Linux (rescue)
LINUX	/vmlinuz-linux
APPEND	root="LABEL=<Root_Filesystem_Label>" rootfs=<fstype> rootflags="noatime,compress-force=zstd,subvol=<vol>" rw consoleblank=0 nvidia-drm.modeset=1 systemd.unit=rescue.target
INITRD	/initramfs-linux-fallback.img
TEXT HELP
Boot to systemd rescue target.
ENDTEXT

LABEL	memtest86
MENU LABEL Memtest86+
LINUX	/memtest86+/memtest.bin
TEXT HELP
Run a RAM diagnostic
ENDTEXT