Update install.sh

This commit is contained in:
proledatarian 2022-12-12 20:32:14 +00:00
parent f74ac33aef
commit fc92224e2a
1 changed files with 0 additions and 6 deletions

View File

@ -299,9 +299,6 @@ arch-chroot /mnt bootctl --path=/boot install &&
echo "Done."
echo
# Check if installed on SSD
# Get UUID for primary partition
uuid=$(ls -l /dev/disk/by-uuid | grep $main | awk '{print $9}')
@ -313,13 +310,11 @@ linux /vmlinuz-linux-zen
#initrd /amd-ucode.img
#initrd /intel-ucode.img
initrd /initramfs-linux-zen.img
#options cryptdevice=/dev/$main:main
options cryptdevice=UUID=$uuid:main
options root=/dev/mapper/main rw
options rootflags=subvol=root
options lang=de locale=de_DE.UTF-8
options init=/usr/lib/systemd/systemd
#options loglevel=3
EOF
# Set bootloader fallback entry.
@ -327,7 +322,6 @@ cat << EOF > /mnt/boot/loader/entries/arch-fallback.conf &&
title Arch Linux Fallback
linux /vmlinuz-linux
initrd /initramfs-linux-fallback.img
#options cryptdevice=/dev/$main:main
options cryptdevice=UUID=$uuid:main
options root=/dev/mapper/main rw
options rootflags=subvol=root