2

I have Ubuntu 14.04 and would like to permanently mount my WD Elements external harddisk.

I currently use this to mount it manually:

sudo fdisk -l  

The drive normally is at /dev/sdc1

sudo mount -t ntfs-3g /dev/sdc1 /media/my_directory_here

I'm guessing there is a way to automatize this?

1 Answers1

3
  1. Find UUID for the drive /dev/sdc1 with blkid command
  2. Then add a entry for the ntfs partition in /etc/fstab

    [partition]        [mount point]      [type]  [options]         [dump]  [pass]
    
    UUID=UUIDHERE...   /media/mount/point ntfs-3g defaults,nobootwait  0      0
    
  3. mountall

You can also use a gui utility called ntfs-config to automatically generate an entry for you in fstab

Gayan Weerakutti
  • 3,770
  • 26
  • 38