Finally!!! After about 9 times I was able to install it!
I was trying the manual installation all the times, but since it was not working, I decided to go for the manual installation. I mostly used the commands indicated on the custum install documentation.
First, I switched to the tty2 of the installer by pressing ctrl
+alt
+F2
, and wiped up the whole disk:
dd if=/dev/zero of=/dev/sda bs=1M status=progress && sync
Then, I created a MBR partition table and two partitions:
fdisk /dev/sda
Welcome to fdisk (util-linux 2.34).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): o
Created a new DOS disklabel with disk identifier 0x37845dec.
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):p
Partition number (1-4, default 1):1
First sector (2048-268435455, default 2048):2048
Last sector, +sectors or +size{K,M,G,T,P} (2048-268435455, default 268435455):+1024M
Created a new partition 1 of type 'Linux' and of size 1 GiB.
1GiB for the sda1 (that will be the boot partition)
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):p
Partition number (2-4, default 2):2
First sector (2099200-268435455, default 2099200):2099200
Last sector, +sectors or +size{K,M,G,T,P} (2099200-268435455, default 268435455):268435455
Created a new partition 2 of type 'Linux' and of size 126.99 GiB.
After that, I’ve created a LUKS encrypted volume on sda2:
cryptsetup -v --hash sha512 --cipher aes-xts-plain64 --key-size 512 --use-random --iter-time 10000 --verify-passphrase luksFormat /dev/sda2
Opened it
cryptsetup open /dev/sda2 luks
And created the logical volumes
pvcreate /dev/mapper/luks
vgcreate qubes_dom0 /dev/mapper/luks
lvcreate -n swap -L 10G qubes_dom0
lvcreate -T -l +100%FREE qubes_dom0/pool00
lvcreate -V1G -T qubes_dom0/pool00 -n root
lvextend -L <size_of_pool00> /dev/qubes_dom0/root
Then, switched back to tty6 pressing ctrl
+alt
+F6
So far, pretty much the same as the documentation says. But when I went to the “personalized installation” option, it was not identifying the changes on the disk.
After some fighting against this problem, I solved it by entering the Installation destination
, Custom
and Rescan Disks
. After rescanning the disks, I’ve entered the Advanced Custom (Blivet-GUI
option.
Then I tried to enter the mounting points on the LVMs, but for some reason it was not allowing me to select a mounting point for the qubes_dom0-root
volume, so I deleted it and made another one with the same name using Blivet-GUI.
Tip: when entering the volume name, type the name as root
. If you put the name as qubes_dom0-root
it is going to output the name as qubes_dom0-qubes_dom0-root
. WRONG.
Finally, selected “Done”, and “Begin Installation”, and it went just fine!
So that was my solution.
: )