set no_modules=y serial terminal_output serial console gptprio.next -d boot_dev -u boot_uuid set root=$boot_dev set prefix=($root)/grub export boot_uuid search --no-floppy --set private --part-label BOTTLEROCKET-PRIVATE configfile /grub/grub.cfg echo "boot failed (device ($boot_dev), uuid $boot_uuid)" echo "rebooting in 30 seconds..." sleep 30 reboot