LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-03-2004, 02:03 AM   #1
Shinra
LQ Newbie
 
Registered: Jun 2004
Location: Sydney
Distribution: Fedora, Knoppix
Posts: 3

Rep: Reputation: 0
Newbie USB Flash Memory mounting question


I've recently installed Fedora Core 1 on my computer, and cannot seem to get my USB flash stick mounted. Its a 128mb Jetflash 2.0, which i'm fairly certain is formatted FAT.

It won't auto-detect, and when i try
mount -t vfat /dev/sda1 /mnt/usb
I get an error message about sda1 being a bad block device or something like that (cannot remember verbatim). I'm thinking that perhaps the device isn't sda1 as i was told to expect it to be, but cannot think how to check this.

If it matters, i'm on a KDE desktop. Any help would be appreciated, ty.
 
Old 06-03-2004, 02:14 AM   #2
DiWi
Member
 
Registered: Jun 2004
Location: Frankfurt/M Germany
Distribution: SuSE 9.3/10.2/10.3
Posts: 64

Rep: Reputation: 16
Hi

First check the following as root:
lsusb should give you a list of attached USB devices
lsscsii shows you, how the kernel mapped your USB stick to scsii devices.

If sda is present, do the following:
- detach the USB stick
- reboot without stick
- atach the USB stick
- look in the output of dmesg and search for USB and SCSII

finally try the mount again. If it fails, look in the output of dmesg

Dirk
 
Old 06-03-2004, 02:26 AM   #3
Shinra
LQ Newbie
 
Registered: Jun 2004
Location: Sydney
Distribution: Fedora, Knoppix
Posts: 3

Original Poster
Rep: Reputation: 0
I'm afraid that went by a bit quick for me, lol. I don't know what lsusb is, where its stored, or what i'm looking for in it. Nor lsscsii. And how exactly do i check the output of dmesg?

I only know the basics of linux, and beyond the mount commands and how to edit fstab and such, i'm a bit lost in the woods. Could you please give me something a little more step-by-step?

Sorry for the bother.
 
Old 06-03-2004, 03:47 AM   #4
DiWi
Member
 
Registered: Jun 2004
Location: Frankfurt/M Germany
Distribution: SuSE 9.3/10.2/10.3
Posts: 64

Rep: Reputation: 16
No problem

lsusb and lsscsi are commands, that can be invoked from a shell. Just simply open a shell/terminal and enter lsscsi
You'll get a list of the available scsi devices /dev/sda ....

To see, if the USB stick is correctly attached open a shell/terminal and change to root (su - )
Than enter the comand lsusb
This should display all USB related devices which where found by the kernel
If you can find the USB stick enter dmesg. Look at the output and scroll backwards. You'll finde something like new USB device found. From there the kernel should show how he map it to a virtual scsi device.

If something goes wrong, try search the forum. There're lot of entries, what can go wrong

Dirk
 
  


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
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 05:39 PM
Problem mounting USB flash memory bfair Linux - Newbie 2 02-26-2005 10:36 PM
USB flash memory drive question luksch Linux - Newbie 2 01-22-2005 11:58 AM
problem with mounting flash memory card from digital camera jogurt666 Linux - Hardware 3 12-07-2003 11:54 AM
mounting disk-on-chip flash memory SirRobbin Linux - Hardware 0 08-20-2003 08:07 AM

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

All times are GMT -5. The time now is 12:26 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