Add boot option pnet (Predictable Network Interface Names)
[grml-live.git] / templates / boot / isolinux / grml.cfg
index e325b4f..95dbc79 100644 (file)
 ## 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 boot=live nomce
 
-  text help
-                                        Grml is a Debian based Linux live
-                                        system for system administrators
-                                        and users of text tools.
+label debug
+  menu label %GRML_NAME% - ^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 
 
-                                                         http://grml.org/
+  text help
+                                        Boot Grml in debug mode, which
+                                        activates debug shells during
+                                        bootup sequence.
   endtext
 
-label failsafe
-  menu label Grml ^Failsafe Mode
-  kernel /boot/%GRML_NAME%/linux26
-  append initrd=/boot/%GRML_NAME%/initrd.gz vga=normal 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
+label pnet
+  menu label %GRML_NAME% - 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 boot=live
+label nofb
+  menu label %GRML_NAME% - 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 
 
   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 without framebuffer.
   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 boot=live nomce toram=grml.squashfs
+label nokms
+  menu label %GRML_NAME% - Disable ^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 
 
   text help
-                                        Load Grml into the memory (RAM).
-                                        This allows you to remove the Grml
-                                        media after Grml finished booting.
-
-                                        Note: you should have enough RAM
-                                        (>= size of ISO * 1.2) to be able
-                                        to use this option.
+                                        Boot Grml without KMS (Kernel
+                                        Mode Setting).
   endtext
 
-menu separator
+label ssh
+  menu label %GRML_NAME% - 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 
 
-label help
-  menu label Furt^her boot options...
-  config /boot/isolinux/prompt.cfg
   text help
-                                        Further information regarding
-                                        available boot options.
+                                        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
 
-# 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 grml2hd
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce
-
-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 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
+label forensic
+  menu label %GRML_NAME% - 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 nodmraid nolvm noautoconfig noswap raid=noautodetect read-only 
 
-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
+  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 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
+label lang-de
+  menu label %GRML_NAME% - ^German Settings
+  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 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
+  text help
+                                        Boot Grml with german settings.
+  endtext
 
-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
+label %GRML_NAME%x
+  menu label %GRML_NAME% - 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 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
+  text help
+                                        Boot Grml and automatically invoke
+                                        grml-x to start X Window System.
+  endtext
 
-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
+label grml2ram
+  menu label %GRML_NAME% - Load 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% 
 
-label memtest
-menu hide
-kernel /boot/addons/memtest
-append BOOT_IMAGE=memtest
+  text help
+                                        Load Grml into the memory (RAM).
+                                        This allows you to remove the Grml
+                                        media after Grml finished booting.
 
-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
+                                        Note: you should have enough RAM
+                                        (>= size of ISO * 1.2) to be able
+                                        to use this option.
+  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 persistence
+  menu label %GRML_NAME% - ^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 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 and enable persistency
+                                        feature to store system and
+                                        settings on an external device
+                                        with label persistence.
+  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
+  menu label %GRML_NAME% - 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,9600n8 
 
-label hd
-menu hide
-localboot 0x80
-
-label hd1
-menu hide
-localboot 0x81
-
-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