Add persistency feature to boot menu.
[grml-live.git] / templates / boot / isolinux / grml.cfg
index 1126f73..af95f47 100644 (file)
@@ -1,26 +1,46 @@
 ## labels
 
 # generic ones
 ## 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 lang=de
+
+label debug
+  menu label %GRML_NAME% - ^Debug Mode
+  kernel /boot/%SHORT_NAME%/linux26
+  append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% bootfrom=removable apm=power-off vga=791 verbose debug=vc initcall nomce 
 
   text help
 
   text help
-                                        Grml is a Debian based Linux live
-                                        system for system administrators
-                                        and users of text tools.
+                                        Boot Grml in debug mode, which
+                                        activates debug shells during
+                                        bootup sequence.
+  endtext
+
+label nofb
+  menu label %GRML_NAME% - Dis^able Framebuffer
+  kernel /boot/%SHORT_NAME%/linux26
+  append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% bootfrom=removable apm=power-off vga=normal quiet nomce 
 
 
-                                                         http://grml.org/
+  text help
+                                        Boot Grml without framebuffer.
   endtext
 
   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 lang=de
+label ssh
+  menu label %GRML_NAME% - Enable ^SSH (with random password)
+  kernel /boot/%SHORT_NAME%/linux26
+  append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% bootfrom=removable apm=power-off vga=791 quiet nomce ssh
 
   text help
 
   text help
+                                        Boot Grml and automatically start
+                                        SSH Server. The password for user
+                                        'grml' 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 failsafe
+  menu label %GRML_NAME% - ^Failsafe Mode
+  kernel /boot/%SHORT_NAME%/linux26
+  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
                                         that might prevent your system from
                                         Boot Grml in failsafe mode, which
                                         disables any hardware recognition
                                         that might prevent your system from
@@ -29,21 +49,41 @@ label failsafe
   endtext
 
 label forensic
   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 lang=de
+  menu label %GRML_NAME% - F^orensic Mode
+  kernel /boot/%SHORT_NAME%/linux26
+  append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% bootfrom=removable apm=power-off nomce vga=791 forensic nofstab noraid nolvm noautoconfig noswap raid=noautodetect readonly quiet 
+
+  text help
+                                        Boot Grml in forensic mode. This
+                                        mode prevents touching any harddisks
+                                        during hardware recognition and
+                                        forces all blockdevices to readonly
+                                        mode.
+  endtext
+
+label lang-de
+  menu label %GRML_NAME% - ^German Settings
+  kernel /boot/%SHORT_NAME%/linux26
+  append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% bootfrom=removable apm=power-off vga=791 quiet nomce lang=de 
 
   text help
 
   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 with german settings.
+  endtext
+
+label %GRML_NAME%x
+  menu label %GRML_NAME% - Graphical ^Mode
+  kernel /boot/%SHORT_NAME%/linux26
+  append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% bootfrom=removable apm=power-off quiet nomce startx=wm-ng 
+
+  text help
+                                        Boot Grml and automatically invoke
+                                        grml-x to start X Window System.
   endtext
 
 label grml2ram
   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
+  menu label %GRML_NAME% - Load to ^RAM
+  kernel /boot/%SHORT_NAME%/linux26
+  append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% bootfrom=removable apm=power-off vga=791 quiet nomce toram=%SQUASHFS_NAME% 
 
   text help
                                         Load Grml into the memory (RAM).
 
   text help
                                         Load Grml into the memory (RAM).
@@ -55,133 +95,39 @@ label grml2ram
                                         to use this option.
   endtext
 
                                         to use this option.
   endtext
 
-menu separator
+label persistent
+  menu label %GRML_NAME% - ^Persistent mode
+  kernel /boot/%SHORT_NAME%/linux26
+  append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% bootfrom=removable apm=power-off vga=791 quiet nomce persistent 
 
 
-label help
-  menu label Furt^her boot options...
-  config /boot/isolinux/prompt.cfg
   text help
   text help
-                                        Further information regarding
-                                        available boot options.
+                                       Boot Grml and enable persistency
+                                       feature to store system and
+                                       settings on an external device
+                                       with label live-rw / home-rw.
   endtext
 
   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 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 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 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 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 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
-
-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 memtest
-menu hide
-kernel /boot/addons/memtest
-append BOOT_IMAGE=memtest
-
-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
-
-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 fb800x600
-menu hide
-kernel /boot/%GRML_NAME%/linux26
-append apm=power-off vga=788 quiet initrd=/boot/%GRML_NAME%/initrd.gz boot=live nomce
-
 label serial
 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%/linux26
+  append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% bootfrom=removable apm=power-off vga=normal video=vesafb:off quiet nomce noquick 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 mgetty.
+  endtext
 
 
-label floppy
+# back to main menu
+label exit
 menu hide
 menu hide
-localboot 0x0
+kernel isolinux.bin
 
 
-label next
+label back
 menu hide
 menu hide
-localboot -1
+kernel isolinux.bin
 
 
-label menu
+label quit
 menu hide
 menu hide
-config /boot/isolinux/vesamenu.cfg
+kernel isolinux.bin
 
 
+menu end