Uploaded March 2018 | Updated November 2026, 2 days ago
You can make your encrypted partitions auto-mount during the system boot. No one wants to waste time mounting partitions manually every time you need them.
This tutorial is only for LUKS encrypted partition. If you use any other encryption method, auto-mounting settings may differ. I recommend using LUKS encryption that I showed in this previous video. Watch it if you missed it youtu.be/ch-wzDyo-wU
Commands used in the video:
lsblk
sudo cryptsetup luksUUID /dev/sdb1
sudo nano /etc/crypttab
sdb1 /dev/disk/by-uuid/fd3c01ad-0e59-4bc1-9bda-7c61e00b36cf none luks
sudo mkdir /mnt/encrypted_sdb1
sudo nano /etc/fstab
/dev/mapper/sdb1 /mnt/encrypted_sdb1 ext4 defaults 0 2
################################################
Support on Patreon: patreon.com/averagelinuxuser
Donate through PayPal: paypal.me/Kryvokhyzha
################################################
More cool Linux stuff at other social media:
Google+ - Best Linux Stuff: plus.google.com/+AverageLinuxUser
Facebook - Top Linux Tips: facebook.com/AverageLinuxUser
Twitter - Daily Linux News: twitter.com/AVGLinuxUser
Website: averagelinuxuser.com
You can make your encrypted partitions auto-mount during the system boot. No one wants to waste time mounting partitions manually every time you need them.
This tutorial is only for LUKS encrypted partition. If you use any other encryption method, auto-mounting settings may differ. I recommend using LUKS encryption that I showed in this previous video. Watch it if you missed it youtu.be/ch-wzDyo-wU
Commands used in the video:
lsblk
sudo cryptsetup luksUUID /dev/sdb1
sudo nano /etc/crypttab
sdb1 /dev/disk/by-uuid/fd3c01ad-0e59-4bc1-9bda-7c61e00b36cf none luks
sudo mkdir /mnt/encrypted_sdb1
sudo nano /etc/fstab
/dev/mapper/sdb1 /mnt/encrypted_sdb1 ext4 defaults 0 2
################################################
Support on Patreon: patreon.com/averagelinuxuser
Donate through PayPal: paypal.me/Kryvokhyzha
################################################
More cool Linux stuff at other social media:
Google+ - Best Linux Stuff: plus.google.com/+AverageLinuxUser
Facebook - Top Linux Tips: facebook.com/AverageLinuxUser
Twitter - Daily Linux News: twitter.com/AVGLinuxUser
Website: averagelinuxuser.com










