You are not logged in.

#1 2021-03-16 20:19:18

data-angel
Member
Registered: 2021-03-08
Posts: 8

[SOLVED] ERROR: device '/dev/mapper/TachibanaLabs-root' not found

I've been trying to work out full disk encryption on lvm with the wiki, and after i'm prompted to enter my luks passphrase, select arch on the grub menu, I hit this:

ERROR: device '/dev/mapper/TachibanaLabs-root' not found. Skipping fsck.
mount: /new_root: no filesystem type specified.
You are now being dropped into an emergency shell.
sh: can't access tty: job control turned off
[rootfs ]# _

and i'm not sure where to go from here, been browsing and trying different ways of specifying root in grub, different mkinitcpio hooks, but no luck.

boot is located on my root.

blkid
fstab
default/grub
mkinitcpio.conf
edit: grub.cfg

not sure what else to share honestly, hope this is enough lol

Last edited by data-angel (2021-03-17 15:39:33)

Offline

#2 2021-03-17 07:42:01

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: [SOLVED] ERROR: device '/dev/mapper/TachibanaLabs-root' not found

Please share your `/boot/grub/grub.cfg'.

Offline

#3 2021-03-17 10:33:54

data-angel
Member
Registered: 2021-03-08
Posts: 8

Re: [SOLVED] ERROR: device '/dev/mapper/TachibanaLabs-root' not found

ah right, woops! here is my grub.cfg

Offline

#4 2021-03-17 10:59:40

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: [SOLVED] ERROR: device '/dev/mapper/TachibanaLabs-root' not found

Do you get a password prompt after selecting the Arch entry?  (You should.)

According to the Wiki, the `keyboard' hook should be placed earlier.

By the way, you might want to use a keyfile to avoid entering the password twice.

Last edited by respiranto (2021-03-17 11:00:46)

Offline

#5 2021-03-17 14:45:04

data-angel
Member
Registered: 2021-03-08
Posts: 8

Re: [SOLVED] ERROR: device '/dev/mapper/TachibanaLabs-root' not found

I don't actually, I thought that was weird, why might it not ask after arch entry? thank you though! i didnt realise the example meant to take notice of the position of the hooks too

still getting the same issue after selecting arch tho, is it trying to access root while it's still encrypted and failing i guess?

Offline

#6 2021-03-17 14:47:11

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: [SOLVED] ERROR: device '/dev/mapper/TachibanaLabs-root' not found

Do you get a password prompt after selecting the Arch entry now?

Offline

#7 2021-03-17 15:01:07

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [SOLVED] ERROR: device '/dev/mapper/TachibanaLabs-root' not found

I think you have the wrong UUID for the cryptdevice. You need to use the UUID of the luks partition, in your case that should be 7f617993-bd07-4c5e-8d83-0d591f77add7.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#8 2021-03-17 15:38:16

data-angel
Member
Registered: 2021-03-08
Posts: 8

Re: [SOLVED] ERROR: device '/dev/mapper/TachibanaLabs-root' not found

Thank you both for your help! the UUID was the issue, i can boot in to arch fine now and it asks for a passphrase like it's supposed to, I used the volume UUID and not the encrypted partition the volumes were all grouped on

Offline

Board footer

Powered by FluxBB