You are not logged in.

#1 2016-12-07 17:11:51

william.vivier
Member
Registered: 2016-12-07
Posts: 4

Plain dm-crypt system not booting after install

So I tried to create an encrypted system using the "plain dm-crypt" method, however I am getting the following error after typing my password on boot:

ERROR: device '' not found. Skipping fsck.
ERROR: Unable to find root device ''.
You are being dropped to a recovery shell...

I believe it may have something to do with my systemd-boot loader file which is:

title Arch Linux Encrypted
linux /vmlinuz-linux
initrd /initramfs-linux.img
options cryptdevice=/dev/sdb:enc crypto=sha512::256:0:

Please note I had created the cryptdevice as following:

cryptsetup --hash=sha512 --cipher=aes-cbc-essiv:sha256 --key-size=256 --offset=0 open --type=plain /dev/sdb enc

Also, if booting back into the installation media, how am I supposed to mount a plain dm-crypt partition (/dev/sdb) as the partitions like (/dev/mapper/enc) and (/dev/store/root) which is what i remember I had previously before booting out.
Thanks a lot.

Offline

#2 2016-12-08 18:07:35

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Plain dm-crypt system not booting after install

ERROR: Unable to find root device ''.
root=/dev/...

Last edited by teateawhy (2016-12-08 18:08:14)

Offline

Board footer

Powered by FluxBB