How to auto mount my external hard drive?

I'm in a similar situation, except that my system worked just fine with 10.04. I have an external mybook hard drive that I use for backup using nfs4 and grsync. At the end of fstab I have these mount commands:

/media/mybook/laptop_backup /export/laptop_backup none bind 0 0
/media/mybook/laptop_D610 /export/laptop_D610 none bind 0 0
/media/mybook/laptop_www /export/laptop_www none bind 0 0

In 10.04, boot completed with these directories mounted and accessible over the network. When I upgraded to 10.10, the boot pauses with an error message regarding each one giving me the option to press S to skip or some other letter to manually fix the problem. Since I don't know how to fix it, I just skip (once for each directory) and boot completes. Manually executing sudo mount -a succeeds in mounting the directories. I guess the timing changed from 10.04 to 10.10 or something.

Note that there is no mount command for the mybook external USB 1 TB hard drive in /etc/fstab. So I guess the drive automounted in 10.04 and that's not happening in 10.10. I tried adding:

 /dev/sdd1 /media/mybook type ext3

But that failed in the same way that mounting the directories did.

Adding the nobootwait option fixed it. Oddly, it looks like nobootwait apparently causes the system to wait until the mount is completed, even though the man page says the opposite. Here's the commands from /etc/fstab:

/dev/sdd1 /media/mybook ext3 nobootwait 
/media/mybook/laptop_backup /export/laptop_backup none bind 0 0 
/media/mybook/laptop_D610 /export/laptop_D610 none bind 0 0 
/media/mybook/laptop_www /export/laptop_www none bind 0 0 –

This is the GUI way of doing it so you don't have to modify your fstab file manually.

If you look in the repositories you should see a program called mountmanager or from the terminal (command line) just type:

sudo apt-get update
sudo apt-get install mountmanager

Once it is installed you can open it by clicking System->Administration->Mount Manager from the menus.

Note: this program is currently supported till 12.10. It isn't yet available for 13.04.

Once the program is open you can click the extra drive you want to automount from the list on the left. In the options you have a area where you can pick the mount point. In my case I wanted my external drive to be mounted at /media/drive/ so I created a directory there and set it as the mount point. Then I clicked partition->apply from the mount manager menus.

Here it stated it would be modifying my fstab file but I clicked okay. Rebooted my machine and everything was good it was auto-mounted there.


I had this problem and it turned out to be that the device had changed for the drive and it was conflicting with the root drive. After the error the boot process stopped and queried me to type S to skip and continue or M to bring up a shell and do a manual fix.

Typing M and then mount -a resulted in a message that the device was already mounted as / which was not true. This was the hint that it was confused.

It is apparently safer to us UUIDs in the fstab than to use device labels as this avoids such conflicts. You can type "blkid" to find the device to UUID mapping and also see if the device has changed from what you had in the table.

The mountmanager utility allows you to specify labels or UUIDs , so this can be of help if you want to automatically generate the fstab from a GUI.


Basically ubuntu should automount your external harddrive. If it doesnot mount then you can enter the information on /etc/fstab. See here for mounting information.