diff --git a/archiso/grub/grub.cfg b/archiso/grub/grub.cfg index 23bad7a..dc210bf 100644 --- a/archiso/grub/grub.cfg +++ b/archiso/grub/grub.cfg @@ -1,3 +1,13 @@ +# Defining the Version of the ISO. This line could be easy changed by a Script wich do that automatic before creating ISO self. +# Default "GIT", because if somebody outside from the DEVs create a ISO, this ISO wouldnt have a specific Version number. +CACHYOS_VERSION="GIT" + +if [ "${grub_platform}" == "efi" ]; then + bios_or_uefi="(UEFI)!" + else + bios_or_uefi="(BIOS)!" +fi + # Load partition table and file system modules insmod part_gpt insmod part_msdos @@ -28,8 +38,15 @@ default=cachyos timeout=10 timeout_style=menu -# Menu entries +# Welcome Text +menuentry "Welcome to CachyOS $CACHYOS_VERSION Live ISO $bios_or_uefi" { +insmod ext2 +} +menuentry "----------------------------------------------------" { +insmod ext2 +} +# Menu entries menuentry "CachyOS" --class arch --class gnu-linux --class gnu --class os --id 'cachyos' { set gfxpayload=keep search --no-floppy --set=root --label %ARCHISO_LABEL%