<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cryptsetup &#8211; Arun&#8217;s blog</title>
	<atom:link href="https://arunns.net/tag/cryptsetup/feed/" rel="self" type="application/rss+xml" />
	<link>https://arunns.net</link>
	<description>Arun&#039;s blog</description>
	<lastBuildDate>Fri, 07 Aug 2020 10:33:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.2</generator>
	<item>
		<title>Encrypt secondary disk &#8211; Linux</title>
		<link>https://arunns.net/encrypt-secondary-disk-linux/</link>
					<comments>https://arunns.net/encrypt-secondary-disk-linux/#respond</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Fri, 07 Aug 2020 10:33:55 +0000</pubDate>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[File system]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Mint]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[cryptsetup]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[encrypt]]></category>
		<category><![CDATA[linux disk encryption]]></category>
		<guid isPermaLink="false">http://letushare.com/?p=877</guid>

					<description><![CDATA[To set up cryptographic volumes, you need to back up the data first and restore data after the encryption is setup. rsync -Pav &#60;source/> &#60;backup_destination/> Once the backup is completed, install cryptsetupsudo apt install cryptsetup Create the encrypted partitionsudo cryptsetup --verbose --verify-passphrase luksFormat &#60;device_name>Provide passphrase once prompted, you could use fdisk -l to find the [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>To set up cryptographic volumes, you need to back up the data first and restore data after the encryption is setup.<br><br><code>rsync -Pav &lt;source/> &lt;backup_destination/></code><br><br>Once the backup is completed, install cryptsetup<br><code>sudo apt install cryptsetup</code><br><br>Create the encrypted partition<br><code>sudo cryptsetup --verbose --verify-passphrase luksFormat &lt;device_name></code><br>Provide passphrase once prompted, you could use fdisk -l to find the correct device.<br><br>Open the encrypted device<br><code>sudo cryptsetup luksOpen /dev/vdb1 vdb1</code> # the device name was vdb1 in my case<br>This will prompt the passphrase to open the device<br><br>Create the required file system<br><code>mkfs.ext4 /dev/mapper/vdb1</code><br><br>You could remove the ext4 reservation if not required<br><code>tune2fs -m 0 /dev/mapper/vdb1</code><br><br>Create mount directory<br><code>mkdir /mnt/secondary</code><br><br>Mount the device<br><code>mount /dev/mapper/vdb1 /mnt/secondary</code><br><br></p>



<p></p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/encrypt-secondary-disk-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
