LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Closed Thread
  Search this Thread
Old 05-05-2007, 04:12 PM   #1
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Rep: Reputation: 15
Mounting FAT fs on usb stick


'mount -t vfat /dev/sda1 /mnt/usbstick' is not working.

Error message:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

how do i get my usb mounted as fat fs?
 
Old 05-05-2007, 04:22 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Duplicate of this thread.
 
Old 05-05-2007, 04:22 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
FAT32 should be detected automatically, so actually specifying it with -t is not really necessary.

That said, make sure that /dev/sda1 exists and is the device you think it is. Running "fdisk -l" should give you an idea of what is going on.
 
Old 05-05-2007, 04:35 PM   #4
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
i don't see any usb devices using fdisk -l
 
Old 05-05-2007, 04:52 PM   #5
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
maybe the flash is formated wrong?
 
Old 05-05-2007, 05:21 PM   #6
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Are you making sure to run it at as root? As a normal user, you won't see anything.
 
Old 05-05-2007, 05:28 PM   #7
K05T9
Member
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware 11.0
Posts: 49

Original Poster
Rep: Reputation: 15
How could i see anything, if i can't even mount it as fat?
 
Old 05-05-2007, 11:18 PM   #8
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
For reference's take, you have to run "fdisk -l" as root.

But beyond that, this is a duplicate topic and should/will be closed.

Last edited by MS3FGX; 05-05-2007 at 11:21 PM.
 
Old 05-06-2007, 06:26 AM   #9
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



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 a USB stick in Fedora 6 ashlesha Linux - Desktop 4 03-29-2007 04:15 PM
Mounting a usb stick oookiezooo Linux - Newbie 15 04-13-2005 12:09 PM
mounting a USB stick.. kurrupt Linux - Hardware 2 01-01-2005 01:13 AM
Mount my USB stick (FAT) hyllplan Linux - Hardware 3 11-05-2004 03:09 AM
mounting usb a stick sethgeekx86 Slackware 1 05-19-2004 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:29 PM.

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
Open Source Consulting | Domain Registration