Re: problems mounting encrypted drive on reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20 Sep 2017 15:38 -0700, from jlowry@xxxxxxx (Jerry Lowry):
> I have created an encrypted drive using the following commands:
> 
> #>cryptsetup --verify=passphrase -- hash=sha256 --keyfile=/dir/file
> create /dev/mapper/testcui /dev/sdb

If that's what you _really_ did, I'm pretty sure it can't have worked.
The newline notwithstanding, whitespace still matters, and there is no
--verify parameter (you probably meant to use --verify-passphrase).


> Sep 20 14:19:53 jubilee systemd[1]: Starting Cryptography Setup for
> /dev/mapper/testcui...
> -- Subject: Unit systemd-cryptsetup@-dev-mapper-testcui.service has
> begun start-up
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

At a minimum, run cryptsetup directly (not through systemd) with the
--debug flag and post back with the output thus obtained.

-- 
Michael Kjörling • https://michael.kjorling.se • michael@xxxxxxxxxxx
                 “People who think they know everything really annoy
                 those of us who know we don’t.” (Bjarne Stroustrup)
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux