LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting a USB drive (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-a-usb-drive-559966/)

Networks 06-07-2007 12:54 PM

Mounting a USB drive
 
I am using DamnSmallLinux and I don't know how to access my USB drive.

When I try to mount the drive using:

mount -t vfat -o uid=dsl,gid=users /dev/sda /home/dsl/desktop/flash

I get the following error:
"mount: wrong fs type, bad options, bad super block on /dev/sda or too many mounted file systems"

I am not too sure what to do, any help is appreciated.

masonm 06-07-2007 01:05 PM

It should be /dev/sda1 not /dev/sda

Networks 06-07-2007 01:27 PM

Quote:

Originally Posted by masonm
It should be /dev/sda1 not /dev/sda

Thank you that worked.

masonm 06-07-2007 01:44 PM

Thought it might :D

You're welcome

Networks 06-07-2007 01:50 PM

Thanks again. One more question: how do you unmount the USB drive?

masonm 06-07-2007 02:03 PM

The command is umount /mount-path

geesegaggle 06-07-2007 08:30 PM

And to turn this into a learning opportunity for those that aren’t aware: the ‘1’ at the end of ‘/dev/sda1’ references the first partition on the device ‘/dev/sda’. Just ‘/dev/sda’ would not be enough for mount to know exactly what to mount.


All times are GMT -5. The time now is 06:04 AM.