This commit is contained in:
Maximilian Keßler 2022-07-29 11:45:25 +02:00
parent 30d2e0c568
commit b6cf9c2495

View file

@ -165,7 +165,7 @@ echo "Installing grub bootloader"
arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
echo 'Configuring HOOKS in /etc/mkinitcpio.conf and regenerating initramfs' echo 'Configuring HOOKS in /etc/mkinitcpio.conf and regenerating initramfs'
sed -i 's/^HOOKS=(base .* fsck)$/HOOKS=(base udev autodetect keyboard keymap consolefont modconf block enrcypt lvm2 resume fsck)/' /mnt/etc/mkinitcpio.conf sed -i 's/^HOOKS=(base .* fsck)$/HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt lvm2 resume fsck)/' /mnt/etc/mkinitcpio.conf
arch-chroot /mnt mkinitcpio -P arch-chroot /mnt mkinitcpio -P