set timeout=1 //seconds set default=4 if loadfont ${prefix}/fonts/unicode.pf2 insmod efi_gop insmod efi_uga insmod vbe insmod font insmod png then insmod gfxterm set gfxmode=auto set gfxmode=640x480 set gfxpayload=keep terminal_output gfxterm background_image /boot/grub_bg.png set color_normal=white/black set color_highlight=black/white fi menuentry "FoolOS (320x200x32)" { multiboot /boot/foolos.bin set gfxpayload=320x200x32 module /boot/ext2.img } menuentry "FoolOS (640x400x32)" { multiboot /boot/foolos.bin set gfxpayload=640x400x32 module /boot/ext2.img } menuentry "FoolOS (640x480x32)" { multiboot /boot/foolos.bin set gfxpayload=640x480x32 module /boot/ext2.img } menuentry "FoolOS (800x600x32)" { multiboot /boot/foolos.bin set gfxpayload=800x600x32 module /boot/ext2.img } menuentry "FoolOS (1024x768x32)" { multiboot /boot/foolos.bin set gfxpayload=1024x768x32 module /boot/ext2.img } menuentry "FoolOS (1280x1024x32)" { multiboot /boot/foolos.bin set gfxpayload=1280x1024x32 module /boot/ext2.img } menuentry "FoolOS (1600x1200x32)" { multiboot /boot/foolos.bin set gfxpayload=1600x1200x32 module /boot/ext2.img } menuentry "FoolOS (1280x768x32)" { multiboot /boot/foolos.bin set gfxpayload=1280x768x32 module /boot/ext2.img } menuentry "FoolOS (1280x800x32)" { multiboot /boot/foolos.bin set gfxpayload=1280x800x32 module /boot/ext2.img } menuentry "FoolOS (1400x1050x32)" { multiboot /boot/foolos.bin set gfxpayload=1400x1050x32 module /boot/ext2.img } menuentry "FoolOS (1680x1050x32)" { multiboot /boot/foolos.bin set gfxpayload=1680x1050x32 module /boot/ext2.img } menuentry "FoolOS (1280x720x32)" { multiboot /boot/foolos.bin set gfxpayload=1280x720x32 module /boot/ext2.img } menuentry "FoolOS (1920x1080x32)" { multiboot /boot/foolos.bin set gfxpayload=1920x1080x32 module /boot/ext2.img } menuentry "FoolOS (1920x1080x24)" { multiboot /boot/foolos.bin set gfxpayload=1920x1080x24 module /boot/ext2.img } menuentry "FoolOS (text-mode)" { multiboot /boot/foolos.bin set gfxpayload=text module /boot/ext2.img } menuentry "FoolOS (Custom Resolution)" { set pager=1 echo "MODES SUPPORTED:" vbeinfo set pager=0 echo "BOOT WITH CUSTOM RESOLUTION/DEPTH:" echo "width:" read __width echo "...OK" echo "height:" read __height echo "...OK" echo "bits per pixel / depth:" read __bpp echo "...OK" echo "booting with ${__width}x${__height}x${__bpp} ..." multiboot /boot/foolos.bin set gfxpayload=${__width}x${__height}x${__bpp} module /boot/ext2.img }