Auto-mount Encrypted partitions at boot (Easy!) @AverageLinuxUser
Auto-mount Encrypted partitions at boot (Easy!)  @AverageLinuxUser
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
Auto-mount Encrypted partitions at boot (Easy!)My KDE Plasma 5 desktop layout on Arch Linux | Channel IntroHow to use SSH Public Key authenticationDo you like the pace of my Linux videos? 1000 subscribers special 😀Do you need a Firewall on Linux?Get Maximum of Plasma 5 Widgets!20 Things To Do After Installing OpenSUSEDebian 10 Review (GNOME)Firefox Quantum Review: Google Chrome killer?Creating a New User in LinuxMaking an animated GIF in LinuxUbuntu 17.10: the Good, the Bad and the Ugly
Average Linux User |

Auto-mount Encrypted partitions at boot (Easy!)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER