From the course: Ubuntu Linux: Essential Commands and System Administration
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Create and mount an encrypted partition
From the course: Ubuntu Linux: Essential Commands and System Administration
Create and mount an encrypted partition
On a Linux system, we can encrypt whole partitions of disks in order to protect them from unauthorized access. There's no such thing as perfect security, but protecting data with encryption and a password is certainly better than nothing if you have sensitive information to safeguard. To encrypt a partition or volume, we'll use LUKS, which stands for Linux Unified Key Setup. The tools we need are available in the package called cryptsetup. So the first thing I'll do is make sure that's installed from the repository. I'll type apt install cryptsetup. While there are tools to convert an existing partition to an encrypted one, they put that data at risk of loss. So in this video, we'll create a brand new empty encrypted partition to start using. If you have data you need to protect, that needs to be copied off somewhere else and then put back on the encrypted partition after it's been created. I'll clear the screen. I'm going to replace the partition that I've been working with and…
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Understanding storage terminology7m 35s
-
(Locked)
Explore and identify block devices3m 42s
-
(Locked)
Create and modify partitions2m 25s
-
(Locked)
Create, modify, and mount file systems6m 54s
-
(Locked)
Create and mount an encrypted partition4m 24s
-
(Locked)
Configure disk mounting4m 24s
-
(Locked)
Exploring disk and file system health4m 19s
-
(Locked)
-
-
-
-
-