Provide nokms bootoption and according menues in the graphical bootmenu to disable...
authorMichael Prokop <mika@grml.org>
Wed, 1 Dec 2010 22:50:30 +0000 (23:50 +0100)
committerMichael Prokop <mika@grml.org>
Wed, 1 Dec 2010 23:05:09 +0000 (00:05 +0100)
templates/boot/grub/grub.cfg
templates/boot/isolinux/grml.cfg
templates/boot/isolinux/hidden.cfg

index da9c6b4..5e99e37 100644 (file)
@@ -117,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 
index edd2511..286d708 100644 (file)
@@ -22,6 +22,16 @@ label nofb
                                         Boot Grml without framebuffer.
   endtext
 
+label nokms
+  menu label %GRML_NAME% - Disable ^Kernel Mode-Setting
+  kernel /boot/%SHORT_NAME%/linux26
+  append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% apm=power-off radeon.modeset=0 i915.modeset=0 nouveau.modeset=0 nomodeset quiet nomce 
+
+  text help
+                                        Boot Grml without KMS (Kernel
+                                        Mode Setting).
+  endtext
+
 label ssh
   menu label %GRML_NAME% - Enable ^SSH (with random password)
   kernel /boot/%SHORT_NAME%/linux26
index e00b45d..139f69a 100644 (file)
@@ -33,6 +33,11 @@ menu hide
 kernel /boot/%SHORT_NAME%/linux26
 append apm=power-off vga=normal video=ofonly quiet initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% nomce 
 
+label nokms
+menu hide
+kernel /boot/%SHORT_NAME%/linux26
+append apm=power-off initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% radeon.modeset=0 i915.modeset=0 nouveau.modeset=0 nomodeset quiet nomce 
+
 label linux26
 menu hide
 kernel /boot/%SHORT_NAME%/linux26