From 869d57853362a301133c3702267354c93be465b5 Mon Sep 17 00:00:00 2001 From: lagertonne Date: Sun, 7 Mar 2021 21:06:09 +0100 Subject: [PATCH] Add configuration for our boot menus --- config/bootloaders/isolinux/advanced.cfg | 7 + config/bootloaders/isolinux/hdt.c32 | 1 + config/bootloaders/isolinux/install.cfg | 11 + config/bootloaders/isolinux/isolinux.bin | 1 + config/bootloaders/isolinux/isolinux.cfg | 4 + config/bootloaders/isolinux/ldlinux.c32 | 1 + config/bootloaders/isolinux/libcom32.c32 | 1 + config/bootloaders/isolinux/libgpl.c32 | 1 + config/bootloaders/isolinux/libmenu.c32 | 1 + config/bootloaders/isolinux/libutil.c32 | 1 + config/bootloaders/isolinux/live.cfg.in | 12 + config/bootloaders/isolinux/menu.cfg | 16 + config/bootloaders/isolinux/splash.svg | 388 ++++++++++++++++++ config/bootloaders/isolinux/stdmenu.cfg | 15 + config/bootloaders/isolinux/vesamenu.c32 | 1 + config/bootloaders/pxelinux/advanced.cfg | 7 + config/bootloaders/pxelinux/hdt.c32 | 1 + config/bootloaders/pxelinux/install.cfg | 11 + config/bootloaders/pxelinux/ldlinux.c32 | 1 + config/bootloaders/pxelinux/libcom32.c32 | 1 + config/bootloaders/pxelinux/libgpl.c32 | 1 + config/bootloaders/pxelinux/libmenu.c32 | 1 + config/bootloaders/pxelinux/libutil.c32 | 1 + config/bootloaders/pxelinux/live.cfg.in | 12 + config/bootloaders/pxelinux/menu.cfg | 17 + config/bootloaders/pxelinux/pxelinux.0 | 1 + .../bootloaders/pxelinux/pxelinux.cfg/default | 4 + config/bootloaders/pxelinux/splash.svg | 388 ++++++++++++++++++ config/bootloaders/pxelinux/stdmenu.cfg | 15 + config/bootloaders/pxelinux/vesamenu.c32 | 1 + 30 files changed, 923 insertions(+) create mode 100644 config/bootloaders/isolinux/advanced.cfg create mode 120000 config/bootloaders/isolinux/hdt.c32 create mode 100644 config/bootloaders/isolinux/install.cfg create mode 120000 config/bootloaders/isolinux/isolinux.bin create mode 100644 config/bootloaders/isolinux/isolinux.cfg create mode 120000 config/bootloaders/isolinux/ldlinux.c32 create mode 120000 config/bootloaders/isolinux/libcom32.c32 create mode 120000 config/bootloaders/isolinux/libgpl.c32 create mode 120000 config/bootloaders/isolinux/libmenu.c32 create mode 120000 config/bootloaders/isolinux/libutil.c32 create mode 100644 config/bootloaders/isolinux/live.cfg.in create mode 100644 config/bootloaders/isolinux/menu.cfg create mode 100644 config/bootloaders/isolinux/splash.svg create mode 100644 config/bootloaders/isolinux/stdmenu.cfg create mode 120000 config/bootloaders/isolinux/vesamenu.c32 create mode 100644 config/bootloaders/pxelinux/advanced.cfg create mode 120000 config/bootloaders/pxelinux/hdt.c32 create mode 100644 config/bootloaders/pxelinux/install.cfg create mode 120000 config/bootloaders/pxelinux/ldlinux.c32 create mode 120000 config/bootloaders/pxelinux/libcom32.c32 create mode 120000 config/bootloaders/pxelinux/libgpl.c32 create mode 120000 config/bootloaders/pxelinux/libmenu.c32 create mode 120000 config/bootloaders/pxelinux/libutil.c32 create mode 100644 config/bootloaders/pxelinux/live.cfg.in create mode 100644 config/bootloaders/pxelinux/menu.cfg create mode 120000 config/bootloaders/pxelinux/pxelinux.0 create mode 100644 config/bootloaders/pxelinux/pxelinux.cfg/default create mode 100644 config/bootloaders/pxelinux/splash.svg create mode 100644 config/bootloaders/pxelinux/stdmenu.cfg create mode 120000 config/bootloaders/pxelinux/vesamenu.c32 diff --git a/config/bootloaders/isolinux/advanced.cfg b/config/bootloaders/isolinux/advanced.cfg new file mode 100644 index 0000000..373451a --- /dev/null +++ b/config/bootloaders/isolinux/advanced.cfg @@ -0,0 +1,7 @@ +label hdt + menu label ^Hardware Detection Tool (HDT) + com32 hdt.c32 + +label memtest + menu label ^Memory Diagnostic Tool (memtest86+) + linux /live/memtest diff --git a/config/bootloaders/isolinux/hdt.c32 b/config/bootloaders/isolinux/hdt.c32 new file mode 120000 index 0000000..f84c641 --- /dev/null +++ b/config/bootloaders/isolinux/hdt.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/hdt.c32 \ No newline at end of file diff --git a/config/bootloaders/isolinux/install.cfg b/config/bootloaders/isolinux/install.cfg new file mode 100644 index 0000000..ba09752 --- /dev/null +++ b/config/bootloaders/isolinux/install.cfg @@ -0,0 +1,11 @@ +label install + menu label ^Install + linux /install/vmlinuz + initrd /install/initrd.gz + append vga=788 @APPEND_INSTALL@ --- quiet + +label installgui + menu label ^Graphical install + linux /install/gtk/vmlinuz + initrd /install/gtk/initrd.gz + append video=vesa:ywrap,mtrr vga=788 @APPEND_INSTALL@ --- quiet diff --git a/config/bootloaders/isolinux/isolinux.bin b/config/bootloaders/isolinux/isolinux.bin new file mode 120000 index 0000000..33a2ad6 --- /dev/null +++ b/config/bootloaders/isolinux/isolinux.bin @@ -0,0 +1 @@ +/usr/lib/ISOLINUX/isolinux.bin \ No newline at end of file diff --git a/config/bootloaders/isolinux/isolinux.cfg b/config/bootloaders/isolinux/isolinux.cfg new file mode 100644 index 0000000..a3e3eab --- /dev/null +++ b/config/bootloaders/isolinux/isolinux.cfg @@ -0,0 +1,4 @@ +include menu.cfg +default vesamenu.c32 +prompt 0 +timeout 0 diff --git a/config/bootloaders/isolinux/ldlinux.c32 b/config/bootloaders/isolinux/ldlinux.c32 new file mode 120000 index 0000000..df554c7 --- /dev/null +++ b/config/bootloaders/isolinux/ldlinux.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/ldlinux.c32 \ No newline at end of file diff --git a/config/bootloaders/isolinux/libcom32.c32 b/config/bootloaders/isolinux/libcom32.c32 new file mode 120000 index 0000000..44ab36b --- /dev/null +++ b/config/bootloaders/isolinux/libcom32.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/libcom32.c32 \ No newline at end of file diff --git a/config/bootloaders/isolinux/libgpl.c32 b/config/bootloaders/isolinux/libgpl.c32 new file mode 120000 index 0000000..81c83fb --- /dev/null +++ b/config/bootloaders/isolinux/libgpl.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/libgpl.c32 \ No newline at end of file diff --git a/config/bootloaders/isolinux/libmenu.c32 b/config/bootloaders/isolinux/libmenu.c32 new file mode 120000 index 0000000..2491ff9 --- /dev/null +++ b/config/bootloaders/isolinux/libmenu.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/libmenu.c32 \ No newline at end of file diff --git a/config/bootloaders/isolinux/libutil.c32 b/config/bootloaders/isolinux/libutil.c32 new file mode 120000 index 0000000..478194e --- /dev/null +++ b/config/bootloaders/isolinux/libutil.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/libutil.c32 \ No newline at end of file diff --git a/config/bootloaders/isolinux/live.cfg.in b/config/bootloaders/isolinux/live.cfg.in new file mode 100644 index 0000000..97ceb92 --- /dev/null +++ b/config/bootloaders/isolinux/live.cfg.in @@ -0,0 +1,12 @@ +label live-@FLAVOUR@ + menu label ^Live (@FLAVOUR@) + menu default + linux @LINUX@ + initrd @INITRD@ + append @APPEND_LIVE@ + +label live-@FLAVOUR@-failsafe + menu label ^Live (@FLAVOUR@ failsafe) + linux @LINUX@ + initrd @INITRD@ + append @APPEND_LIVE_FAILSAFE@ diff --git a/config/bootloaders/isolinux/menu.cfg b/config/bootloaders/isolinux/menu.cfg new file mode 100644 index 0000000..338f2e5 --- /dev/null +++ b/config/bootloaders/isolinux/menu.cfg @@ -0,0 +1,16 @@ +menu hshift 0 +menu width 82 + +menu title Boot menu +include stdmenu.cfg +include live.cfg +menu begin advanced + menu title ^Advanced options + include stdmenu.cfg + label mainmenu + menu label ^Back.. + menu exit + include advanced.cfg +menu end + +menu clear diff --git a/config/bootloaders/isolinux/splash.svg b/config/bootloaders/isolinux/splash.svg new file mode 100644 index 0000000..8e8b4d7 --- /dev/null +++ b/config/bootloaders/isolinux/splash.svg @@ -0,0 +1,388 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + @PROJECT@ @VERSION@ (@DISTRIBUTION@)@ARCHITECTURE@Build: @YEAR@-@MONTH@-@DAY@ @HOUR@:@MINUTE@:@SECOND@linux: @LINUX_VERSIONS@live-build: @LIVE_BUILD_VERSION@live-boot: @LIVE_BOOT_VERSION@live-config: @LIVE_CONFIG_VERSION@live-tools: @LIVE_TOOLS_VERSION@ + + + + + + + + + + + + + + + + diff --git a/config/bootloaders/isolinux/stdmenu.cfg b/config/bootloaders/isolinux/stdmenu.cfg new file mode 100644 index 0000000..671b16f --- /dev/null +++ b/config/bootloaders/isolinux/stdmenu.cfg @@ -0,0 +1,15 @@ +menu background splash.png +menu color title * #FFFFFFFF * +menu color border * #00000000 #00000000 none +menu color sel * #ffffffff #76a1d0ff * +menu color hotsel 1;7;37;40 #ffffffff #76a1d0ff * +menu color tabmsg * #ffffffff #00000000 * +menu color help 37;40 #ffdddd00 #00000000 none +menu vshift 12 +menu rows 10 +menu helpmsgrow 15 +# The command line must be at least one line from the bottom. +menu cmdlinerow 16 +menu timeoutrow 16 +menu tabmsgrow 18 +menu tabmsg Press ENTER to boot or TAB to edit a menu entry diff --git a/config/bootloaders/isolinux/vesamenu.c32 b/config/bootloaders/isolinux/vesamenu.c32 new file mode 120000 index 0000000..84e2eff --- /dev/null +++ b/config/bootloaders/isolinux/vesamenu.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/vesamenu.c32 \ No newline at end of file diff --git a/config/bootloaders/pxelinux/advanced.cfg b/config/bootloaders/pxelinux/advanced.cfg new file mode 100644 index 0000000..373451a --- /dev/null +++ b/config/bootloaders/pxelinux/advanced.cfg @@ -0,0 +1,7 @@ +label hdt + menu label ^Hardware Detection Tool (HDT) + com32 hdt.c32 + +label memtest + menu label ^Memory Diagnostic Tool (memtest86+) + linux /live/memtest diff --git a/config/bootloaders/pxelinux/hdt.c32 b/config/bootloaders/pxelinux/hdt.c32 new file mode 120000 index 0000000..f84c641 --- /dev/null +++ b/config/bootloaders/pxelinux/hdt.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/hdt.c32 \ No newline at end of file diff --git a/config/bootloaders/pxelinux/install.cfg b/config/bootloaders/pxelinux/install.cfg new file mode 100644 index 0000000..ba09752 --- /dev/null +++ b/config/bootloaders/pxelinux/install.cfg @@ -0,0 +1,11 @@ +label install + menu label ^Install + linux /install/vmlinuz + initrd /install/initrd.gz + append vga=788 @APPEND_INSTALL@ --- quiet + +label installgui + menu label ^Graphical install + linux /install/gtk/vmlinuz + initrd /install/gtk/initrd.gz + append video=vesa:ywrap,mtrr vga=788 @APPEND_INSTALL@ --- quiet diff --git a/config/bootloaders/pxelinux/ldlinux.c32 b/config/bootloaders/pxelinux/ldlinux.c32 new file mode 120000 index 0000000..df554c7 --- /dev/null +++ b/config/bootloaders/pxelinux/ldlinux.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/ldlinux.c32 \ No newline at end of file diff --git a/config/bootloaders/pxelinux/libcom32.c32 b/config/bootloaders/pxelinux/libcom32.c32 new file mode 120000 index 0000000..44ab36b --- /dev/null +++ b/config/bootloaders/pxelinux/libcom32.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/libcom32.c32 \ No newline at end of file diff --git a/config/bootloaders/pxelinux/libgpl.c32 b/config/bootloaders/pxelinux/libgpl.c32 new file mode 120000 index 0000000..81c83fb --- /dev/null +++ b/config/bootloaders/pxelinux/libgpl.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/libgpl.c32 \ No newline at end of file diff --git a/config/bootloaders/pxelinux/libmenu.c32 b/config/bootloaders/pxelinux/libmenu.c32 new file mode 120000 index 0000000..2491ff9 --- /dev/null +++ b/config/bootloaders/pxelinux/libmenu.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/libmenu.c32 \ No newline at end of file diff --git a/config/bootloaders/pxelinux/libutil.c32 b/config/bootloaders/pxelinux/libutil.c32 new file mode 120000 index 0000000..478194e --- /dev/null +++ b/config/bootloaders/pxelinux/libutil.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/libutil.c32 \ No newline at end of file diff --git a/config/bootloaders/pxelinux/live.cfg.in b/config/bootloaders/pxelinux/live.cfg.in new file mode 100644 index 0000000..97ceb92 --- /dev/null +++ b/config/bootloaders/pxelinux/live.cfg.in @@ -0,0 +1,12 @@ +label live-@FLAVOUR@ + menu label ^Live (@FLAVOUR@) + menu default + linux @LINUX@ + initrd @INITRD@ + append @APPEND_LIVE@ + +label live-@FLAVOUR@-failsafe + menu label ^Live (@FLAVOUR@ failsafe) + linux @LINUX@ + initrd @INITRD@ + append @APPEND_LIVE_FAILSAFE@ diff --git a/config/bootloaders/pxelinux/menu.cfg b/config/bootloaders/pxelinux/menu.cfg new file mode 100644 index 0000000..9368260 --- /dev/null +++ b/config/bootloaders/pxelinux/menu.cfg @@ -0,0 +1,17 @@ +menu hshift 0 +menu width 82 + +menu title Boot menu +include stdmenu.cfg +include live.cfg +include install.cfg +menu begin advanced + menu title ^Advanced options + include stdmenu.cfg + label mainmenu + menu label ^Back.. + menu exit + include advanced.cfg +menu end + +menu clear diff --git a/config/bootloaders/pxelinux/pxelinux.0 b/config/bootloaders/pxelinux/pxelinux.0 new file mode 120000 index 0000000..f723d02 --- /dev/null +++ b/config/bootloaders/pxelinux/pxelinux.0 @@ -0,0 +1 @@ +/usr/lib/PXELINUX/pxelinux.0 \ No newline at end of file diff --git a/config/bootloaders/pxelinux/pxelinux.cfg/default b/config/bootloaders/pxelinux/pxelinux.cfg/default new file mode 100644 index 0000000..a3e3eab --- /dev/null +++ b/config/bootloaders/pxelinux/pxelinux.cfg/default @@ -0,0 +1,4 @@ +include menu.cfg +default vesamenu.c32 +prompt 0 +timeout 0 diff --git a/config/bootloaders/pxelinux/splash.svg b/config/bootloaders/pxelinux/splash.svg new file mode 100644 index 0000000..8e8b4d7 --- /dev/null +++ b/config/bootloaders/pxelinux/splash.svg @@ -0,0 +1,388 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + @PROJECT@ @VERSION@ (@DISTRIBUTION@)@ARCHITECTURE@Build: @YEAR@-@MONTH@-@DAY@ @HOUR@:@MINUTE@:@SECOND@linux: @LINUX_VERSIONS@live-build: @LIVE_BUILD_VERSION@live-boot: @LIVE_BOOT_VERSION@live-config: @LIVE_CONFIG_VERSION@live-tools: @LIVE_TOOLS_VERSION@ + + + + + + + + + + + + + + + + diff --git a/config/bootloaders/pxelinux/stdmenu.cfg b/config/bootloaders/pxelinux/stdmenu.cfg new file mode 100644 index 0000000..671b16f --- /dev/null +++ b/config/bootloaders/pxelinux/stdmenu.cfg @@ -0,0 +1,15 @@ +menu background splash.png +menu color title * #FFFFFFFF * +menu color border * #00000000 #00000000 none +menu color sel * #ffffffff #76a1d0ff * +menu color hotsel 1;7;37;40 #ffffffff #76a1d0ff * +menu color tabmsg * #ffffffff #00000000 * +menu color help 37;40 #ffdddd00 #00000000 none +menu vshift 12 +menu rows 10 +menu helpmsgrow 15 +# The command line must be at least one line from the bottom. +menu cmdlinerow 16 +menu timeoutrow 16 +menu tabmsgrow 18 +menu tabmsg Press ENTER to boot or TAB to edit a menu entry diff --git a/config/bootloaders/pxelinux/vesamenu.c32 b/config/bootloaders/pxelinux/vesamenu.c32 new file mode 120000 index 0000000..84e2eff --- /dev/null +++ b/config/bootloaders/pxelinux/vesamenu.c32 @@ -0,0 +1 @@ +/usr/lib/syslinux/modules/bios/vesamenu.c32 \ No newline at end of file