For a NTFS drive auto mounted in /media/your drive here/ at boot I used the command blkid like this:
Switch to root user in a konsole.
- Code: Select all
[john@localhost ~]$ su root
Password: enter root password here
[root@localhost ~]# blkid
/dev/sdc1: LABEL="2TBHDD" UUID="BE823D33823CF18F" TYPE="ntfs" PARTUUID="536a5b38-01"
[root@localhost ~]#
I removed the other drives to make it simple to see the drive I was working with.
Then take the
UUID=BE823D33823CF18F and make a line in /etc>fstab like this:
- Code: Select all
UUID=BE823D33823CF18F /media/2TBHDD ntfs-3g defaults,nofail,umask=000 0 0
Make a directory in /media, in my case it is called 2TBHDD. This is your mount point.
Use the UUID highlighted in bold to build the line to add to the fstab file. It is located in /etc
This makes it mount it at boot and the nofail option prevents a failed boot if the device is not present.
blkid will give the UUID in quotes, but notice in the fstab file there are no quotes included.
Doks way will allow mounting any drive I guess which is great, but I just mounted my spinner storage drive. My Windows SSD doesn't get mounted unless I want to mount it, and I have to use the password. I'm about ready to format the Windows SSD. I don't use it since I set up Win7 in a VM with Virtualbox.