set timeout=3 // 3 seconds menuentry "FoolOS (640x480x32)" { multiboot /boot/foolos.bin set gfxpayload=640x480x32 module /boot/ext2.img } menuentry "FoolOS (1920x1080x32)" { multiboot /boot/foolos.bin set gfxpayload=1920x1080x32 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 }