How to manually mount USB drives

9 April 2008 | Posted by Jay | Filed in Jay, Ubuntu

Some of the following information are taken from here.

1. Insert USB drive.

2. Run the following command to determine if USB drive is detected.

lsusb

3. If the USB is detected, you can then list the device.

fdisk -l

4. You will be able to see something like “/dev/sdf1″ under “Device”. Remember this.

5. Edit the file /etc/fstab and add the following line with the disk information you obtained in step 3. I created a directory (/media/usb) for my USB drive. You can use whatever you want really, but you must use that when you mount the drive.

/dev/sdf1 /media/usb auto noauto,rw,users 0 0

6. Once you completed all steps above, you can mount and access the USB drive.

mount /media/usb

7. To unmount

umount /media/usb