LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-02-2004, 01:08 AM   #1
cyberhawk
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 34

Rep: Reputation: 15
Having Problems with USB flash disk?


For al those of you having problems with your USB flash disks especially if you get the error "device /dev/sda1 is not a valid block device" when mounting, I have a solution. I have a Transcend Jetflash USB 2.0 memory stick which works under windoze but until recently wouldn't work in linux.

I have been trying to get my USB Flash disk to work in linux for a long time and finally succeeded. if your flash disk is seen by linux but just will not mount it is probablt a problem with the partitions and the scsi emulation, since i gather that usb devices are treated as scsi devices. on solution said to use fdisk /dev/sda to delete any partitions that windose creates and create a single primary partition. and then make this a vfat partition using "mkdosfs". I was about to try that when my USB Flash disk miraculously began to work last night. this was after i had installed the sg3-utils. the sg3 utilities are a set of scsi related utilities that seem to now allow me to mount my disk with all the partitions the windoze has stupidly put on. unfortunately slackware 10 didn't come with it so i had to download it and compile it but this didn't take long at all. so now i have a working USB Flash disk.

so as long as the output of dmesg says your flash stick has been connected to a certain usb port and doing "less /proc/scsi/usb-storage/1" shows you the details of ur flash stick, installing sg3-utils should work.

also something i found out along the way is that windoze treats a flash stick as a floppy device so it doesn't have a proper partition table. this also means that if ur having problems mounting it to /dev/sda1 then u should rather be trying to mount it on /dev/sda coz thats where usb floppy drive get mounted.

hope this helps and that u are able to get ur flash stick working.
 
  


Reply



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
USB flash disk taoweijia Linux - Hardware 2 12-28-2005 04:30 AM
USB flash disk help bakazer Solaris / OpenSolaris 1 06-24-2005 09:30 AM
USB Flash Disk zillah Fedora 3 05-22-2005 03:25 AM
usb flash disk problems nderitualex Linux - Newbie 1 04-04-2005 03:31 AM
USB flash disk. ValidiusMaximus Linux - Software 0 12-30-2004 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:55 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
Open Source Consulting | Domain Registration