[dm-crypt] crypetsetup and GPT partitions

Houtchen, Steven shoutchen at curtisswright.com
Wed Feb 8 13:33:56 CET 2017


I am trying to use "crypsetup" setup ant "parted" together.
I want to use "cryptsetup" to encrypt a whole solid state disk,
and then use "parted" to create partitions on it with a GPT partition
table.  I have be able to do the first task, but not the second.

Or vice versa. Create a few partitions, and then optionally
encrypt each one individually. I have be able to do the first
task, but not the second.

So my question is, is "cryptsetup" compatible with parted and
GPT partition table? Or do  need to use something like "lvm2"
to accomplish what I am trying to do?

I am using CentOS7 with

[root at dts1 ~]# cryptsetup --version
cryptsetup 1.6.7
[root at dts1 ~]#

[root at dts1 ~]# parted --version
parted (GNU parted) 3.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by <http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS>.
[root at dts1 ~]#

Thanks for any help you can give me..

Steve Houtchen
Senior Software Engineer

2600 Paramount Place, Suite 200, Fairborn, OH 45324
T: 937.610.5420 | F: 937.252.1465
shoutchen at curtisswright.com<mailto:shoutchen at curtisswright.com> | www.curtisswrightds.com<http://www.curtisswrightds.com/>

This e-mail and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom they are addressed.  If you have reason to believe that you have received this e-mail in error, please notify the sender and destroy this e-mail and any attached files.  Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the Curtiss-Wright Corporation or any of its subsidiaries.  Documents attached hereto may contain technology subject to government export regulations.  Recipient is solely responsible for ensuring that any re-export, transfer or disclosure of this information is in accordance with applicable government export regulations.  The recipient should check this e-mail and any attachments for the presence of viruses.  Curtiss-Wright Corporation and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20170208/99655fa7/attachment.html>

More information about the dm-crypt mailing list