X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=templates%2Fboot%2Fgrub%2Fgrub.cfg;h=6322d6c7b2a4528127eee8c967b6b5711954dbb1;hp=d040156a49a494852406048342195790f0c353b4;hb=d3176d7b9f7565a9c864be3a569629abecd84eb7;hpb=58a29c5b64acb0a39d08bdb854dd23b090d1a418 diff --git a/templates/boot/grub/grub.cfg b/templates/boot/grub/grub.cfg index d040156..6322d6c 100644 --- a/templates/boot/grub/grub.cfg +++ b/templates/boot/grub/grub.cfg @@ -11,19 +11,15 @@ if loadfont /boot/grub/ascii.pf2 ; then fi if background_image /boot/grub/grml.png ; then - set color_normal=black/black + set color_normal=white/black set color_highlight=red/black - set menu_color_normal=black/black + set menu_color_normal=white/black set menu_color_highlight=black/yellow else set menu_color_normal=white/black 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 @@ -38,18 +34,18 @@ menuentry "Memory test (memtest86+)" { linux16 /boot/addons/memtest } -menuentry "GPXE - boot via network/PXE" { - linux16 /boot/addons/gpxe.lkrn +menuentry "iPXE - boot via network/PXE" { + linux16 /boot/addons/ipxe.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 @@ -81,7 +77,6 @@ else module /boot/addons/bsd4grml/boot.5 boot.5 module /boot/addons/bsd4grml/boot.6 boot.6 module /boot/addons/bsd4grml/boot.cfg boot.cfg - module /boot/grub/%GRUB_LEGACY% %GRUB_LEGACY% module /boot/grub/core.img core.img } fi @@ -93,7 +88,7 @@ menuentry "Boot OS of first partition on first disk" { menuentry "%GRML_NAME% - enable persistent mode" { set gfxpayload=1024x768x16,1024x768 - linux /boot/%SHORT_NAME%/linux26 apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" quiet persistent + linux /boot/%SHORT_NAME%/linux26 apm=power-off boot=live bootid=%BOOTID% nomce "${loopback}" "${kernelopts}" quiet persistent=nofiles initrd /boot/%SHORT_NAME%/initrd.gz } @@ -117,19 +112,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 }