put this line in /etc/fstab
FAT partition with read-write permission
/dev/sda5 /media/d_drive vfat user,fmask=0111,dmask=0000 0 0
NTFS partition with read only permission run this command
$ mount -t ntfs -o nls=utf8,umask=0222 /dev/sda1 /media/c_drive/
To list available disk devices run this command
$ fdisk -l