<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cryptsetup on Michael’s Domain</title><link>https://jeltsch.org/en/tags/cryptsetup/</link><description>Recent content in Cryptsetup on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/cryptsetup/index.xml" rel="self" type="application/rss+xml"/><item><title>cryptsetup</title><link>https://jeltsch.org/en/cryptsetup/</link><pubDate>Sun, 25 Jan 2009 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/cryptsetup/</guid><description>&lt;p&gt;I switched already quite a while ago from the old cryptoloop technology to the newer cryptsetup technology. However, I still forget how to manually create and mount encrypted volumes, because I do this rarely. Here are the commands:&lt;code&gt;cryptsetup create cryptovolume /dev/mapper/logical_volumemount /dev/mapper/cryptovolume /mountpoint&lt;/code&gt;In this case I mapped a logical volume, but of course you can map physical volumes, too:&lt;code&gt;cryptsetup create cryptovolume /dev/sdb1mount /dev/mapper/cryptovolume /mountpoint&lt;/code&gt;&lt;/p&gt;</description></item><item><title>How to access encrypted volumes from live CDs</title><link>https://jeltsch.org/en/how_to_access_encrypted_volumes_from_live_cds/</link><pubDate>Sun, 25 Jan 2009 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/how_to_access_encrypted_volumes_from_live_cds/</guid><description>&lt;p&gt;Once you have decided to encrypt your hard drive, you might find yourself in the situation where you need to pull off data from it when the regular decryption mechanisms you use are not in place. E.g. when the OS is not booting or the drive has some physical problems. In that case you need to boot from a CD/DVD that supports the encryption technology that you used. In my case I need a live Ubuntu CD/DVD, preferably the same version that was used to encrypt the disk! Otherwise there might be incompatibilities:&lt;code&gt;sudo apt-get install lvm2 cryptsetupsudo modprobe dm-cryptsudo cryptsetup luksOpen /dev/sda2 crypt1 (result: key slot0 unlocked, command successful)sudo vgscan --mknodes (result: Found volume group &amp;quot;default&amp;quot;)sudo vgchange -ay (logical volumes become active)sudo mkdir /volume1, etc.sudo mount /dev/default/root1 /volume1&lt;/code&gt;&lt;/p&gt;</description></item><item><title>cryptsetup on lvm on Ubuntu Feisty</title><link>https://jeltsch.org/en/cryptsetup_on_lvm_on_ubuntu_feisty/</link><pubDate>Thu, 20 Sep 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/cryptsetup_on_lvm_on_ubuntu_feisty/</guid><description>&lt;p&gt;I wanted to encrypt my Documents. My home folder is on a logical volume. So I made some space by removing another logical volume and creating a new one, which gets encrypted by cryptsetup. Here are the commands:&lt;/p&gt;</description></item></channel></rss>