You are not logged in.

#1 2024-08-07 18:12:46

gft32trash
Member
Registered: 2024-08-07
Posts: 2

ERROR device '/dev/mapper/root' not found. skipping fsck. (LUKS)

Hi

I followed the Installation guide together with this guide
where I have LUKS on my root partition.
I installed GRUB as bootmanager.

after rebootin, removing the USB with the .iso. and booting the drive that says GRUB (I dualboot with win10)
I get the GNU GRUB menu and boot into arch linux I get the following error

ERROR: device '/dev/mapper/root' not found. skipping fsck.
mount: /new_root: fsconfig system call failed: /dev/mapper/root: can't lookup blockdev.
  dmesg(1) may habe more information after failed mount system call.
ERROR: Failed to mount '/dev/mapper/root'on real root
You are now being dropped into an emergency shell.
sh:can't acces tty: job control turned off

I am pretty sure I did every step. This is my second attempt, same error.
It should promt me for the passphrase for decrypting the root drive but it doesn't
I tried both  busybox and systemd didn't change anything.

what did I do wrong? if I need to provide more info let me know. I just don't even know where to begin looking

Last edited by gft32trash (2024-08-07 20:58:16)

Offline

#2 2024-08-07 23:41:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: ERROR device '/dev/mapper/root' not found. skipping fsck. (LUKS)

What does your mkinitcpio.conf look like (assuming you're using mkinitcpio)?

Offline

#3 2024-08-08 10:00:20

gft32trash
Member
Registered: 2024-08-07
Posts: 2

Re: ERROR device '/dev/mapper/root' not found. skipping fsck. (LUKS)

Scimmia wrote:

What does your mkinitcpio.conf look like (assuming you're using mkinitcpio)?

for HOOKS I have

HOOKS=(base systemd autodetect microcode modconf kms sd-vconsole block sd-encrypt filesystems fsck)

I also tried with busybox-based initramfs earlied
I checked after regenerating. They were still there

Offline

#4 2024-08-08 13:47:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: ERROR device '/dev/mapper/root' not found. skipping fsck. (LUKS)

Your log is from a busybox initramfs. If this was from before, that's fine, but if it's recent, it would indicate that you're not rebuilding the correct initramfs.

What does your bootloader config look like?

Offline

Board footer

Powered by FluxBB