Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to auto mount all my partitions on startup. This is how my /etc/fstab file looks like:

proc    /proc   proc    nodev,noexec,nosuid     0       0
#Entry for /dev/sda1 :
UUID=3bf842ea-923b-43fe-b5f9-066fc920aaec       /       ext4    errors=remount-$
#Entry for /dev/sdb1 :
UUID=F0C859BDC8598330   /media/Bas      ntfs-3g defaults,locale=en_US.UTF-8    $
#Entry for /dev/sda3 :
UUID=146213A76D02F7AD   /media/sda3     ntfs-3g defaults,locale=en_US.UTF-8    $
UUID=1C33A98704D941F1   /media/sda3     ntfs-3g defaults,locale=en_US.UTF-8    $
#Entry for /dev/sda5 :
UUID=ba48c631-5652-4ce7-85a3-bda96b353ca7       none    swap    sw      0      $

The last line I added myself manually. Can anyone help me with this?

share|improve this question
It seems you add a wrong entry (/media/sda3 is duplicated) please first list the /dev/sda* you have –  user61928 Oct 2 '12 at 10:06
Do you want a program that will do it for you automatically ? –  Suhaib Oct 2 '12 at 17:37
add comment

1 Answer

You have duplicated lines for the same mount point /media/sda3 appears two times. Try creating a new mount point like /media/newdisk and put it in your /etc/fstab I'm taking your input as example, if /media/sda3 works, so should this line.

UUID=1C33A98704D941F1   /media/newdisk     ntfs-3g defaults,locale=en_US.UTF-8    $
share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.