Hi everyone,
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[1]: 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.
sda
├─sda1
│ vfat FAT32 3900-B87D
└─sda2
crypto 1 4d5fc22c-1966-45d3-a51f-45505b0102f9
└─cryptroot
f2fs 1.13 e9e89c3e-b080-4bdf-8ab0-df8ce770fb60
mkinitcpio.conf:
HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block sd-encrypt filesystems fsck)
loader.conf:
timeout 3
#console-mode keep
default manjaro
manjaro.conf (/boot/loader/entries/*.conf):
title Manjaro
linux /vmlinuz-5.10-x86_64
initrd /intel-ucode.img
initrd /initramfs-5.10-x86_64.img
options rd.luks.name=4d5fc22c-1966-45d3-a51f-45505b0102f9=cryptroot root=dev/mapper/cryptroot#/dev/sda2 4d5fc22c-1966-45d3-a51f-45505b0102f9
#/dev/mapper/cryptroot e9e89c3e-b080-4bdf-8ab0-df8ce770fb60
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.