- HOW TO USE VERACRYPT UBUNTU HOW TO
- HOW TO USE VERACRYPT UBUNTU INSTALL
- HOW TO USE VERACRYPT UBUNTU UPDATE
- HOW TO USE VERACRYPT UBUNTU FULL
- HOW TO USE VERACRYPT UBUNTU PORTABLE
In order to format as exFAT, you’ll need to have installed the exFAT utilities on your system (see the Prerequisites section above).
HOW TO USE VERACRYPT UBUNTU PORTABLE
In order to keep this container portable across other OS’s (Windows and macOS) we’ll format using exfat. Next up, for the encryption method we picked it needs to know the hashing algorithm.
HOW TO USE VERACRYPT UBUNTU FULL
There are quite a few, so refer to the VeraCrypt documentation for a full list. In a previous blog post I cover hidden types, and if you are going to do a hidden volume I would suggest using the GUI in order to assure it is done right.įor this demo we’ll go with a normal volume. Next is the volume type, normal or hidden. I’m using the same “super secure” password I’ve used in my last few posts. I wanted to keep this demo simple though, and focus on VeraCrypt so I’ve just hard coded it. Normally you would not want to hard code it, but rather pass it into your script as a parameter. Here I’m going to keep it small for demo purposes and use 200 megabytes. If you just list a number, VeraCrypt assumes you mean bytes, but you can also affix M for megabytes, G gigabytes, K kilobytes, and so on. Next we indicate how big we want our container to be. Otherwise, you can specify the full path to the. Be sure to cd into this folder from the terminal command line before issuing the full command. For this demo, I’m just going to use the Documents directory. We next tell VeraCrypt we want to create a new file container, and where it is to be stored at. Note, the -text parameter must be the FIRST parameter you pass in, or it will not work. The -text parameter says we want to use VeraCrypt in text mode, not GUI. In addition you’ll need to call it using sudo. You do though, need to use all lowercase as Linux is case sensitive. By default VeraCrypt installs in /usr/bin, but because /usr/bin is in the path you don’t have to specify it when calling VeraCrypt.
The first item is the veracrypt command, assuming you installed it in the default location. OK, that’s a bit hard to read, so let me break it out into each part below. sudo veracrypt -text -create vctest.vc -size 200M -password MySuperSecurePassword1! -volume-type normal -encryption AES -hash sha-512 -filesystem exfat -pim 0 -keyfiles "" -random-source randomdata.txt Please note that while your blog reader may wrap the command below, it should be one line in your shell script or from the command line. Let’s start by looking at the long line of code needed to create a container. We’ll explain its use shortly, but you’ll need to copy this file into Documents as well, or when the time comes include the full path to it. Second, included in this demo is a randomdata.txt file. This will make it easier as we won’t have to specify full paths to our files. So in the terminal be sure to cd into your Documents. First, I’ll be storing the container in my Documents folder. OK, let’s get started! Creating a Containerīefore we begin I’d like to make two notes.
HOW TO USE VERACRYPT UBUNTU UPDATE
I’ll update it over time as needed, and it may be easier for you to download, or cut and paste from it. While I will be providing samples here, you should also check out the project I have on GitHub that goes with this post,
HOW TO USE VERACRYPT UBUNTU INSTALL
In the terminal, I moved to my Downloads folder then issued this command to install it: sudo dpkg -i įrom here I went into Ubuntu’s menu and launched VeraCrypt to validate it installed correctly. In the Ubuntu 20.04 area, I downloaded file into my Downloads folder. I went to and scrolled down to the Linux area. sudo apt-get install -y exfat-fuse exfat-utils Next, in order to format a volume as exFat so it can be used across platforms, you’ll need to install the exFat tools. Sudo apt-get install -y libwxgtk3.0-gtk3-0v5 From the terminal execute these commands. Prerequisitesīefore you install VeraCrypt, you should be aware it has a dependency on the libwxgtk3.0-gtk3-0v5 library, so we might as well install that first. Creating a container, mounting a container (aka volume), getting a list of mounted volumes, and finally dismounting your volumes.Īs I stated in previous posts, the command line syntax is a bit different for all the major operating systems.
HOW TO USE VERACRYPT UBUNTU HOW TO
In this, the third post on using VeraCrypt from the command line, we’ll cover how to use VeraCrypt from Linux, specifically Ubuntu 20.04.