LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-16-2004, 12:53 AM   #1
NewbGhostShells
Member
 
Registered: Aug 2003
Distribution: Fedora Core 2
Posts: 35

Rep: Reputation: 15
Usb flash drive not working on FC2


On the nifty computer thing in FC2, when i insert my flash stick drive thing, it recognizes it is there. I double-click it to open it and thus view the contents and hopefully edit them. I encounter this :
/dev/sda1: Input/output error
mount: /dev/sda1: can't read superblock

I have no idea what a superblock is. A solution would be helpful.
 
Old 07-16-2004, 02:49 AM   #2
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
sounds like a corruption. can you fdisk /dev/sda? what does it show?

do you have more than one usb device plugged in at the moment? if so are you sure that you arnt trying to mount something other than the usb device?
 
Old 07-16-2004, 01:26 PM   #3
NewbGhostShells
Member
 
Registered: Aug 2003
Distribution: Fedora Core 2
Posts: 35

Original Poster
Rep: Reputation: 15
cant fdisk.
bash: fdisk: command not found
also tried as su. not sure if i actually have to log in as root to do that though, ill try it after i post. I have 2 usb devices plugged in in the back of the tower. One a mouse, and the other is connecting from the internet box..thing. It recognizes both of those, and when i do plug the flash drive in it recognizes it is a flash drive, but i get that error when accessing it.

As root i did this:
# fdisk /dev/sda1

Unable to read /dev/sda1

the flash drive was in at the time.

Last edited by NewbGhostShells; 07-16-2004 at 01:29 PM.
 
Old 07-19-2004, 02:36 AM   #4
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
forget the corruption bit for now. it looks like you just arnt fdisking the correct device.

try fdisk /dev/sdb then try /dev/sdc then try a few more increasing up the alphabet. you should find it it will have one partition if its been formatted with fat and that will be /dev/sdX1 (X being a letter that corresponds to the correct device which you havent found yet). that is, presuming you have usb mass storage turned on in the kernel. i dont know what fedora has turned on by default.
 
Old 07-19-2004, 07:59 PM   #5
NewbGhostShells
Member
 
Registered: Aug 2003
Distribution: Fedora Core 2
Posts: 35

Original Poster
Rep: Reputation: 15
well i was looking around and i found that it in fact was sda, not b or c or any of those (in hardware browser). So i do what you said for me to do in the beggining :
# fdisk /dev/sda
Command (m for help):
whatever it is, it doesnt help me much. What should i do from here? How can i tell if usb mass storage is turned on in the kernel, and if it isn't, how could i turn it on?

Edit : YAY! I was fooling around trying to mount the flash drive, and i typed in
# mount /dev/sda /mnt/flash/

and i got it working. Thank you for all the help. Is there anyway i can have this happen automatically when i plug it in? I have to modify fstab dont I? Where can i find it, and how should i edit it? I dont know how to use vi or any of those programs.

Last edited by NewbGhostShells; 07-19-2004 at 10:50 PM.
 
Old 07-26-2004, 03:38 AM   #6
slhaffly
LQ Newbie
 
Registered: Jul 2004
Location: Schofield Barracks, Hawaii
Distribution: Fedora
Posts: 2

Rep: Reputation: 0
I haven't had any luck with this either. I have tried to manually edit the /etc/fstab file to add the entry you used successfully, but it doesn't work. Fstab gets rewritten at boot time and eliminates any changes I have made.

Regards,

Stephen
 
  


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
My Flash Drive not working in mandrake 10.0 lbabey Linux - Hardware 0 11-22-2004 11:55 AM
usb flash drive 3system is not working Jovan Linux - Hardware 11 05-01-2004 08:54 AM
USB 2.0 Flash Drive fusee Linux - Hardware 3 04-16-2004 05:46 PM
USB Flash drive stopped working after Windows exposure oot Linux - General 1 03-31-2004 09:18 PM
USB Flash Drive Hady Linux - Hardware 1 11-20-2003 01:41 PM


All times are GMT -5. The time now is 07:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration