summaryrefslogtreecommitdiff
path: root/boot-files/syslinux/syslinux.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'boot-files/syslinux/syslinux.cfg')
-rw-r--r--boot-files/syslinux/syslinux.cfg18
1 files changed, 11 insertions, 7 deletions
diff --git a/boot-files/syslinux/syslinux.cfg b/boot-files/syslinux/syslinux.cfg
index 6880044..37929c2 100644
--- a/boot-files/syslinux/syslinux.cfg
+++ b/boot-files/syslinux/syslinux.cfg
@@ -1,7 +1,7 @@
DEFAULT vesamenu.c32
PROMPT 0
MENU TITLE Parabola GNU/Linux-libre
-MENU BACKGROUND /boot/splash.png
+MENU BACKGROUND /%INSTALL_DIR%/boot/splash.png
TIMEOUT 3000
# TODO: Replace these crappy messages with something useful
@@ -37,8 +37,8 @@ Boot the Parabola GNU/Linux-libre live medium. It allows you to
install a libre Arch Linux or perform system maintenance.
ENDTEXT
MENU LABEL Boot Parabola GNU/Linux-libre
-KERNEL /boot/vmlinuz26
-APPEND initrd=/boot/archiso.img archisolabel=XXX rw_branch_size=75% locale=en_US.UTF-8
+LINUX /%INSTALL_DIR%/boot/%ARCH%/vmlinuz26
+APPEND initrd=/%INSTALL_DIR%/boot/%ARCH%/archiso.img archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% rw_branch_size=75% locale=en_US.UTF-8
# Next line should be uncommented when prepare enviroment to boot from PXE.
#IPAPPEND 3
@@ -48,22 +48,26 @@ Boot an existing operating system. Press TAB to edit the disk and partition
number to boot.
ENDTEXT
MENU LABEL Boot existing OS
-KERNEL chain.c32
+COM32 chain.c32
APPEND hd0 0
# http://www.memtest.org/
LABEL memtest
MENU LABEL Run Memtest86+ (RAM test)
-KERNEL /boot/memtest
+LINUX /%INSTALL_DIR%/boot/memtest
# http://hdt-project.org/
LABEL hdt
MENU LABEL Hardware Information (HDT)
-KERNEL hdt.c32
+COM32 hdt.c32
APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz
LABEL reboot
MENU LABEL Reboot
-KERNEL reboot.c32
+COM32 reboot.c32
+
+LABEL poweroff
+MENU LABEL Power Off
+COMBOOT poweroff.com
ONTIMEOUT arch