You are not logged in.

#1 2025-04-18 16:51:26

black_dragon
Member
Registered: 2025-04-18
Posts: 25

[SOLVED] Unable to boot - Failed to mount device with UUID

Hi,
I'm getting this error when I try to run freshly installed OS:

ERROR: device 'UUID=...' not found. Skipping fsck.
mount: /new_root: can't find UUID=...
ERROR: Failed to mount 'UUID=...' on real root 
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off

Looks like initramfs image can't mount root partition? Is it possible to get some logs in this case?

I checked UUIDs in fstab and they correspond to UUIDs of hardware.
I have EFI partition (shared with Windows) mounted on /efi, boot partition mounted on /boot and BTRFS partition with LUKS2 encryption.
I added btrfs to MODULES and encryption to HOOKS in /etc/mkinitcpio.conf.
It's not related to vmd - vmd is disabled in Setup, also I tried enabling it initramfs with the same result.
I tried LUKS1 encryption - still no.

Also I had Fedora installed in the same partitions and it all worked well, so no tampering with firware settings is required.

I have Lenovo ThinkPad P1 Gen 4 20Y3, maybe I'm missing some packages or options?


Honestly, I'm out of ideas....

Last edited by black_dragon (2025-04-18 20:10:31)

Offline

#2 2025-04-18 17:23:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,666

Re: [SOLVED] Unable to boot - Failed to mount device with UUID

well '...' isn't a valid UUID, so that makes sense.

assuming you just left it out, which isn't helpful, you need to configure both your bootloader and the initramfs correctly. There is no 'encryption' hook for mkinitcpio, and you haven't mentioned setting the necessary parameters in your bootloader at all.

https://wiki.archlinux.org/title/Dm-cry … _userspace

Last edited by Scimmia (2025-04-18 17:35:42)

Offline

#3 2025-04-18 19:26:42

black_dragon
Member
Registered: 2025-04-18
Posts: 25

Re: [SOLVED] Unable to boot - Failed to mount device with UUID

Scimmia wrote:

well '...' isn't a valid UUID, so that makes sense.

assuming you just left it out, which isn't helpful, you need to configure both your bootloader and the initramfs correctly. There is no 'encryption' hook for mkinitcpio, and you haven't mentioned setting the necessary parameters in your bootloader at all.

https://wiki.archlinux.org/title/Dm-cry … _userspace

There was an error in GRUB_CMDLINE_LINUX_DEFAULT line.
Thanks for mentioning bootloader parameters, I forgot to double check them.

Offline

#4 2025-04-18 19:50:15

seth
Member
Registered: 2012-09-03
Posts: 63,637

Re: [SOLVED] Unable to boot - Failed to mount device with UUID

If this is fixed and please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB