X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=templates%2Fboot%2Fgrub%2F%25SHORT_NAME%25_options.cfg;fp=templates%2Fboot%2Fgrub%2F%25SHORT_NAME%25_options.cfg;h=db1d24f7ee82e1c00d6f2ad14e2cc262faeb6ba5;hb=a9f099a853e5c4c02cdb031ed43c9633a69b6c08;hp=0000000000000000000000000000000000000000;hpb=6d72f5e0c3eb705b3c6479a22377c0b4b7f498d0;p=grml-live.git diff --git a/templates/boot/grub/%SHORT_NAME%_options.cfg b/templates/boot/grub/%SHORT_NAME%_options.cfg new file mode 100644 index 0000000..db1d24f --- /dev/null +++ b/templates/boot/grub/%SHORT_NAME%_options.cfg @@ -0,0 +1,55 @@ +submenu "%GRML_NAME% - advanced options ->" --class=submenu { +menuentry "%GRML_NAME% - enable persistent mode" { + set gfxpayload=keep + linux /boot/%SHORT_NAME%/vmlinuz apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" persistent=nofiles + initrd /boot/%SHORT_NAME%/initrd.img +} + +menuentry "%GRML_NAME% - copy Grml to RAM" { + set gfxpayload=keep + linux /boot/%SHORT_NAME%/vmlinuz apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" toram=%GRML_NAME%.squashfs + initrd /boot/%SHORT_NAME%/initrd.img +} + +menuentry "%GRML_NAME% - copy whole medium to RAM" { + set gfxpayload=keep + linux /boot/%SHORT_NAME%/vmlinuz apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" toram + initrd /boot/%SHORT_NAME%/initrd.img +} + +menuentry "%GRML_NAME% - start X by default" { + set gfxpayload=keep + linux /boot/%SHORT_NAME%/vmlinuz apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" startx + initrd /boot/%SHORT_NAME%/initrd.img +} + +menuentry "%GRML_NAME% - disable framebuffer" { + set gfxpayload=text + linux /boot/%SHORT_NAME%/vmlinuz apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" video=ofonly radeon.modeset=0 i915.modeset=0 nouveau.modeset=0 nomodeset + initrd /boot/%SHORT_NAME%/initrd.img +} + +menuentry "%GRML_NAME% - disable Kernel Mode-Setting" { + set gfxpayload=keep + linux /boot/%SHORT_NAME%/vmlinuz apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" radeon.modeset=0 i915.modeset=0 nouveau.modeset=0 nomodeset + initrd /boot/%SHORT_NAME%/initrd.img +} + +menuentry "%GRML_NAME% - forensic mode" { + set gfxpayload=keep + linux /boot/%SHORT_NAME%/vmlinuz apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" readonly nofstab noraid nodmraid nolvm noautoconfig noswap raid=noautodetect + initrd /boot/%SHORT_NAME%/initrd.img +} + +menuentry "%GRML_NAME% - debug mode" { + set gfxpayload=keep + linux /boot/%SHORT_NAME%/vmlinuz apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" initcall verbose debug=vc + initrd /boot/%SHORT_NAME%/initrd.img +} + +menuentry "%GRML_NAME% - serial mode" { + set gfxpayload=text + linux /boot/%SHORT_NAME%/vmlinuz apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" video=vesafb:off console=tty1 console=ttyS0,9600n8 + initrd /boot/%SHORT_NAME%/initrd.img +} +}