automount ntfs partition in your ubuntu 14.04

Do you want to automatically mount windows partition in ubuntu? read this tutorial to show how to do it.

For the first, open you terminal to check your system partition with run this command :

sudo blkid

blkid

And then you will see the device id and file system on your PC.

Next, run the command below to open the fstab with your favorite  editor. In this case, my favorite editor is nano, so i will type this command like this :

fstab

fstab-open

Next, add this line

UUID=xxxxxxxxxxx /mnt/ntfs-data ntfs users,defaults 0 0

ntfs-data is the name of directory used for your partition, you can give another name what you want. in this case i give name ntfs-data for the directory.

fstab-line-uuid

Save the fstab file.

After that, go to /mnt directory, and make a directory with name ntfs-data or  your own name of directory.

mkdir

Next, change the owner of the mount point by running this command :

sudo chown <username> /mnt/ntfs-data

Replace <username> with your username in your PC

chown

And then restart your PC and open your terminal and go to /mnt/ntfs-data to access your data from the other partition.

If you have any question or you have already succeeded to do this tutorial in your machine, give a comment for this post. 🙂 . Thank you.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s