You are not logged in.
I just set up a new arch machine. I thought I did all the steps I did last time, but when I boot up, I get
ERROR: device 'UUID=...' not found. Skipping fsck.
mount: /new_root: can't find UUID=...
ERROR: Failed to mount 'UUID=...' on real root.
I set up dm-crypt like this:
# cryptsetup -y -v luksFormat /dev/nvme0n1p1
# cryptsetup open /dev/nvme0n1p1 root
# mkfs.ext4 /dev/mapper/root
# mount /dev/mapper/root /mnt
I updated HOOKS to this:
HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block encrypt filesystems fsck)
and reran mkinitcpio -P
I'm using GRUB with efibootmgr, and ran:
# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
# grub-mkconfig -o /boot/grub/grub.cfg
Since I'm not using a plain root with encrypted /home or other partitions, I don't think I need to set up crypttab. But clearly I'm missing something. Any suggestions?
Offline
You have to add things to the kernel command line to tell the initramfs what to decrypt.
Online
You have to add things to the kernel command line to tell the initramfs what to decrypt.
Do you know where that is in the wiki?
Offline
Online