-
-
Notifications
You must be signed in to change notification settings - Fork 85
2.5 Installation
On Calamares installer, when the user is at "Partitions" section, and it clicks on "Manual partitioning" option, it should:
- click on "New Partition Table" and select "GUID Partition Table"
- BIOS-GRUB. Click on "Free Space" and click on "Create" then:
- size: 8 MB
- File System: unformatted
- Flags: bios-grub
- Click OK
- Boot partition. Click on "Free Space" and click on "Create" then:
- size: 300 MB
- File System: ext4 or fat32
- Mount Point: /boot
- Flags: boot (or boot-efi)
- Click OK
- Data partition. Click on "Free Space" and click on "Create" then:
- size: the remaining size
- File System: btrfs (or ext4)
- Mount Point: /
- Click OK
You should have something like:
Then click Next. You will get some warning messages, just click OK and run the installation.
Note that we don't create a SWAP space because Athena OS uses ZRAM. In case you perform a custom configuration where you remove ZRAM and use ZSWAP, you can create the SWAP partition as above by setting:
- Swap Space if you wish to have it. Click on "Free Space" and click on "Create" then:
- size: set a suitable size for Swap Space if you would like to set it (it should be a power of 2)
- File System: linuxswap
- Flags: swap
- Click OK
Calamares installer supports the encrypted the installation, but some points must be discussed.
A user can mainly set partitions in two manners: automatic (i.e., Replace a partition, Erase disk) or manual (by Manual partitioning).
Note: this way does not allow to set a non en_US keymap layout for the decryption prompt.
On Calamares installer, when the user is at "Partitions" section, and it clicks on "Erase disk" option and select "Encrypt system" checkbox, all partitions will be encrypted, also /boot
partition used by GRUB.
The default GRUB image file supports only en_US keyboard layout, so, if the user set a different keyboard layout during the installation, the decryption prompt will still work by en_US keyboard layout.
For avoiding this, in general it is needed to not encrypt /boot
partition. In this manner, the decryption prompt is moved after GRUB and LUKS can use the keyboard layout chosen by the user at installation time. Currently, Calamares does not allow to select which partitions must be encrypted if the user selects "Erase disk" or "Replace a partition" option. You can do this by "Manual partitioning".
Note: this way allows to set a non en_US keymap layout for the decryption prompt.
On Calamares installer, when the user is at "Partitions" section, and it clicks on "Manual partitioning" option, it should:
- click on "New Partition Table" and select "GUID Partition Table"
- BIOS-GRUB. Click on "Free Space" and click on "Create" then:
- size: 8 MB
- File System: unformatted
- Flags: bios-grub
- Click OK
- Boot partition. Click on "Free Space" and click on "Create" then:
- size: 300 MB
- File System: ext4 or fat32
- Mount Point: /boot
- Flags: boot (or boot-efi)
- Click OK
- Data partition. Click on "Free Space" and click on "Create" then:
- size: the remaining size
- File System: btrfs (or ext4)
- Encrypt: select it (should be the same of swap partition if you set it)
- Mount Point: /
- Click OK
You should have something like:
Then click Next. You will get some warning messages, just click OK and run the installation.
Note that we don't create a SWAP space because Athena OS uses ZRAM. In case you perform a custom configuration where you remove ZRAM and use ZSWAP, you can create the SWAP partition as above by setting:
- Swap Space if you wish to have it. Click on "Free Space" and click on "Create" then:
- size: set a suitable size for Swap Space if you would like to set it (it should be a power of 2)
- File System: linuxswap
- Encrypt: select it
- Flags: swap
- Click OK