lsblk gdisk (/dev/vda) #Command n #Partitionnumber 1(default) #Fist Sector default #Last Sector +300M #Code ef00 #Command n #Partitionnummber 2(default) #First Sector default #Last Sector default #Code 8300(default) #Command w y mkfs.fat -F32 (/dev/vda1) cryptsetup --cipher aes-xts-plain64 --hash sha512 --use-random --verify-passphrase luksFormat (/dev/vda2) cryptsetup luksOpen (/dev/vda2) root mkfs.btrfs /dev/mapper/root mount /dev/mapper/root /mnt cd /mnt btrfs subvolume create @ btrfs subvolume create @home cd ~ umount /mnt mount -o noatime,space_cache=v2,compress=zstd,ssd,discard=async,subvol=@ /dev/mapper/root /mnt mkdir /mnt/{boot,home} mount -o noatime,space_cache=v2,compress=zstd,ssd,discard=async,subvol=@home /dev/mapper/root /mnt/home mount /dev/vda1 /mnt/boot pacstrap /mnt base linux linux-firmware git vim amd-ucode genfstab -U /mnt >> /mnt/etc/fstab arch-chroot /mnt vim /etc/mkinitcpio.conf #HOOKS=(... encrypt filesystem ...) mkinitcpio -p linux --- base.sh (Packages etc): n -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime hwclock --systohc sed -i 's/#\(de_DE.UTF-8\)/\1/' /etc/locale.gen locale-gen echo "LANG=de_DE.UTF-8" >> /etc/locale.conf echo "KEYMAP=de-latin1" >> /etc/vconsole.conf echo "arch" >> /etc/hostname echo "127.0.0.1 localhost" >> /etc/hosts echo "::1 localhost" >> /etc/hosts echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts echo root:test | chpasswd ---