diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..22898bf --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Ignore everything that is not explicitly added +* diff --git a/boot/grub2/grub.cfg b/boot/grub2/grub.cfg new file mode 100644 index 0000000..de18218 --- /dev/null +++ b/boot/grub2/grub.cfg @@ -0,0 +1,44 @@ +# 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 +}