<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.chucknemeth.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.chucknemeth.com/feed.php">
        <title>Chuck Nemeth - encryption</title>
        <description></description>
        <link>https://wiki.chucknemeth.com/</link>
        <image rdf:resource="https://wiki.chucknemeth.com/_media/favicon.ico" />
       <dc:date>2026-06-04T02:20:13+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.chucknemeth.com/encryption/luks-container?rev=1636503172&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.chucknemeth.com/encryption/luks-partition?rev=1636503465&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.chucknemeth.com/_media/favicon.ico">
        <title>Chuck Nemeth</title>
        <link>https://wiki.chucknemeth.com/</link>
        <url>https://wiki.chucknemeth.com/_media/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.chucknemeth.com/encryption/luks-container?rev=1636503172&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-11-10T00:12:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>LUKS Encrypted Container</title>
        <link>https://wiki.chucknemeth.com/encryption/luks-container?rev=1636503172&amp;do=diff</link>
        <description>LUKS Encrypted Container

----------

With cryptsetup 2.1.0, the LUKS header takes up just under 16MiB, so the partition size must be 16MiB + the size of the data you want to store in it.

Create a LUKS Storage Container

	*  Create a 20Mb file filled with random data:</description>
    </item>
    <item rdf:about="https://wiki.chucknemeth.com/encryption/luks-partition?rev=1636503465&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-11-10T00:17:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>LUKS Encrypted Partition</title>
        <link>https://wiki.chucknemeth.com/encryption/luks-partition?rev=1636503465&amp;do=diff</link>
        <description>LUKS Encrypted Partition

----------

Change LUKS Partition Password

	*  Find the drive with the luks headers:

cat /etc/crypttab


	*  Find the partition using the disk label from the previous command:

sudo fdisk -l /dev/sda


		*  If it is listed by uuid, use:</description>
    </item>
</rdf:RDF>
