LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-07-2007, 12:54 PM   #1
Networks
LQ Newbie
 
Registered: Feb 2006
Posts: 11

Rep: Reputation: 0
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.
 
Old 06-07-2007, 01:05 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
It should be /dev/sda1 not /dev/sda
 
Old 06-07-2007, 01:27 PM   #3
Networks
LQ Newbie
 
Registered: Feb 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by masonm
It should be /dev/sda1 not /dev/sda
Thank you that worked.
 
Old 06-07-2007, 01:44 PM   #4
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
Thought it might

You're welcome
 
Old 06-07-2007, 01:50 PM   #5
Networks
LQ Newbie
 
Registered: Feb 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks again. One more question: how do you unmount the USB drive?
 
Old 06-07-2007, 02:03 PM   #6
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
The command is umount /mount-path
 
Old 06-07-2007, 08:30 PM   #7
geesegaggle
LQ Newbie
 
Registered: Dec 2006
Distribution: Fedora Core 7
Posts: 7

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting USB external drive with multiple partitions, USB bluetooth mouse xmeson Slackware 7 12-17-2006 09:00 AM
Mounting split raid drive as normal drive via USB William_Syd Linux - Newbie 2 11-01-2006 07:07 PM
USB drive mounting RohanShrivastav SUSE / openSUSE 10 06-08-2005 02:57 AM
Need help mounting USB drive mngmd Linux - Hardware 4 05-29-2005 09:06 PM
Mounting my USB external drive, USB 1.1 Devillion Linux - Hardware 4 01-04-2004 09:11 AM


All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration