tring to bruteforce a good configuration for encryption, third attempt

This commit is contained in:
lukas 2021-07-01 11:40:51 +02:00
parent ff2ed7e022
commit a806a14762

View File

@ -84,7 +84,7 @@ clearpart --all --initlabel --drives=vda
# Will create an efi partitition of 128 MiB, a boot partition of 384 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root.
part /boot/efi --fstype="efi" --ondisk=vda --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi
part /boot --fstype="ext4" --ondisk=vda --size=384 --label=boot
part / --fstype="ext4" --ondisk=vda --grow --encrypted --label=system
part / --fstype="ext4" --ondisk=vda --grow --label=system --encrypted --luks-version=luks2
# System timezone
timezone Europe/Paris --utc
@ -109,6 +109,9 @@ qemu-guest-agent # Install software to allow the host to better interact with th
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked
sed -i 's/5/1/' /etc/default/grub # set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds.
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub
cryptsetup luksFormat /dev/vda3
mkfs -t ext4 /dev/mapper/system
dracut --regenerate-all # Regenerate initramfs
reboot # Reboot the installer (doesn't work (tm))