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 [ Ссылка ]
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: [ Ссылка ]
Donate through PayPal: [ Ссылка ]
################################################
More cool Linux stuff at other social media:
Google+ - Best Linux Stuff: [ Ссылка ]
Facebook - Top Linux Tips: [ Ссылка ]
Twitter - Daily Linux News: [ Ссылка ]
Website: [ Ссылка ]
Auto-mount Encrypted partitions at boot (Easy!)
Теги
automount encrypted partitionautomount luks encrypted partitionAuto-mount encrypted partition at bootauto-mount encrypted partitionubuntu encrypted partition automountmount encrypted partition during bootlinux automount encrypted partitionlinux encrypt entire hard drivelinux encrypted partition with dataencrypt data linuxlinux encrypt hard drivecryptsetup tutorialluks encryption linuxlinux encryption tutorialAverage Linux User