I have installed Manjaro with CLI, systemd-boot, LUKS following a few guides like [HowTo] LUKS encrypted system using systemd-boot
Mainly followed Arch’s Installation Guide until needed otherwise.
Had tried installing multiple times on both main machine and VM, same error.
systemd: Failed to mount /sysroot.
[FAILED] Failed to mount /sysroot.
See ‘sysctl status sysroot.mount’ for details.
[DEPEND] Dependency failed for Initrd Root File System.
[DEPEND] Dependency failed for Reload Configuration from the Real Root.
You are in emergency mode. After logging in,…
Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.
Will be posting the settings of the VM as I had already wiped the main’s drive.
│ vfat FAT32 3900-B87D
crypto 1 4d5fc22c-1966-45d3-a51f-45505b0102f9
f2fs 1.13 e9e89c3e-b080-4bdf-8ab0-df8ce770fb60
HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block sd-encrypt filesystems fsck)
options rd.luks.name=4d5fc22c-1966-45d3-a51f-45505b0102f9=cryptroot root=dev/mapper/cryptroot
I did not configure the /etc/fstab.conf.
Would have tried getting the “sysctl status sysroot.mount” but I could not access the emergency console. I have already set passwd after chroot.