Provide nokms bootoption and according menues in the graphical bootmenu to disable...
[grml-live.git] / templates / boot / grub / grub.cfg
index d040156..5e99e37 100644 (file)
@@ -20,10 +20,6 @@ else
   set menu_color_highlight=black/yellow
 fi
 
-# make sure we can access partitions
-insmod part_msdos
-insmod part_gpt
-
 if [ ${iso_path} ] ; then
     set loopback="findiso=${iso_path}"
 fi
@@ -42,14 +38,14 @@ 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
+menuentry "GRUB - all in one image" {
+    linux16  /boot/addons/memdisk
+    initrd16 /boot/addons/allinone.img
 }
 
 menuentry "FreeDOS" {
-    linux   /boot/addons/memdisk
-    initrd  /boot/addons/balder10.imz
+    linux16  /boot/addons/memdisk
+    initrd16 /boot/addons/balder10.imz
 }
 
 if [ ${iso_path} ] ; then
@@ -121,6 +117,12 @@ menuentry "%GRML_NAME% - disable framebuffer" {
     initrd /boot/%SHORT_NAME%/initrd.gz
 }
 
+menuentry "%GRML_NAME% - disable Kernel Mode-Setting" {
+    set gfxpayload=text
+    linux  /boot/%SHORT_NAME%/linux26 apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" quietradeon.modeset=0 i915.modeset=0 nouveau.modeset=0 nomodeset
+    initrd /boot/%SHORT_NAME%/initrd.gz
+}
+
 menuentry "%GRML_NAME% - forensic mode" {
     set gfxpayload=1024x768
     linux /boot/%SHORT_NAME%/linux26 apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" readonly quiet nofstab noraid nolvm noautoconfig noswap raid=noautodetect