If you have dual booted system, and in your windows installation you have two partitions drive C and D. In your drive D is where all the important files such as documents, musics, etc., and you like to automatically mount drive D on your ubuntu instalation. Then, your on the same situation as mine.
This post will explain how to auto mount your drive D on your ubuntu.
1. Check you hard disk list of partitions by executing
sudo fdisk -l command. This command help you determine which partition is your drive D. On my case is on
2. Create directory for our drive D to be mounted by executing
sudo mkdir /media/drivec
3. Add the partition to
/etc/fstab, by executing
gksudo gedit /etc/fstab
to open the fstab file.
and add the following lines in the end.
/dev/sda2 /media/drivec ntfs defaults 0 0
4. Save the changes, and restart your system.