aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2025-09-18 19:05:41 +0200
committerThorsten Töpper <atsutane@freethoughts.de>2025-09-18 19:05:41 +0200
commitcd636bfec04832b6cec67913133a337f960ca0fc (patch)
tree7b53accec5d7d3046f76ad73c7360c6233564abd
parente4aa6ffeb28749bc172bbab7c0c28b8e43777ce9 (diff)
downloadarchiso-cd636bfec04832b6cec67913133a337f960ca0fc.tar.gz
archiso-cd636bfec04832b6cec67913133a337f960ca0fc.tar.bz2
syslinux config from releng
-rw-r--r--configs/smalldeploy/syslinux/archiso_head.cfg27
-rw-r--r--configs/smalldeploy/syslinux/archiso_pxe-linux.cfg32
-rw-r--r--configs/smalldeploy/syslinux/archiso_pxe.cfg5
-rw-r--r--configs/smalldeploy/syslinux/archiso_sys-linux.cfg9
-rw-r--r--configs/smalldeploy/syslinux/archiso_sys.cfg8
-rw-r--r--configs/smalldeploy/syslinux/archiso_tail.cfg30
-rw-r--r--configs/smalldeploy/syslinux/syslinux-linux.cfg5
-rw-r--r--configs/smalldeploy/syslinux/syslinux.cfg16
8 files changed, 120 insertions, 12 deletions
diff --git a/configs/smalldeploy/syslinux/archiso_head.cfg b/configs/smalldeploy/syslinux/archiso_head.cfg
new file mode 100644
index 0000000..d2aeca3
--- /dev/null
+++ b/configs/smalldeploy/syslinux/archiso_head.cfg
@@ -0,0 +1,27 @@
+SERIAL 0 115200
+UI vesamenu.c32
+MENU TITLE Arch Linux
+
+MENU WIDTH 78
+MENU MARGIN 4
+MENU ROWS 7
+MENU VSHIFT 10
+MENU TABMSGROW 14
+MENU CMDLINEROW 14
+MENU HELPMSGROW 16
+MENU HELPMSGENDROW 29
+
+# Refer to https://wiki.syslinux.org/wiki/index.php/Comboot/menu.c32
+
+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 CLEAR
+MENU IMMEDIATE
diff --git a/configs/smalldeploy/syslinux/archiso_pxe-linux.cfg b/configs/smalldeploy/syslinux/archiso_pxe-linux.cfg
new file mode 100644
index 0000000..5d0f741
--- /dev/null
+++ b/configs/smalldeploy/syslinux/archiso_pxe-linux.cfg
@@ -0,0 +1,32 @@
+LABEL arch64_nbd
+TEXT HELP
+Boot the Arch Linux install medium using NBD.
+It allows you to install Arch Linux or perform system maintenance.
+ENDTEXT
+MENU LABEL Arch Linux install medium (x86_64, NBD)
+LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
+INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
+APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% archiso_nbd_srv=${pxeserver} cms_verify=y
+SYSAPPEND 3
+
+LABEL arch64_nfs
+TEXT HELP
+Boot the Arch Linux live medium using NFS.
+It allows you to install Arch Linux or perform system maintenance.
+ENDTEXT
+MENU LABEL Arch Linux install medium (x86_64, NFS)
+LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
+INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
+APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt cms_verify=y
+SYSAPPEND 3
+
+LABEL arch64_http
+TEXT HELP
+Boot the Arch Linux live medium using HTTP.
+It allows you to install Arch Linux or perform system maintenance.
+ENDTEXT
+MENU LABEL Arch Linux install medium (x86_64, HTTP)
+LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
+INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
+APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ cms_verify=y
+SYSAPPEND 3
diff --git a/configs/smalldeploy/syslinux/archiso_pxe.cfg b/configs/smalldeploy/syslinux/archiso_pxe.cfg
new file mode 100644
index 0000000..b4c9a80
--- /dev/null
+++ b/configs/smalldeploy/syslinux/archiso_pxe.cfg
@@ -0,0 +1,5 @@
+INCLUDE archiso_head.cfg
+
+INCLUDE archiso_pxe-linux.cfg
+
+INCLUDE archiso_tail.cfg
diff --git a/configs/smalldeploy/syslinux/archiso_sys-linux.cfg b/configs/smalldeploy/syslinux/archiso_sys-linux.cfg
new file mode 100644
index 0000000..d163371
--- /dev/null
+++ b/configs/smalldeploy/syslinux/archiso_sys-linux.cfg
@@ -0,0 +1,9 @@
+LABEL arch64
+TEXT HELP
+Boot the Arch Linux install medium on BIOS.
+It allows you to install Arch Linux or perform system maintenance.
+ENDTEXT
+MENU LABEL Arch Linux install medium (x86_64, BIOS)
+LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
+INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
+APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID%
diff --git a/configs/smalldeploy/syslinux/archiso_sys.cfg b/configs/smalldeploy/syslinux/archiso_sys.cfg
new file mode 100644
index 0000000..d93bcfe
--- /dev/null
+++ b/configs/smalldeploy/syslinux/archiso_sys.cfg
@@ -0,0 +1,8 @@
+INCLUDE archiso_head.cfg
+
+DEFAULT arch64
+TIMEOUT 150
+
+INCLUDE archiso_sys-linux.cfg
+
+INCLUDE archiso_tail.cfg
diff --git a/configs/smalldeploy/syslinux/archiso_tail.cfg b/configs/smalldeploy/syslinux/archiso_tail.cfg
new file mode 100644
index 0000000..326fbf5
--- /dev/null
+++ b/configs/smalldeploy/syslinux/archiso_tail.cfg
@@ -0,0 +1,30 @@
+LABEL existing
+TEXT HELP
+Boot an existing operating system.
+Press TAB to edit the disk and partition number to boot.
+ENDTEXT
+MENU LABEL Boot existing OS
+COM32 chain.c32
+APPEND hd0 0
+
+# https://wiki.syslinux.org/wiki/index.php/Hdt_(Hardware_Detection_Tool)
+LABEL hdt
+MENU LABEL Hardware Information (HDT)
+COM32 hdt.c32
+APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz
+
+LABEL reboot
+TEXT HELP
+Reboot computer.
+The computer's firmware must support APM.
+ENDTEXT
+MENU LABEL Reboot
+COM32 reboot.c32
+
+LABEL poweroff
+TEXT HELP
+Power off computer.
+The computer's firmware must support APM.
+ENDTEXT
+MENU LABEL Power Off
+COM32 poweroff.c32
diff --git a/configs/smalldeploy/syslinux/syslinux-linux.cfg b/configs/smalldeploy/syslinux/syslinux-linux.cfg
deleted file mode 100644
index 25b9d1b..0000000
--- a/configs/smalldeploy/syslinux/syslinux-linux.cfg
+++ /dev/null
@@ -1,5 +0,0 @@
-LABEL arch
-MENU LABEL Arch Linux (x86_64, BIOS)
-LINUX /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux
-INITRD /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img
-APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID%
diff --git a/configs/smalldeploy/syslinux/syslinux.cfg b/configs/smalldeploy/syslinux/syslinux.cfg
index 561ac7c..cbda72f 100644
--- a/configs/smalldeploy/syslinux/syslinux.cfg
+++ b/configs/smalldeploy/syslinux/syslinux.cfg
@@ -1,9 +1,11 @@
-SERIAL 0 115200
-UI menu.c32
-MENU TITLE Arch Linux
-MENU CLEAR
+DEFAULT select
-DEFAULT arch
-TIMEOUT 30
+LABEL select
+COM32 whichsys.c32
+APPEND -pxe- pxe -sys- sys -iso- sys
-INCLUDE syslinux-linux.cfg
+LABEL pxe
+CONFIG archiso_pxe.cfg
+
+LABEL sys
+CONFIG archiso_sys.cfg