You are not logged in.

#1 2009-11-03 12:25:06

ridcully
Member
Registered: 2009-03-28
Posts: 52

Failed to create /dev/mapper/root

Hi,

I have a problem with a encrypted root device. I've followed the instructions over here and here. I've edited grub.conf, mkcpioinit.conf and fstab, but the system boots into a recovery shell while it fails to create /dev/mapper/root. The "error" message is:

:: Running hook [encrypt]
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.15.0-ioctl initialised: dm-devel@redhat.com
Waiting 10 second for device /dev/mapper/root ...
Waiting 10 second for device /dev/mapper/root ...

Root device '/dev/mapper/root' doesn't exist, attempting to create it
ERROR: Failed to parse block device ds for '/dev/mapper/root'
ERROR: Unable to detect or create root device ''/dev/mapper/root'
You are being dropped to a recovery shell
 ...

Somebody has an idea what I've missed? Suggestions?

Thanks in advance!
Regards,
  Michael

Offline

#2 2009-11-03 13:11:19

boulde
Member
Registered: 2009-10-05
Posts: 41

Re: Failed to create /dev/mapper/root

Have you put /dev/mapper/root in crypttab ?

Offline

#3 2009-11-03 13:15:06

ridcully
Member
Registered: 2009-03-28
Posts: 52

Re: Failed to create /dev/mapper/root

I haven't add the root partition to /etc/crypttab since the file states

# NOTE: Do not list your root (/) partition here, it must be set up
#       beforehand by the initramfs (/etc/mkinitcpio.conf).

Offline

#4 2009-11-03 15:35:05

boulde
Member
Registered: 2009-10-05
Posts: 41

Re: Failed to create /dev/mapper/root

ah ok, sorry I do not remember all the details (I have only encrypted my /home).

Offline

Board footer

Powered by FluxBB