add missing filesystems hook

This commit is contained in:
Maximilian Keßler 2022-07-29 11:51:13 +02:00
parent b6cf9c2495
commit f7136fd900

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 encrypt lvm2 resume fsck)/' /mnt/etc/mkinitcpio.conf sed -i 's/^HOOKS=(base .* fsck)$/HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt lvm2 filesystems resume fsck)/' /mnt/etc/mkinitcpio.conf
arch-chroot /mnt mkinitcpio -P arch-chroot /mnt mkinitcpio -P