Add encryption grub/kernel setting
This commit is contained in:
parent
62f8440e2d
commit
e5df3c8c55
@ -19,4 +19,5 @@ arch-chroot /mnt echo $hostname > /etc/hostname
|
|||||||
|
|
||||||
echo "~> Configuring 'grub'"
|
echo "~> Configuring 'grub'"
|
||||||
arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=Arch_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
|
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
Loading…
Reference in New Issue
Block a user