X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=templates%2Fboot%2Fgrub%2Fgrub.cfg;h=da66d68391fc30d4cdc3b6893eb73f9451e58213;hp=0f4d683cdcd89500086f835321be70b78443ee75;hb=7883c5f346dc470bdcae370c68a77de0dc385766;hpb=987dd5d84c04ae6242ff9ee1da71cffcff92e0bb diff --git a/templates/boot/grub/grub.cfg b/templates/boot/grub/grub.cfg index 0f4d683..da66d68 100644 --- a/templates/boot/grub/grub.cfg +++ b/templates/boot/grub/grub.cfg @@ -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 @@ -117,19 +113,25 @@ menuentry "%GRML_NAME% - start X by default" { menuentry "%GRML_NAME% - disable framebuffer" { set gfxpayload=text - linux /boot/%SHORT_NAME%/linux26 apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" quietvideo=ofonly + linux /boot/%SHORT_NAME%/linux26 apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" quiet video=ofonly radeon.modeset=0 i915.modeset=0 nouveau.modeset=0 nomodeset + initrd /boot/%SHORT_NAME%/initrd.gz +} + +menuentry "%GRML_NAME% - disable Kernel Mode-Setting" { + set gfxpayload=1024x768 + linux /boot/%SHORT_NAME%/linux26 apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" quiet radeon.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 + linux /boot/%SHORT_NAME%/linux26 apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" readonly quiet nofstab noraid nodmraid nolvm noautoconfig noswap raid=noautodetect initrd /boot/%SHORT_NAME%/initrd.gz } menuentry "%GRML_NAME% - failsafe mode" { set gfxpayload=text - linux /boot/%SHORT_NAME%/linux26 apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" quiet 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 + linux /boot/%SHORT_NAME%/linux26 apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" quiet 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 nodmraid nolvm noresume selinux=0 edd=off initrd /boot/%SHORT_NAME%/initrd.gz }