Merge remote-tracking branch 'origin/github/pr/148'
[grml-live.git] / templates / boot / isolinux / grml.cfg
index 9fe5e9e..b940f01 100644 (file)
@@ -1,52 +1,39 @@
 ## labels
 
 # generic ones
-label grml
-  menu DEFAULT
-  menu label Grml ^Default Mode (%GRML_LONG_NAME% %VERSION%, %ARCH%)
-  kernel /boot/%GRML_NAME%/linux26
-  append apm=power-off vga=791 quiet initrd=/boot/%GRML_NAME%/initrd.gz live-media-path=/live/grml/ boot=live nomce lang=de
 
-  text help
-                                        Grml is a Debian based Linux live
-                                        system for system administrators
-                                        and users of text tools.
-
-                                                         http://grml.org/
-  endtext
-
-label failsafe
-  menu label Grml ^Failsafe Mode
-  kernel /boot/%GRML_NAME%/linux26
-  append initrd=/boot/%GRML_NAME%/initrd.gz vga=normal live-media-path=/live/grml/ boot=live 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 lang=de
+label pnet
+  menu label Enable Predictable ^Network Interface Names
+  kernel /boot/%SHORT_NAME%/vmlinuz
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off vga=791 nomce 
 
   text help
-                                        Boot Grml in failsafe mode, which
-                                        disables any hardware recognition
-                                        that might prevent your system from
-                                        booting. If Grml does not boot in
-                                        default mode try using this option.
+                                        Boot Grml with Predictable Network
+                                        Interface Names.
   endtext
 
-label forensic
-  menu label Grml F^orensic Mode
-  kernel /boot/%GRML_NAME%/linux26
-  append initrd=/boot/%GRML_NAME%/initrd.gz vga=791 forensic nofstab noraid nolvm noautoconfig noswap raid=noautodetect readonly quiet live-media-path=/live/grml/ boot=live lang=de
+label ssh
+  menu label Enable ^SSH (with random password)
+  kernel /boot/%SHORT_NAME%/vmlinuz
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off vga=791 nomce net.ifnames=0 ssh 
 
   text help
-                                        Boot Grml in forensic mode. This mode
-                                        prevents touching any harddisks during
-                                        hardware recognition and forces all
-                                        blockdevices to readonly mode.
+                                        Boot Grml and automatically start
+                                        SSH Server. The password for user
+                                        'grml' and 'root' will be set to
+                                        a random password, unless you add
+                                        an option to the ssh argument in
+                                        the command line (for example:
+                                        ssh=secret).
   endtext
 
 label grml2ram
-  menu label Grml to ^RAM
-  kernel /boot/%GRML_NAME%/linux26
-  append apm=power-off vga=791 quiet initrd=/boot/%GRML_NAME%/initrd.gz live-media-path=/live/grml/ boot=live nomce toram=grml.squashfs
+  menu label Load Grml to ^RAM
+  kernel /boot/%SHORT_NAME%/vmlinuz
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off vga=791 nomce net.ifnames=0 toram=%SQUASHFS_NAME% 
 
   text help
-                                        Load Grml into the memory (RAM).
+                                        Load Grml into RAM.
                                         This allows you to remove the Grml
                                         media after Grml finished booting.
 
@@ -55,133 +42,118 @@ label grml2ram
                                         to use this option.
   endtext
 
-menu separator
+label grmlmedium2ram
+  menu label Load ^whole medium to RAM
+  kernel /boot/%SHORT_NAME%/vmlinuz
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off vga=791 nomce net.ifnames=0 toram 
 
-label help
-  menu label Furt^her boot options...
-  config /boot/isolinux/prompt.cfg
   text help
-                                        Further information regarding
-                                        available boot options.
+                                        Load whole medium into RAM.
+                                        This allows you to remove the Grml
+                                        media after Grml has finished booting,
+                                        and also to access the rest of the
+                                        media.
+
+                                        Note: you should have enough RAM
+                                        (>= size of ISO * 1.2) to be able
+                                        to use this option.
   endtext
 
-# entries *without* a visible entry in the graphical bootsplash
-label splash
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off vga=791 quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live splash nomce
+label forensic
+  menu label F^orensic Mode
+  kernel /boot/%SHORT_NAME%/vmlinuz
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off nomce net.ifnames=0 vga=791 nofstab noraid nolvm noautoconfig noswap raid=noautodetect read-only 
 
-label grml2hd
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce
+  text help
+                                        Boot Grml in forensic mode. This
+                                        mode prevents touching any harddisks
+                                        during hardware recognition and
+                                        forces all blockdevices to read-only
+                                        mode.
+  endtext
 
