Skip to content

2.2 EFI BIOS modes and GRUB

D3vil0p3r edited this page May 14, 2023 · 2 revisions

Athena OS can be run in EFI or BIOS mode, and uses GRUB2 with a custom theme for adapted for the operating system.

If you would like to install Athena OS in a virtual machine, set on your VM settings if running EFI or BIOS mode. It could make difference because if you run the ISO on BIOS (Legacy) mode and install the system, the Partition Table will be MBR (legacy); if you run the ISO on EFI mode and install the system, the Partition Table will be GPT (more reliable).

For checking what is the type of your Partition Table, run sudo gdisk -l /dev/sda.

Live environment (Archiso) and Calamares installer need to have set separately the custom theme because:

  • for Live Environment: the developer needs to store the custom theme files in archiso/grub because airootfs/boot will be cleaned by mkarchiso tool. These files, once the ISO is created, will be kept in /run/archiso/bootmnt/grub and mounted on /dev/sr0, so to a separated partition.
  • for the final system: since the Live Environment theme files are in a separated partition, Calamares cannot install them on the final system. For this reason, on Calamares a package containing the Athena theme is installed by Calamares before the end of the system install.

In case you need to edit the entry names on the GRUB, just edit the files in /etc/grub.d/ and run sudo grub-mkconfig -o /boot/grub/grub.cfg. This command will read all files in /etc/grub/grub.d and will create a new grub.cfg file.