summaryrefslogtreecommitdiff
path: root/configs/releng/syslinux.dual
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-06-18 18:38:58 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-06-18 18:38:27 -0300
commit85d243ff5836fc17416c65dca8a9e8b4e9d915bc (patch)
tree78b3ec86fea064580c43966da866d46e31ab7007 /configs/releng/syslinux.dual
parent4a1bd4c7697bdc7aa89eca04009d868e4dd39cb4 (diff)
downloadarchiso32-85d243ff5836fc17416c65dca8a9e8b4e9d915bc.tar.xz
[archiso] Use dm-snapshot instead of aufs2 (A.K.A. "The Big Commit")
* Use device mapper + snapshot module, instead union layer filesystem. * A block-level approach vs vfs-level. * No more unofficial (Linux) things. * More memory is needed. * Refactor mkarchiso. * Refactor hooks/archiso. * Fix install/archiso_pxe_nbd (due recent change in mkinitcpio-0.6.15 on checked_modules()/all_modules()) [Thanks Dave for the improved workaround] * New configs/releng to build official images. * Works with a Bash script instead of Makefile. (better control and easy to maintain) * Remove configs/syslinux-iso. * Remove archiso2dual script. Integrate functionality in configs/releng. * New configs/baseline to build the most basic live medium or use as template. * New README (draft). [Thanks Dieter for fixing english grammar] Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/releng/syslinux.dual')
-rw-r--r--configs/releng/syslinux.dual/syslinux.cfg12
-rw-r--r--configs/releng/syslinux.dual/syslinux_32only.cfg3
-rw-r--r--configs/releng/syslinux.dual/syslinux_arch32.cfg11
-rw-r--r--configs/releng/syslinux.dual/syslinux_arch64.cfg11
-rw-r--r--configs/releng/syslinux.dual/syslinux_both.cfg4
-rw-r--r--configs/releng/syslinux.dual/syslinux_head.cfg27
-rw-r--r--configs/releng/syslinux.dual/syslinux_tail.cfg29
7 files changed, 97 insertions, 0 deletions
diff --git a/configs/releng/syslinux.dual/syslinux.cfg b/configs/releng/syslinux.dual/syslinux.cfg
new file mode 100644
index 0000000..ac92998
--- /dev/null
+++ b/configs/releng/syslinux.dual/syslinux.cfg
@@ -0,0 +1,12 @@
+DEFAULT choose
+PROMPT 0
+
+LABEL choose
+KERNEL ifcpu64.c32
+APPEND have64 -- nohave64
+
+LABEL have64
+CONFIG syslinux_both.cfg
+
+LABEL nohave64
+CONFIG syslinux_32only.cfg
diff --git a/configs/releng/syslinux.dual/syslinux_32only.cfg b/configs/releng/syslinux.dual/syslinux_32only.cfg
new file mode 100644
index 0000000..c7a452d
--- /dev/null
+++ b/configs/releng/syslinux.dual/syslinux_32only.cfg
@@ -0,0 +1,3 @@
+INCLUDE syslinux_head.cfg
+INCLUDE syslinux_arch32.cfg
+INCLUDE syslinux_tail.cfg
diff --git a/configs/releng/syslinux.dual/syslinux_arch32.cfg b/configs/releng/syslinux.dual/syslinux_arch32.cfg
new file mode 100644
index 0000000..6947d75
--- /dev/null
+++ b/configs/releng/syslinux.dual/syslinux_arch32.cfg
@@ -0,0 +1,11 @@
+LABEL arch32
+TEXT HELP
+Boot the Arch Linux (i686) live medium. It allows you to install Arch Linux or
+perform system maintenance.
+ENDTEXT
+MENU LABEL Boot Arch Linux (i686)
+LINUX /%INSTALL_DIR%/boot/i686/vmlinuz26
+INITRD /%INSTALL_DIR%/boot/i686/archiso.img
+APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
+# Next line should be uncommented when prepare enviroment to boot from PXE.
+#IPAPPEND 3
diff --git a/configs/releng/syslinux.dual/syslinux_arch64.cfg b/configs/releng/syslinux.dual/syslinux_arch64.cfg
new file mode 100644
index 0000000..02ddc5a
--- /dev/null
+++ b/configs/releng/syslinux.dual/syslinux_arch64.cfg
@@ -0,0 +1,11 @@
+LABEL arch64
+TEXT HELP
+Boot the Arch Linux (x86_64) live medium. It allows you to install Arch Linux or
+perform system maintenance.
+ENDTEXT
+MENU LABEL Boot Arch Linux (x86_64)
+LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz26
+INITRD /%INSTALL_DIR%/boot/x86_64/archiso.img
+APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
+# Next line should be uncommented when prepare enviroment to boot from PXE.
+#IPAPPEND 3
diff --git a/configs/releng/syslinux.dual/syslinux_both.cfg b/configs/releng/syslinux.dual/syslinux_both.cfg
new file mode 100644
index 0000000..9cd1584
--- /dev/null
+++ b/configs/releng/syslinux.dual/syslinux_both.cfg
@@ -0,0 +1,4 @@
+INCLUDE syslinux_head.cfg
+INCLUDE syslinux_arch32.cfg
+INCLUDE syslinux_arch64.cfg
+INCLUDE syslinux_tail.cfg
diff --git a/configs/releng/syslinux.dual/syslinux_head.cfg b/configs/releng/syslinux.dual/syslinux_head.cfg
new file mode 100644
index 0000000..2f692f8
--- /dev/null
+++ b/configs/releng/syslinux.dual/syslinux_head.cfg
@@ -0,0 +1,27 @@
+DEFAULT vesamenu.c32
+PROMPT 0
+MENU TITLE Arch Linux
+MENU BACKGROUND splash.png
+TIMEOUT 3000
+
+MENU WIDTH 78
+MENU MARGIN 4
+MENU ROWS 7
+MENU VSHIFT 10
+MENU TIMEOUTROW 13
+MENU TABMSGROW 11
+MENU CMDLINEROW 11
+MENU HELPMSGROW 16
+MENU HELPMSGENDROW 29
+
+# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
+
+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
diff --git a/configs/releng/syslinux.dual/syslinux_tail.cfg b/configs/releng/syslinux.dual/syslinux_tail.cfg
new file mode 100644
index 0000000..7dd1270
--- /dev/null
+++ b/configs/releng/syslinux.dual/syslinux_tail.cfg
@@ -0,0 +1,29 @@
+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
+
+# http://www.memtest.org/
+LABEL memtest
+MENU LABEL Run Memtest86+ (RAM test)
+LINUX /%INSTALL_DIR%/boot/memtest
+
+# http://hdt-project.org/
+LABEL hdt
+MENU LABEL Hardware Information (HDT)
+COM32 hdt.c32
+APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz
+
+LABEL reboot
+MENU LABEL Reboot
+COM32 reboot.c32
+
+LABEL poweroff
+MENU LABEL Power Off
+COMBOOT poweroff.com
+
+ONTIMEOUT arch32