UEFI boot does not work, so use legacy boot. Installed with ubuntu-20.04-live-server-amd64.iso ssh-copy-id mkdir privat cd privat git clone 192.168.1.129:privat/config cp config/ubuntu-20.04/home/.* ~/ sudo cp config/ubuntu-20.04/home/.* /root bash config/ubuntu-20.04/packages sudo cp -a ubuntu-20.04/etc/ / add_swap() { truncate -s 16T /data/swapfile mkswap swapfile mkswap -L swap1 /dev/sdc mkswap -L swap2 /dev/sdd mkswap -L swap3 /dev/sde mkswap -L swap4 /dev/sdc1 cat >> /etc/fstab <<_EOF LABEL=swap1 none swap sw,pri=4 0 0 LABEL=swap2 none swap sw,pri=4 0 0 LABEL=swap3 none swap sw,pri=4 0 0 LABEL=swap4 none swap sw,pri=4 0 0 _EOF } LVM_extend_to_full_disk() { while lvextend -L +10G /dev/ubuntu-vg/ubuntu-lv; do true done resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv } Change_LUKS_password_to_USB_cryptkey() { echo oldpassword:; read oldpassword echo secretpassword:; read secretpassword echo newpassword:; read newpassword