Skip to content

Installing as dual boot with Linux or Windows

The following section will guide you through the steps to install Athena OS as dual booth with Linux or Windows by covering all the possible choices you could set.

Windows pre-settings

In case you are installing Athena OS in dual boot with Windows, make sure that Fast Startup is disabled. For doing that on Windows, open Control Panel -> Hardware and Sound -> Power Options -> click on Choose what the power buttons do on the left side -> click on Change Settings that are currently unavailable on top (This will ask for administrator permissions) -> Unselect the Turn on fast startup option and click on Save Changes button.

Install Athena OS as dual boot

Once prepared the setup as described in Baremetal installation prepare, and rebooted the system with your plugged USB drive containing the Athena OS installation media, you will see:

EFI Boot select Athena OS install medium.

Pre-installation

If you are installing Athena OS along with Windows, you need to preserve the Microsoft bootloader files. We need to face the following scenario:

  • Format the existing boot partition: save Microsoft bootloader folder somewhere, format the boot partitition, and move Microsoft bootloader folder inside it.

Save Microsoft bootloader

If you will format the boot partition, you need to save Microsoft bootloader files. Once you land on the Live Environment, open terminal and mount your existing boot partition (i.e., /dev/nvme0n1p1) containing Microsoft bootloader:

Terminal window
sudo mount /dev/nvme0n1p1 /mnt
cp -rf /mnt/EFI/Microsoft ~/
sudo umount /mnt

it will save Microsoft folder in the liveuser home folder. We will restore it just after the Athena OS installation ends as explained later.

Installation

Once you land on the Live Environment, if you need to connect to Internet by WiFi, click on the network icon on the top bar: WiFi Connect

Click on Available networks and select your WiFi network: WiFi Select

If the WiFi network is password-protected, type its password to connect to it: WiFi Auth

Finally, follow the Aegis TUI Installer chapter until the Partitioning section.

Partitioning

Aegis TUI

If you are using Aegis TUI, on Partitioning, select Manual or Replace according to your need: Aegis TUI Partitioning Manual

Aegis TUI Partitioning Example Layout EFI

Select the disk to work on. It is needed now to create the needed partitions for Athena OS. At label selection, select gpt.

Aegis TUI Partitioning Table EFI

First, due to Windows installation, a UEFI boot partition should already exist, so we don’t need to create an EFI partition.

(Optional) In case you want to install a separated EFI partition, select the free space entry, press “New”, otherwise “Delete” or “Resize” an existing partition to get additional free space. As Partition Size, set “512M”, select “Type” option and select “EFI System” as partition type.

(Optional) If you want to set a Swap Partition, if you have enough available free space, press “New”, otherwise “Delete” or “Resize” an existing partition to get additional free space. As Partition Size, set “1G” or “2G” or “4G” or “8G” depending on the amount of your RAM or your preference, select “Type” option and select “Linux swap” as partition type.

(Optional) In case you want to install a separated EFI partition, select the free space entry, press “New”, otherwise “Delete” or “Resize” an existing partition to get additional free space. As Partition Size, set “512M”, select “Type” option and select “EFI System” as partition type.

If you are in a UEFI system, and you are going to encrypt the root partition, first you need to create an additional partition to store GRUB configuration file. Select the free space entry, press “New”, otherwise “Delete” or “Resize” an existing partition to get additional free space. As Partition Size, set “1024M”, select “Type” option and select “Linux filesystem” as partition type.

Now, create a root partition for your system. If you have enough available free space, press “New”, otherwise “Delete” or “Resize” an existing partition to get space. As Partition Size, set the remaning free space amount. As “Type”, be sure it is set as “Linux filesystem”.

Afterwards, on the menu, select “Write” to apply these changes to your disk. When asked “Are you sure you want to write the partition table to disk?” type yes and press Enter key. Finally, press Quit. Aegis TUI Partitioning Manual Quit EFI

Now it will be asked you to select what is the EFI partition. Select the existing one (usually it should be the one sized 512M): Aegis TUI Partitioning Select EFI

If you want to use the UEFI boot partition used by Windows, as EFI partition mountpoint, as EFI partition filesystem select don’t format. Instead, if you created a new separated EFI partition, as EFI partition filesystem select fat or vfat.

Now it will be asked you to select what is the root partition you created. Select it (usually it should be the one sized as you set previously): Aegis TUI Partitioning Select Root

Then, as root partition mountpoint, select / and as root partition filesystem select one of shown options (i.e., btrfs).

Finally, it will be asked if you wish to encrypt the root partition: Aegis TUI Partitioning Encryption

If you select to encrypt the root partition, you will be asked to select the GRUB partition. Select it from the list.

Next it will be asked if you created a Swap partition. If you didn’t create it, press No. If you did, press Yes. It will be asked you to select what is the swap partition you created. Select it (usually it should be the one sized 1G or 2G or 4G or 8G): Aegis TUI Partitioning Select Swap

Then, continue to follow the Aegis TUI guide.