mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
Wich Version this ISO have, running on UEFI or BIOS? (#12)
with these changes, it is clear to the user which version he is currently using, and on which platform GRUB has started.
This commit is contained in:
1 parent
590d6e9a0d
commit
36f1179d89
1 file changed
+18
-1
+18
-1
@@ -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
|
# Load partition table and file system modules
|
||||||
insmod part_gpt
|
insmod part_gpt
|
||||||
insmod part_msdos
|
insmod part_msdos
|
||||||
@@ -28,8 +38,15 @@ default=cachyos
|
|||||||
timeout=10
|
timeout=10
|
||||||
timeout_style=menu
|
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' {
|
menuentry "CachyOS" --class arch --class gnu-linux --class gnu --class os --id 'cachyos' {
|
||||||
set gfxpayload=keep
|
set gfxpayload=keep
|
||||||
search --no-floppy --set=root --label %ARCHISO_LABEL%
|
search --no-floppy --set=root --label %ARCHISO_LABEL%
|
||||||
|
|||||||
Reference in new issue
Block a user