set menu_color_normal=white/black set menu_color_highlight=black/light-gray set default=3 # variable $root is set with grub2-mkimage -c embed[_efi].cfg: # search.fs_label SPB2 root # required, else unreadable tiny font in gfxterm; uses builtin module font loadfont ($root)/grub/fonts/unicode.pf2 #efi: uses modules efi_gop, efi_uga, gfxterm (all builtin using grub2-mkimage); blind boot without gfxterm #bios: uses modules vbe, gfxterm (all builtin using grub2-mkimage) with "vga=788" (800x600 16bit if [ x$grub_platform = xefi ]; then set gfxmode=auto set gfxpayload=keep boottype=efi else set gfxmode=800x600x16 set gfxpayload=keep boottype=bios fi terminal_output gfxterm set root1=sda1 set root2=sdb1 set root3=sdc1 set xorg1=vboxvideo set xorg2=vesa set xorg3=intel menuentry "spb32v ($root1, xorg=$xorg1; $boottype; partition SPB2 on ($root); $gfxmode)" { # set root=(hd0,gpt1) linux ($root)/spblinux/kernel root=/dev/$root1 spbrootsize=8 spbaddonsize=64 spbconf=cfgdev3,x:freq=60,x:conf=$xorg1 reboot=warm panic=30 vga=788 console=tty1 quiet initrd ($root)/spblinux/ramdisk } menuentry "spb32v ($root2, xorg=$xorg2; $boottype; partition SPB2 on ($root); $gfxmode)" { linux ($root)/spblinux/kernel root=/dev/$root2 spbrootsize=8 spbaddonsize=64 spbconf=cfgdev3,x:freq=60,x:conf=$xorg2 reboot=warm panic=30 vga=788 console=tty1 quiet initrd ($root)/spblinux/ramdisk } menuentry "spb32v ($root3, xorg=$xorg3; $boottype; partition SPB2 on ($root); $gfxmode)" { linux ($root)/spblinux/kernel root=/dev/$root3 spbrootsize=8 spbaddonsize=64 spbconf=cfgdev3,x:freq=60,x:conf=$xorg3 reboot=warm panic=30 vga=788 console=tty1 quiet initrd ($root)/spblinux/ramdisk } menuentry "spb64v ($root1, xorg=$xorg1; $boottype; partition SPB2 on ($root); $gfxmode)" { linux ($root)/spblinux.64/kernel.64 initrd=/spblinux.64/ramdisk.64 root=/dev/$root1 spbrootsize=8 spbaddonsize=64 spbconf=cfgdev3,x:freq=60,x:conf=$xorg1 reboot=warm panic=30 vga=788 console=tty1 quiet initrd ($root)/spblinux.64/ramdisk.64 } menuentry "spb64v ($root2, xorg=$xorg2; $boottype; partition SPB2 on ($root); $gfxmode)" { linux ($root)/spblinux.64/kernel.64 initrd=/spblinux.64/ramdisk.64 root=/dev/$root2 spbrootsize=8 spbaddonsize=64 spbconf=cfgdev3,x:freq=60,x:conf=$xorg2 reboot=warm panic=30 vga=788 console=tty1 quiet initrd ($root)/spblinux.64/ramdisk.64 } menuentry "spb64v ($root3, xorg=$xorg3; $boottype; partition SPB2 on ($root); $gfxmode)" { linux ($root)/spblinux.64/kernel.64 initrd=/spblinux.64/ramdisk.64 root=/dev/$root3 spbrootsize=8 spbaddonsize=64 spbconf=cfgdev3,x:freq=60,x:conf=$xorg3 reboot=warm panic=30 vga=788 console=tty1 quiet initrd ($root)/spblinux.64/ramdisk.64 } menuentry "Desinfec't 2013 starten (grub)" { linux ($root)/casper/vmlinuz file=/casper/ubuntu.seed boot=casper bootfrom=/dev/sda1 persistent quiet splash memtest=4 -- debian-installer/language=de console-setup/layoutcode?=de initrd ($root)/casper/initrd.lz } menuentry "spb32v fastboot2 ($root1, xorg=$xorg1; $boottype; partition SPB2 on ($root); $gfxmode)" { linux ($root)/spblinux/kernel root=/dev/$root1 ramdisk_size=250000000 spbrd=2 initsqf=2 spbrootsize=8 spbaddonsize=64 spbconf=cfgdev3,x:freq=60,x:conf=$xorg1 reboot=warm panic=30 vga=788 console=tty1 quiet initrd ($root)/spblinux/ramdisk } menuentry "spb32v fastboot2 ($root2, xorg=$xorg2; $boottype; partition SPB2 on ($root); $gfxmode)" { linux ($root)/spblinux/kernel root=/dev/$root2 ramdisk_size=250000000 spbrd=2 initsqf=2 spbrootsize=8 spbaddonsize=64 spbconf=cfgdev3,x:freq=60,x:conf=$xorg2 reboot=warm panic=30 vga=788 console=tty1 quiet initrd ($root)/spblinux/ramdisk } menuentry "spb32v fastboot2 ($root3, xorg=$xorg3; $boottype; partition SPB2 on ($root); $gfxmode)" { linux ($root)/spblinux/kernel root=/dev/$root3 ramdisk_size=250000000 spbrd=2 initsqf=2 spbrootsize=8 spbaddonsize=64 spbconf=cfgdev3,x:freq=60,x:conf=$xorg3 reboot=warm panic=30 vga=788 console=tty1 quiet initrd ($root)/spblinux/ramdisk } #menuentry "TrueImage 2013 starten (grub)" { # set root=(hd0,gpt2) # linux /ti2013/kernel.dat vga=791 # initrd /ti2013/ramdisk.dat #}