Notes

Mount NTFS drives in Linux

Edit on GitHub

System Administration
 1# install ntfs-3g
 2# on Ubuntu 18.04 ntfs-3g is already installed
 3sudo apt update && sudo apt install -y ntfs-3g
 4
 5# create a mount point for the drive ( /media/username/EXTRA )
 6mkdir /media/${HOME}/EXTRA
 7
 8# identify the NTFS drive
 9# sudo fdisk -l | grep NTFS
10# lsblk -f
11blkid
12
13# mount the drive ( /dev/sdb1 )
14sudo mount -t ntfs-3g /dev/sdb1 /media/${HOME}/EXTRA

Make it permanent by editing /etc/fstab

1# identify the UUID of the drive ( 269E88799E8842F3 )
2ls -l /dev/disk/by-uuid/
3
4# edit /etc/fstab
5sudo nano /etc/fstab
UUID=269E88799E8842F3 /media/aamnah/EXTRA ntfs-3g defaults 0 0

get a drive’s UUID

1ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Dec 10 12:17 269E88799E8842F3 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 10 12:17 8E8015EA8015D993 -> ../../sda4
lrwxrwxrwx 1 root root 10 Dec 10 12:17 a93aa8af-ff03-417f-8682-44bf488469b5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Dec 10 12:17 c26182a4-a9fa-4534-899b-95f369b0e556 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 10 12:17 C8C0E236C0E22B00 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 10 12:17 d6d1e3b5-23a7-4126-b352-ea85c593b13a -> ../../sda6