You are not logged in.
Pages: 1
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
Have you put /dev/mapper/root in crypttab ?
Offline
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
ah ok, sorry I do not remember all the details (I have only encrypted my /home).
Offline
Pages: 1