When using the Ubuntu operation system to mount Windows partitions, it mounts the windows partitions on your computer automatically but it assigns a different path to the the disks every time they are remounted. This is particularly irritating because it breaks my wallpaper and music libraries in Ubuntu. Establishing a permanent mount point is possible by using /etc/fstab, which is a configuration file used by mount command.
Steps to Setup a Permanent Mount Point
To establish a permanent mount point, first note the number of physical disks you have ( i.e C:\, D:\ ).
Open up each disk in Ubuntu and make sure that the disk you are going to mount is correct.
Now open up the terminal and type sudo blkid .
It will display the UUID and the name and type of the partitions on the computer. As you can see, I have four windows partitions (the ones with the type ntfs), ignore the one called as System Reserved, it is an default partition of Windows 7 bootloader.
Now in a the terminal type sudo gedit /etc/fstab .
In gedit, add lines to the configuration file in this format. UUID=<UUID> /media/<Name> ntfs rw,auto,users,noexec,nls=utf8,umask=007,gid=46 0 0
Here, UUID is the UUID of the individual partitions we got from running the blkid command, hold off on the <name> field, I will explain how to do that in a second.
You can give an unique mount point to your windows drive such as /media/cdrivedude or /media/cccc . Just make sure you assign names that are easy to type and remember to your disks.
After you have chosen an name, open up an terminal and type in the following commands sudo mkdir /media/<the cool name you gave to your drive> and make sure that you create four folders in /media/ if you have to mount four local disks. Now that you have created enough folders for your disks, it’s time to add them to your /etc/fstab file.
Now save the file and run the command sudo mount -a.
You will find that the drives mount properly, but if you see errors then check spelling and drive paths to make sure everything is typed correctly.
Any questions or if you need additional tips, please let me know.