Auto mount a disk drive in ubuntu | How to make partitions mount at startup?

Take note of the partitions ids with the following code from Terminal..

sudo blkid

Open the config file-
sudo nano /etc/fstab

And use the partition UUID and add it on the config file.

Example –

UUID=01D52F04DB64AB00 /media/mahmud/software ntfs defaults 0 0