Add encryption grub/kernel setting

This commit is contained in:
maride 2017-08-05 23:19:15 +02:00
parent 62f8440e2d
commit e5df3c8c55

View File

@ -19,4 +19,5 @@ arch-chroot /mnt echo $hostname > /etc/hostname
echo "~> Configuring 'grub'"
arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=Arch_GRUB
arch-chroot /mnt echo "GRUB_CMDLINE_LINUX='cryptdevice=UUID=`blkid -o value /dev/sda2 | head -n 1`'" > /etc/default/grub
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg