LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-20-2004, 06:04 AM   #1
amala
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
Valid block device for USB memory stick on SUSE 9.2


Hi there, I am trying to read a USB memory stick on SUSE 9.2 (Gnome)

I took another postings advice and in /etc/fstab, I created:-

/dev/sda /mnt/removable vfat noauto,users,rw,exec,umask=002 0 0

and it is not reading 'sda' as a valid block device. I tried quite a few others and they were not accepted either.

Any suggestions?

Thanks in advance
 
Old 12-20-2004, 06:16 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
well sda without any number isn't a valid block device...try instead sda4 or sda1 or something like that. for me, one stick was sda4 but the one I have now is sda1 (when it works...this kernel I'm running doesn't like my usb-stuff too much, works sometimes and sometimes does not)

try reading dmesg or /var/log/messages when plugging the stick in, to get some clues...or /proc/bus/usb/devices or something....but I guess it's sdaX where X is some number..
 
Old 12-21-2004, 07:10 PM   #3
amala
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Original Poster
Rep: Reputation: 0
thanks,

i did try many combinations of /sda# and none seem to be working...

does anyone have any other suggestions??
 
Old 12-23-2004, 09:44 AM   #4
dufus
LQ Newbie
 
Registered: Mar 2004
Location: New Mexico, USA
Distribution: Debian
Posts: 4

Rep: Reputation: 0
If you have other USB storage devices installed it might not be /dev/sda
I have a usbstick and a usb camera, the first one plugged into the USB is assigned /dev/sda(x) and the second one /dev/sdb(x)

As 'b0uncer' suggested:
dmesg
or
less /var/log/messages
or
less /var/log/syslog
 
Old 12-24-2004, 12:05 PM   #5
pdewag
LQ Newbie
 
Registered: Dec 2004
Location: The Netherlands
Distribution: Suse 9.2
Posts: 1

Rep: Reputation: 0
SUSE 9.2 --- the device name of an USB MEMORY STICK can be found by:
step 1. program USBview; this will show the device serial number
(for me 7777777777777777)
NOTE: step 1 not necessary, but handy for a hardware check,
and this serial number is shown in YAST Hardware Info)

step 2. program Yast HardWare Info; this will show the device names
(for me under: DASD disks, Ultra Floppy, dev_names)
in my case three names:
1. /dev/sda
2. /dev/disk/by-path/usb-disk/by-path/usb-7777777777777777:0:0:0
3. /dev/disk/by-id/OTi-Ultra_Floppy
/dev/sda did not work, so I used the third device name

step 3. Create a directory where you want the device to be mounted on.
For me at this moment: /home/dewag/USBpen

step 4. Edit /etc/fstab and add the following with your own parameters:
/dev/disk/by-id/OTi-Ultra_Floppy /home/dewag/USBpen vfat
noauto,user,rw,exec,umask=002 0 0

step 5. Execute the command mount /dev/disk/by-id/OTi-Ultra_Floppy

Now, I can read and write to the Memory Pen via /home/dewag/USBpen
 
Old 12-24-2004, 12:20 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
With the device plugged in type ' /sbin/fdisk -l ' It will tell if it sees it or not and what filesystem is on it as well.

Brian1
 
  


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
mount-problem usb harddisk: not a valid block device micha Mandriva 2 11-21-2004 10:29 AM
USB Pen Drive, /dev/sda1 is not a valid block device Aeiri Linux - Hardware 3 08-13-2004 10:32 AM
usb thumbdrive not valid block device cjdock Linux - Hardware 1 02-07-2004 04:11 AM
USB CF Card Reader/Write not a valid block device cromwell Linux - Hardware 10 01-06-2004 10:11 PM
USB Song Memory Stick Device KePSuX Linux - Hardware 3 07-09-2003 04:38 PM

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

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