{"id":1237,"date":"2018-11-03T14:23:43","date_gmt":"2018-11-03T11:23:43","guid":{"rendered":"http:\/\/kifarunix.com\/?p=1237"},"modified":"2024-03-11T21:38:53","modified_gmt":"2024-03-11T18:38:53","slug":"how-to-install-and-use-veracrypt-to-encrypt-drives-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/how-to-install-and-use-veracrypt-to-encrypt-drives-on-ubuntu-18-04\/","title":{"rendered":"How to Install and Use VeraCrypt to Encrypt Drives on Ubuntu"},"content":{"rendered":"\n<p>Today, we are going to learn about how to install and use VeraCrypt to encrypt Drives on Ubuntu 18.04. VeraCrypt is an open-source software forked from TrueCrypt whose development and maintenance has since been discontinued. It is used for performing on-the-fly disk encryption (OTFE). On-the-fly encryption means that data is encrypted before it is written to the disk and when data is being read from the disk, every small portion of it is copied and decrypted on the fly in the memory (RAM) without human interaction i.e no decrypted data is stored on the memory temporarily and thus, even when the disk is mounted, data is still encrypted. VeraCrypt encrypts the entire filesystem of the disk including folders, files, contents of the files, metadata, free space&#8230;In order to access the encrypted data, one has to supply the encryption keys, password or keyfile.<\/p>\n\n\n\n<p>You can read more about VeraCrypt in its <a href=\"https:\/\/www.veracrypt.fr\/en\/Documentation.html\" target=\"_blank\" rel=\"noopener noreferrer\">Documentation<\/a> page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install and Use VeraCrypt to Encrypt Drives on Ubuntu<\/h2>\n\n\n\n<p>There are two ways in which VeraCrypt can be installed on Ubuntu;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#generic-installer\">Install via the Generic Installers.<\/a><\/li>\n\n\n\n<li><a href=\"#deb-binaries\">Install via Specific OS distribution Binary Package.<\/a><\/li>\n<\/ul>\n\n\n\n<p>VeraCrypt provide installer scripts on their&nbsp;<a href=\"https:\/\/www.veracrypt.fr\/en\/Downloads.html\" target=\"_blank\" rel=\"noreferrer noopener\">downloads page<\/a>&nbsp;which makes the install as easy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"generic-installer\">Install VeraCrypt via the Generic Installers<\/h3>\n\n\n\n<p>Download either the generic installer from the downloads page by following the link provided above.<\/p>\n\n\n\n<p>You can simply get the link and download using wget or curl commands;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/launchpad.net\/veracrypt\/trunk\/1.25.9\/+download\/veracrypt-1.25.9-setup.tar.bz2<\/code><\/pre>\n\n\n\n<p>Extract the installer once the download is completed;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tar xjf veracrypt-1.25.9-setup.tar.bz2<\/code><\/pre>\n\n\n\n<p>Similarly, there are two types of installers,&nbsp;<strong>GUI based<\/strong>&nbsp;and the&nbsp;<strong>console based<\/strong>&nbsp;Installers for both x86 and x86_64 systems that are extracted to the current working directory.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -1 veracrypt*<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>veracrypt-1.25.9-setup-console-x64\nveracrypt-1.25.9-setup-console-x86\nveracrypt-1.25.9-setup-gtk3-console-x64\nveracrypt-1.25.9-setup-gtk3-gui-x64\nveracrypt-1.25.9-setup-gui-x64\nveracrypt-1.25.9-setup-gui-x86\nveracrypt-1.25.9-setup.tar.bz2\n<\/code><\/pre>\n\n\n\n<p>You can choose which one to use for installation;<\/p>\n\n\n\n<p>Example of using GUI based installer;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo .\/veracrypt-1.25.9-setup-gui-x64<\/code><\/pre>\n\n\n\n<p>Click&nbsp;<strong>Install VeraCrypt<\/strong>&nbsp;in the installation wizard that pops up, accept the End User License Agreement and click Ok to install VeraCrypt.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-gui.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1001\" height=\"418\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-gui.png\" alt=\"install veracrypt on Ubuntu\" class=\"wp-image-12817\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-gui.png?v=1652984214 1001w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-gui-768x321.png?v=1652984214 768w\" sizes=\"(max-width: 1001px) 100vw, 1001px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>If you want to use the console installer, then execute the command;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo .\/veracrypt-1.25.9-setup-console-x64<\/code><\/pre>\n\n\n\n<p>Follow the installation prompts to install VeraCrypt on Ubuntu 18.04.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"deb-binaries\">Install via Specific OS distribution Binary Package<\/h3>\n\n\n\n<p>VeraCrypt has various Linux distributions binary installer on the downloads page link given above.<\/p>\n\n\n\n<p>Download the installer of your specific OS distro. For example, we are using Ubuntu 18.04 in this example setup.<\/p>\n\n\n\n<p>You can download the GUI installer;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget https:\/\/launchpad.net\/veracrypt\/trunk\/1.25.9\/+download\/veracrypt-1.25.9-Ubuntu-18.04-amd64.deb<\/code><\/pre>\n\n\n\n<p>Or you can download console installer;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget https:\/\/launchpad.net\/veracrypt\/trunk\/1.25.9\/+download\/veracrypt-console-1.25.9-Ubuntu-18.04-amd64.deb<\/code><\/pre>\n\n\n\n<p>Depending on the installer type you downloaded, install VeraCrypt on Ubuntu 18.04 using the command below;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install .\/veracrypt-1.25.9-Ubuntu-18.04-amd64.deb<\/code><\/pre>\n\n\n\n<p>Or;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install .\/veracrypt-console-1.25.9-Ubuntu-18.04-amd64.deb<\/code><\/pre>\n\n\n\n<p>You can verify that VeraCrypt is installed and indeed is in your PATH.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>which veracrypt<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>\/usr\/bin\/veracrypt<\/code><\/pre>\n\n\n\n<p>You are now ready to encrypt your drives\/files using VeraCrypt.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"encryptdrives\"><a href=\"#encryptdrives\">Use VeraCrypt to Encrypt Drives on Ubuntu<\/a><\/h2>\n\n\n\n<p>In this guide, we are going to learn how to use the GUI method of VeraCrypt to encrypt devices\/files.<\/p>\n\n\n\n<p>To launch the VeraCrypt GUI, press the Super Key to launch activities search bar and type veracrypt.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/searchfor-veracrypt.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"339\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/searchfor-veracrypt.png\" alt=\"How to Install and Use VeraCrypt to Encrypt Drives on Ubuntu\" class=\"wp-image-12842\" title=\"\"><\/figure><\/a><\/div>\n\n\n\n<p>Press Enter to Launch VeraCrypt<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volumes.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1013\" height=\"643\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volumes.png\" alt=\"\" class=\"wp-image-12845\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volumes.png?v=1653121374 1013w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volumes-768x487.png?v=1653121374 768w\" sizes=\"(max-width: 1013px) 100vw, 1013px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>The numbered slots, 1, 2&#8230; are used by VeraCrypt to manage encrypted devices.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create VeraCrypt Outer Volume<\/h3>\n\n\n\n<p>There are two types of VeraCrypt Volumes;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>File-hosted (container)<\/strong>: File-hosted volume is a normal file that can be stored on any storage device. It contains an independent encrypted virtual disk.<\/li>\n\n\n\n<li><strong>Partition\/device-hosted<\/strong>: Partition hosted volume is a hard drive partition. It can be a removable USB sticks or any other type of storage.<\/li>\n<\/ul>\n\n\n\n<p>To create a VeraCrypt volume select a random slot and click on the <strong>Create Volume<\/strong> button. You will be prompted to choose the type of the volume, File Container or a Partition.<\/p>\n\n\n\n<p>In this guide, we are going to create an encrypted partition. If you opt to create an encrypted file container, the process it the same.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/encrypt-partition-veracrypt.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"811\" height=\"515\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/encrypt-partition-veracrypt.png\" alt=\"How to Install and Use VeraCrypt to Encrypt Drives on Ubuntu 18.04\" class=\"wp-image-12846\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/encrypt-partition-veracrypt.png?v=1653121446 811w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/encrypt-partition-veracrypt-768x488.png?v=1653121446 768w\" sizes=\"(max-width: 811px) 100vw, 811px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>Click <strong>Next<\/strong> to select the type of VeraCrypt volume to create, standard or hidden.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Standard volume<\/strong> is just like any other file except that it is password protected<\/li>\n\n\n\n<li><strong>Hidden volume<\/strong> is not visible as the name suggests and can have layered protection with two passwords, the outer and inner encrypted volume password.<\/li>\n<\/ul>\n\n\n\n<p>In this guide, we are going to create an Hidden volume.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/create-hidden-veracrypt-volume.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"824\" height=\"524\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/create-hidden-veracrypt-volume.png\" alt=\"How to Install and Use VeraCrypt to Encrypt Drives on Ubuntu\" class=\"wp-image-12847\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/create-hidden-veracrypt-volume.png?v=1653121531 824w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/create-hidden-veracrypt-volume-768x488.png?v=1653121531 768w\" sizes=\"(max-width: 824px) 100vw, 824px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>In the next screen, you need to select the drive to encrypt.<\/p>\n\n\n\n<p><strong>CAUTION: If you are encrypting a partition, ensure that there is no data in it or the data has been backed up and backup confirmed. The process will wipe the partition clean and you will all data, if any was stored in it.<\/strong><\/p>\n\n\n\n<p>Note that I have unused partition, <strong><code>\/dev\/sdb1<\/code><\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lsblk<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT\nsda      8:0    0    20G  0 disk \n\u2514\u2500sda1   8:1    0    20G  0 part \/\n<strong>sdb      8:16   0     4G  0 disk \n\u2514\u2500sdb1   8:17   0     4G  0 part <\/strong>\nsr0     11:0    1  1024M  0 rom  \nsr1     11:1    1  1024M  0 rom \n<\/code><\/pre>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/select-drive-to-encrypt.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"815\" height=\"522\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/select-drive-to-encrypt.png\" alt=\"How to Install and Use VeraCrypt to Encrypt Drives on Ubuntu\" class=\"wp-image-12848\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/select-drive-to-encrypt.png?v=1653121572 815w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/select-drive-to-encrypt-768x492.png?v=1653121572 768w\" sizes=\"(max-width: 815px) 100vw, 815px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>Confirm that you are ready to encrypt the drive to continue. You maybe prompted to enter your system admin password before you can proceed.<\/p>\n\n\n\n<p>Next, you are required to select the encryption as well as the hashing&nbsp; algorithms. We are going with the defaults, AES and SHA512.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/outer-volume-encryption-algorithm.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"810\" height=\"513\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/outer-volume-encryption-algorithm.png\" alt=\"How to Install and Use VeraCrypt to Encrypt Drives on Ubuntu\" class=\"wp-image-12849\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/outer-volume-encryption-algorithm.png?v=1653121611 810w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/outer-volume-encryption-algorithm-768x486.png?v=1653121611 768w\" sizes=\"(max-width: 810px) 100vw, 810px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>Click <strong>Next<\/strong> to proceed. On the next page, set the password for outer encrypted volume.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volume-password.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"815\" height=\"518\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volume-password.png\" alt=\"How to Install and Use VeraCrypt to Encrypt Drives on Ubuntu\" class=\"wp-image-12850\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volume-password.png?v=1653121715 815w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volume-password-768x488.png?v=1653121715 768w\" sizes=\"(max-width: 815px) 100vw, 815px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>On the next page, set the volume Filesystem type. We choose Linux Ext4 in this setup.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volume-fstype.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"515\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volume-fstype.png\" alt=\"How to Install and Use VeraCrypt to Encrypt Drives on Ubuntu\" class=\"wp-image-12851\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volume-fstype.png?v=1653121740 816w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volume-fstype-768x485.png?v=1653121740 768w\" sizes=\"(max-width: 816px) 100vw, 816px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>Choose which platform to mount the volume. For our case, we will only use Linux.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/volume-cross-platform-support.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"813\" height=\"518\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/volume-cross-platform-support.png\" alt=\"How to Install and Use VeraCrypt to Encrypt Drives on Ubuntu\" class=\"wp-image-12852\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/volume-cross-platform-support.png?v=1653121774 813w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/volume-cross-platform-support-768x489.png?v=1653121774 768w\" sizes=\"(max-width: 813px) 100vw, 813px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>Next, you need to generate random numbers that will be used to strong encryption keys. The randomness is collected from the mouse movements <strong>within the volume creation wizard<\/strong>. The faster the mouse moves, the faster the random numbers are generated. Make sure the bar is filled before you proceed.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/generate-randomness.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"815\" height=\"517\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/generate-randomness.png\" alt=\"\" class=\"wp-image-12853\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/generate-randomness.png?v=1653121800 815w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/generate-randomness-768x487.png?v=1653121800 768w\" sizes=\"(max-width: 815px) 100vw, 815px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>Once done, click <strong>Format<\/strong> and select <strong>yes<\/strong> to confirm that you want to format the drive.<\/p>\n\n\n\n<p>After that format the drive. If everything is well, then you should see a screen confirming that the hidden VeraCrypt volume has been successfully created and mounted on <strong>\/media\/veracrypt1<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"527\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-drive-encrypted-mounted.png\" alt=\"\" class=\"wp-image-12855\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-drive-encrypted-mounted.png?v=1653124035 816w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-drive-encrypted-mounted-768x496.png?v=1653124035 768w\" sizes=\"(max-width: 816px) 100vw, 816px\" \/><\/figure><\/div>\n\n\n<pre class=\"wp-block-code\"><code>df -hT \/media\/veracrypt1<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Filesystem             Type  Size  Used Avail Use% Mounted on\n\/dev\/mapper\/veracrypt1 ext4  3.9G   16M  3.7G   1% \/media\/veracrypt1<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Create Veracrypt Inner Hidden Volume<\/h3>\n\n\n\n<p>You can go ahead and create a hidden volume within the Outer volume created above. You can store your really really sensitive data within the inner hidden volume.<\/p>\n\n\n\n<p>So before you can close the volume creation wizard, click <strong>Next &gt; then Next<\/strong>.<\/p>\n\n\n\n<p>Go through the same procedure above;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set the encryption and hashing algorithms<\/li>\n\n\n\n<li>Set the inner hidden volume size.<\/li>\n\n\n\n<li>Set the inner hidden volume password<\/li>\n\n\n\n<li>Set the filesystem<\/li>\n\n\n\n<li>Choose whether to use across the platforms or just Linux only.<\/li>\n\n\n\n<li>Generate hidden volume randomness and format the volume.<\/li>\n\n\n\n<li>Once everything is done, the VeraCrypt volume is now ready to use.<\/li>\n<\/ul>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volumes-created.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"519\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volumes-created.png\" alt=\"\" class=\"wp-image-12854\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volumes-created.png?v=1653123924 818w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-volumes-created-768x487.png?v=1653123924 768w\" sizes=\"(max-width: 818px) 100vw, 818px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>You can now close the wizard. This will unmount the volumes automatically.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mounting VeraCrypt Outer and Inner Hidden Volumes<\/h3>\n\n\n\n<p>To mount the Outer hidden volume;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Launch VeraCrypt<\/li>\n\n\n\n<li>Select a slot to mount your drive<\/li>\n\n\n\n<li>Select the drive to mount by clicking on <strong>Select Device<\/strong> button or <strong>Select File<\/strong> if you created encrypted File.<\/li>\n<\/ul>\n\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click <strong>Mount<\/strong> to mount your encrypted drive.<\/li>\n\n\n\n<li>You will then be prompted to enter the <strong>password for decrypting the outer volume<\/strong> and click <strong>Ok<\/strong>. Once done, you maybe prompted to also supply the admin user password to enable mounting.<\/li>\n<\/ul>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/mount-password.png\" class=\"td-modal-image\"><figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"619\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/mount-password.png\" alt=\"\" class=\"wp-image-12857\" title=\"\"><\/figure><\/a><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You Outer volume is now mounted.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>df -hT \/media\/veracrypt1<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Filesystem             Type  Size  Used Avail Use% Mounted on\n\/dev\/mapper\/veracrypt1 ext4  3.9G   16M  3.7G   1% \/media\/veracrypt1<\/code><\/pre>\n\n\n\n<p>To mount the VeraCrypt Inner hidden volume;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Follow the same mount procedure above, <strong>BUT<\/strong> when prompted to enter password to mount the drive, <strong>Enter the password for the hidden volume<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>For example, I mounted my inner hidden volume on slot 7;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>df -hT \/media\/veracrypt7<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Filesystem             Type  Size  Used Avail Use% Mounted on\n\/dev\/mapper\/veracrypt7 ext4  992M  2.6M  923M   1% \/media\/veracrypt7<\/code><\/pre>\n\n\n\n<p>Feel free to explore more about this awesome encryption tool.<\/p>\n\n\n\n<p>Read more on <a href=\"https:\/\/www.veracrypt.fr\/en\/Beginner%27s%20Tutorial.html\" target=\"_blank\" rel=\"noopener noreferrer\">VeraCrypt Documentation<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Other Related Tutorials<\/h3>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/how-to-use-veracrypt-on-command-line-to-encrypt-drives-on-ubuntu-18-04\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to use VeraCrypt on command line interface to encrypt files and directories<\/a>.<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-and-setup-veracrypt-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noopener noreferrer\">Install and Setup VeraCrypt on Ubuntu 20.04<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/how-to-encrypt-files-and-folders-with-ecryptfs-on-ubuntu-18-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Encrypt Files and Folders with eCryptFS on Ubuntu 18.04<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-and-setup-openvpn-server-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install and Setup OpenVPN Server on Ubuntu 20.04<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, we are going to learn about how to install and use VeraCrypt to encrypt Drives on Ubuntu 18.04. VeraCrypt is an open-source software forked<\/p>\n","protected":false},"author":1,"featured_media":12819,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,159,34,64],"tags":[5199,1549,1548,1547,227],"class_list":["post-1237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","category-encryption","category-security","category-ubuntu-18-04","tag-encrypt-drives-using-veracrypt","tag-encrypt-drives-using-veracrypt-ubuntu","tag-install-veracrypt-ubuntu","tag-install-veracrypt-ubuntu-18-04","tag-veracrypt","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/1237"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=1237"}],"version-history":[{"count":23,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/1237\/revisions"}],"predecessor-version":[{"id":21070,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/1237\/revisions\/21070"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/12819"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=1237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=1237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=1237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}