-label debian2hd
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off vga=791 initrd=/boot/%GRML_NAME%/initrd.gz boot=live BOOT_IMAGE=debian2hd nomce
+label persistence
+  menu label ^Persistency mode
+  kernel /boot/%SHORT_NAME%/vmlinuz
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off vga=791 nomce net.ifnames=0 persistence 
 
-label debug
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off vga=791 verbose debug=vc debug initrd=/boot/%GRML_NAME%/initrd.gz boot=live initcall_debug nomce
+  text help
+                                        Boot Grml and enable persistency
+                                        feature to store system and
+                                        settings on an external device
+                                        with label persistence.
+  endtext
 
-label bootchart
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append init=/sbin/bootchartd apm=power-off vga=791 quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce
+label lang-de
+  menu label Load ^German Keyboard Layout
+  kernel /boot/%SHORT_NAME%/vmlinuz
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off vga=791 nomce net.ifnames=0 lang=de 
 
-label vmware
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off nousb nousb2 nofirewire vga=791 quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce
+  text help
+                                        Boot Grml with German keyboard layout.
+  endtext
 
-label qemu
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off nousb nousb2 nofirewire vga=791 quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce qemu
+label %GRML_NAME%x
+  menu label Graphical ^Mode
+  kernel /boot/%SHORT_NAME%/vmlinuz
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off vga=791 nomce net.ifnames=0 startx 
 
-label grmlx
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off startx=wm-ng vga=791 quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce
+  text help
+                                        Boot Grml and automatically invoke
+                                        grml-x to start X Window System.
+  endtext
 
 label nofb
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off vga=normal video=ofonly quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce
+  menu label Dis^able Framebuffer
+  kernel /boot/%SHORT_NAME%/vmlinuz
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off vga=normal radeon.modeset=0 i915.modeset=0 nouveau.modeset=0 cirrus.modeset=0 mgag200.modeset=0 nomodeset nomce net.ifnames=0 
 
-label linux26
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off vga=791 quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce
+  text help
+                                        Boot Grml without framebuffer.
+  endtext
 
-label memtest
-menu hide
-kernel /boot/addons/memtest
-append BOOT_IMAGE=memtest
+label nokms
+  menu label Disable Video ^Kernel Mode Setting
+  kernel /boot/%SHORT_NAME%/vmlinuz
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off radeon.modeset=0 i915.modeset=0 nouveau.modeset=0 cirrus.modeset=0 mgag200.modeset=0 nomodeset nomce net.ifnames=0 vga=791 
 
-label fb1280x1024
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off vga=794 quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce
+  text help
+                                        Boot Grml without Kernel Mode Setting
+                                        for various video drivers.
+  endtext
 
-label fb1024x768
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off vga=791 quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce
+label debug
+  menu label ^Debug Mode
+  kernel /boot/%SHORT_NAME%/vmlinuz
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off vga=791 verbose debug=vc initcall nomce net.ifnames=0 systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M
 
-label fb800x600
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off vga=788 quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce
+  text help
+                                        Boot Grml in debug mode, which
+                                        activates debug shells during
+                                        bootup sequence.
+  endtext
 
 label serial
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off vga=normal video=vesafb:off quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce console=tty1 console=ttyS0,9600n8
-
-label userdef
-menu hide
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append ###############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
-
-label hda
-menu hide
-kernel /boot/addons/chain.c32
-append hd0 0
-
-label fd0
-menu hide
-kernel /boot/addons/chain.c32
-append fd0
-
-label hd
-menu hide
-localboot 0x80
-
-label hd1
-menu hide
-localboot 0x81
+  menu label Serial ^Console
+  kernel /boot/%SHORT_NAME%/vmlinuz
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off vga=normal video=vesafb:off nomce net.ifnames=0 console=tty1 console=ttyS0,115200n8 
 
-label hd2
-menu hide
-localboot 0x82
 
-label hd3
-menu hide
-localboot 0x83
+  text help
+                                        Activate ttyS0 and start a getty.
+  endtext
 
-label floppy
+# back to main menu
+label exit
 menu hide
-localboot 0x0
+kernel isolinux.bin
 
-label next
+label back
 menu hide
-localboot -1
+kernel isolinux.bin
 
-label menu
+label quit
 menu hide
-config /boot/isolinux/vesamenu.cfg
+kernel isolinux.bin
 
+menu end