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 :
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 :
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.
Save the fstab file.
After that, go to /mnt directory, and make a directory with name ntfs-data or your own name of directory.
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
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.