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.

Since plugging the hard drive in didn't automatically make a window pop up I decided to manually mount the hard drive in Disk Utility. It gives me this:

Error mounting: mount exited with exit code 1: helper failed with:
mount: according to mtab, /dev/sdb1 is already mounted on /
mount failed

Could this have been caused by leaving the hard drive plugged in when shutting down?

/etc/mtab:

/dev/sdb1 / ext4 rw,errors=remount-ro,commit=0 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
none /dev devtmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
gvfs-fuse-daemon /home/matthew/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=matthew 0 0

/etc/fstab:

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
/dev/sda1       /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=3b0db205-2bdb-4c98-a506-6bdd3520d540 none            swap    sw              0       0
share|improve this question

closed as too localized by Luis Alvarado Mar 14 '13 at 17:17

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Could you please show us the contents of your /etc/mtab and /etc/fstab? –  Marco Ceppi Sep 19 '10 at 14:49
    
And /proc/mounts as i shows what is currently mounted. –  Source Lab Sep 19 '10 at 15:39
    
Sorry... Here you go. –  RPG Master Sep 19 '10 at 18:46

3 Answers 3

If you don't have a lot of data on your disk I might just format/partition it and then set up a new directory to mount it to using terminal. Then you could either manually mount it or have it automatically mounted on start up. This page will show you how to format/partition and mount.

share|improve this answer

SOLUTION:-

You can change it manually, by changing your / partition entry to it's actual device name.

Find your / partition's actual device (eg. in my case /dev/sdb1)

Press ALT + F2 Type gksudo gedit Open up /etc/fstab.

Change your root partition to the device listed in "Disk Utility". Restart your computer, and enjoy

In my case I changed /etc/fstab Entry

/dev/sda1 / ext4 errors=remount-ro 0 1

to this

"/dev/sdb1 / ext4 errors=remount-ro 0 1"

Read about 'MTAB' & 'FSTAB' in wikipedia for more clarity... Quite nicely explained there...Thanks 2 all you guys @ Wikipedia.

share|improve this answer

here is ubuntu help page for mounting usb drives. I have an external hardrive which has 2 ntfs and 1 ext3 partition I have entered the configuration on /etc/fstab so that it mounts on boot time. You can do this if you do not usually move your external drive. There is another mounting utility for automount, you can install it with

sudo apt-get usbmount
share|improve this answer

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