Auto-Mount External HDD Partitions on Ubuntu 18.04

Process

  1. Identify/list partitions
  2. Get partition UUID
  3. Add partitions to fstab

Commands

sudo fdisk -l
sudo blkid
sudo nano /etc/fstab

fstab Entry Template

UUID=5AC0600EC05FEEAF /media/DATA   ext4    errors=remount-ro,auto,exec,rw,user     0       0

Additional Info

  1. https://www.cyberciti.biz/faq/mount-drive-from-command-line-ubuntu-linux/
  2. https://www.binarytides.com/ubuntu-automatically-mount-partition-startup/

Did this solve your issue?