Page 1 of 1

Mount point

Posted: Sun May 26, 2013 7:13 pm
by tommyt
I have an ext3 (or 4, I can't remember) usb HDD that I want to connect to my PC and copy files on to, but I need a mount point. I have googled mount points but can't find a simple step by step guide for newbies. Could anyone steer me in the right direction please?

Thanks

Re: Mount point

Posted: Sun May 26, 2013 7:25 pm
by passerby
External devices are usually mounted automatically, but in the case that you've disabled automatic mounting (or it just plain doesn't work):
-Create a mount point (eg. /media/device1). A mount point is just a directory. You might run something like "sudo mkdir /media/device1" from the terminal
-Find your external device's name. Something along the lines of /dev/sdf or /dev/sdc. You can get this info from utilities like gparted, or by running "sudo fdisk -l" from the terminal
-Once you have the device name and partition number, you can mount it at the mount point you created earlier. eg. "sudo mount /dev/sdf1 /media/device1", where /dev/sdf1 is the partition on your external drive and /media/device1 is the mount point.

Re: Mount point

Posted: Mon May 27, 2013 5:33 pm
by tommyt
Hi

I followed your instructionsand got this:

"mount: you must specify the filesystem type"

I think the disk is ext2 but could be 3. So I tried

"sudo mount /dev/sdb /media/device1 -t FILESYSTEMTYPE ext2"

And loads of gobbledygook came up but disk still wouldn't let me write to it.

So I tried to unmount it but it won't unmount, not with umount command or even ejecting it.

Re: Mount point

Posted: Mon May 27, 2013 9:40 pm
by Spearmint2
Did you unplug the USB connection, and then plug it back?

Re: Mount point

Posted: Mon May 27, 2013 10:49 pm
by passerby
Remove the "FILESYSTEMTYPE" from your command, and remember to use the partition number.
eg. "sudo mount -t ext2 /dev/sdb1 /media/device1"

Re: Mount point

Posted: Tue May 28, 2013 11:03 am
by tommyt
passerby wrote:Remove the "FILESYSTEMTYPE" from your command, and remember to use the partition number.
eg. "sudo mount -t ext2 /dev/sdb1 /media/device1"
Did that and got this:

"user1@ThinkCentre-M52 ~ $ sudo mount -t auto /dev/sdb2 /media/device1
mount: /dev/sdb2 already mounted or /media/device1 busy
mount: according to mtab, /dev/sdb2 is already mounted on /media/device1"

Does it want me to unmount the disk but still have it connected (umount) then connect it again? I can't seem to get that to work...

Thanks again.

Re: Mount point

Posted: Tue May 28, 2013 4:28 pm
by Redondo
type: mount from a terminal and look for the usb device that is mounted. Could say "/media/<label name>"

Re: Mount point

Posted: Tue May 28, 2013 5:56 pm
by tommyt
Redondo wrote:type: mount from a terminal and look for the usb device that is mounted. Could say "/media/<label name>"
I got "/media/usb1"
so I ran:
sudo mount -t ext2 /dev/sdb2 /media/usb1
And got:
mount: /dev/sdb2 already mounted or /media/usb1 busy

When I try to eject the disk with right click, I get an error "Failed to eject "STBDISK" - not authorized to perform operation.

Re: Mount point

Posted: Tue May 28, 2013 7:01 pm
by Redondo
tommyt wrote:
Redondo wrote:type: mount from a terminal and look for the usb device that is mounted. Could say "/media/<label name>"
I got "/media/usb1"
so I ran:
sudo mount -t ext2 /dev/sdb2 /media/usb1
And got:
mount: /dev/sdb2 already mounted or /media/usb1 busy

When I try to eject the disk with right click, I get an error "Failed to eject "STBDISK" - not authorized to perform operation.
When it came back with the command of mount, it told you it was already mounted and where. Use Nemo to see if you can find usb1 on the side panel.