# Inspired by GLIM and Multiboot USB set timeout=30 insmod all_video set gfxpayload=keep # Enable GUI terminal_output gfxterm probe -u $root --set=rootuuid set imgdevpath="/dev/disk/by-uuid/$rootuuid" export imgdevpath rootuuid set isopath="/boot/isos" export isopath menuentry "Local Boot" { insmod chain chainloader +1 } menuentry "Enable LVMs" { insmod lvm } if [ -f "${prefix}/isos.cfg" ]; then source "${prefix}/isos.cfg" fi menuentry ' ' { true } menuentry "Shutdown" --class shutdown { halt } menuentry "Reboot" --class shutdown { reboot }