From 54ed64c234583e5ee552f53811f0f74b0b183181 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 23 Feb 2010 13:34:09 +0100 Subject: [PATCH] Simplify syslinux.cfg, update failsafe bootoption, add GPXE to grub.cfg --- templates/boot/grub/grub.cfg | 4 + templates/boot/isolinux/grml.cfg | 3 +- templates/boot/isolinux/syslinux.cfg | 156 +---------------------------------- 3 files changed, 6 insertions(+), 157 deletions(-) diff --git a/templates/boot/grub/grub.cfg b/templates/boot/grub/grub.cfg index a245fa7..24d7e2b 100644 --- a/templates/boot/grub/grub.cfg +++ b/templates/boot/grub/grub.cfg @@ -27,6 +27,10 @@ menuentry "Memory test (memtest86+)" { linux16 /boot/addons/memtest } +menuentry "GPXE - boot via network/PXE" { + linux16 /boot/addons/gpxe.lkrn +} + menuentry "Grub - all in one image" { linux /boot/addons/memdisk initrd /boot/addons/allinone.img diff --git a/templates/boot/isolinux/grml.cfg b/templates/boot/isolinux/grml.cfg index c63dd0a..9aadb06 100644 --- a/templates/boot/isolinux/grml.cfg +++ b/templates/boot/isolinux/grml.cfg @@ -39,8 +39,7 @@ label lang-de label failsafe menu label %GRML_NAME% - ^Failsafe Mode kernel /boot/%SHORT_NAME%/linux26 - append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% bootfrom=removable vga=normal noautoconfig atapicd noapic noacpi acpi=off nomodules nofirewire noudev nousb nohotplug noapm nopcmcia nosmp maxcpus=0 noscsi noagp nodma ide=nodma noswap nofstab nosound nogpm nosyslog nodhcp nocpu nodisc nomodem xmodule=vesa noraid nolvm noresume selinux=0 edd=off pci=nomsi - + append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% logo.nologo=1 distri=grml-forensic bootfrom=removable readonly apm=power-off nomce vga=normal noautoconfig noapic noacpi acpi=off noudev noapm agp=off nosmp maxcpus=0 libata.dma=0 nofstab nomodules nosound nogpm nosyslog nocpu nodisc nomodem xmodule=vesa noresume selinux=0 edd=off pci=nomsi noraid nolvm noswap raid=noautodetect nodhcp text help Boot Grml in failsafe mode, which disables any hardware recognition diff --git a/templates/boot/isolinux/syslinux.cfg b/templates/boot/isolinux/syslinux.cfg index 319604f..290ce42 100644 --- a/templates/boot/isolinux/syslinux.cfg +++ b/templates/boot/isolinux/syslinux.cfg @@ -1,156 +1,2 @@ -# use this to control the bootup via a serial port -# SERIAL 0 9600 -DEFAULT grml -# DEFAULT menu.c32 TIMEOUT 300 -# ONTIMEOUT chain.32 hd0 0 -PROMPT 1 -DISPLAY boot.msg -F1 boot.msg -F2 f2 -F3 f3 -F4 f4 -F5 f5 -F6 f6 -F7 f7 -F8 f8 -F9 f9 -F10 f10 - -# LABEL menu -# MENU HIDE -# KERNEL menu.c32 - -MENU TITLE grml - Boot Menu - -# the default: -LABEL grml -MENU LABEL grml - Standard Bootup -MENU DEFAULT -KERNEL linux26 -APPEND apm=power-off vga=791 quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce - -LABEL grml2ram -MENU LABEL grml2ram - Copy Squashfs file to RAM -KERNEL linux26 -APPEND apm=power-off toram=%SQUASHFS_NAME% vga=791 quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce - -LABEL splash -MENU LABEL grml - Bootsplash -KERNEL linux26 -APPEND apm=power-off vga=791 quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable splash nomce - -LABEL grml2hd -MENU LABEL grml2hd -KERNEL linux26 -APPEND apm=power-off quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce - -LABEL debian2hd -MENU LABEL debian2hd -KERNEL linux26 -APPEND apm=power-off vga=791 initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable BOOT_IMAGE=debian2hd nomce - -LABEL debug -MENU LABEL debug -KERNEL linux26 -APPEND apm=power-off vga=791 verbose debug=vc debug initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable initcall_debug nomce - -LABEL bootchart -MENU LABEL bootchart -KERNEL linux26 -APPEND init=/sbin/bootchartd apm=power-off vga=791 quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce - -LABEL vmware -MENU LABEL vmware -KERNEL linux26 -APPEND apm=power-off nousb nousb2 nofirewire vga=791 quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce - -LABEL qemu -MENU LABEL qemu -KERNEL linux26 -APPEND apm=power-off nousb nousb2 nofirewire vga=791 quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce qemu - -LABEL grmlx -MENU LABEL grmlx -KERNEL linux26 -APPEND apm=power-off startx=wm-ng vga=791 quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce - -LABEL nofb -MENU LABEL grml without framebuffer -KERNEL linux26 -APPEND apm=power-off vga=normal video=ofonly quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce - -LABEL linux26 -MENU LABEL linux26 -KERNEL linux26 -APPEND apm=power-off vga=791 quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce - -LABEL memtest -MENU LABEL memtest -KERNEL /boot/addons/memtest -APPEND BOOT_IMAGE=memtest - -LABEL fb1280x1024 -MENU LABEL fb1280x1024 -KERNEL linux26 -APPEND apm=power-off vga=794 quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce - -LABEL fb1024x768 -MENU LABEL fb1024x768 -KERNEL linux26 -APPEND apm=power-off vga=791 quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce - -LABEL fb800x600 -MENU LABEL fb800x600 -KERNEL linux26 -APPEND apm=power-off vga=788 quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce - -LABEL failsafe -MENU LABEL failsafe -KERNEL linux26 -APPEND initrd=initrd.gz vga=normal boot=live bootid=%BOOTID% bootfrom=removable noautoconfig atapicd noapic noacpi acpi=off nomodules nofirewire noudev nousb nohotplug noapm nopcmcia nosmp maxcpus=0 noscsi noagp nodma ide=nodma noswap nofstab nosound nogpm nosyslog nodhcp nocpu nodisc nomodem xmodule=vesa noraid nolvm noresume selinux=0 edd=off - -LABEL forensic -MENU LABEL forensic -KERNEL linux26 -APPEND vga=791 forensic nofstab noraid nolvm noautoconfig noswap raid=noautodetect quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable - -LABEL grub2 -MENU LABEL GRUB2 -KERNEL /boot/addons/bsd4grml/ldbsd.com -APPEND echo Loading GRUB...`machine exec grub /boot/grub/core.img - -LABEL grub1 -MENU LABEL GRUB1 -KERNEL /boot/addons/bsd4grml/ldbsd.com -APPEND echo Loading GRUB...`machine exec grub /boot/grub/%GRUB_LEGACY% - -LABEL allinone -MENU LABEL All-in-One-Image -KERNEL /boot/addons/memdisk -APPEND initrd=/boot/addons/allinone.img - -LABEL dos -MENU LABEL dos -KERNEL /boot/addons/memdisk -APPEND initrd=/boot/addons/balder10.imz - -LABEL bsd -MENU LABEL MirOS bsd4grml -KERNEL /boot/addons/bsd4grml/ldbsd.com - -LABEL hdt -MENU LABEL hdt -KERNEL /boot/addons/hdt.c32 -APPEND pciids=/boot/addons/pci.ids - -LABEL serial -MENU LABEL serial -KERNEL linux26 -APPEND apm=power-off vga=normal video=vesafb:off quiet initrd=initrd.gz boot=live bootid=%BOOTID% bootfrom=removable nomce noquick console=tty1 console=ttyS0,9600n8 - -LABEL userdef -MENU LABEL User defined -MENU HIDE -KERNEL linux26 -APPEND ############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################### +include vesamenu.cfg -- 2.1.4