home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Linux and Unix
Ask a Tech Support Question (free)!

RH9 - USB Stick

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2145
Discussions: 200,959, Posts: 2,379,531, Members: 246,329
Old November 2nd, 2004, 12:14 AM   Digg it!   #1 (permalink)
Member
 
Join Date: Apr 2004
Posts: 31
RH9 - USB Stick

Hi Folks, I have recently installed Redhat 9 and have found problems mounting my USB Stick Memory Drive. I usually mount it to the CD-ROM mount point ( /mnt/cdrom) with no ill effects ( I admitt I haven't needed to use both the CD and the stick at the same time yet). The problem occurs when I try to unmount the memory stick, it appears to umount the CDROM mount point, but not the device itself. When I go to access the CDROM mount point it tells me it's not mounted - seems right o.k.? - but after I remove the memory stick, I get a error message saying that there is a disk read failure? . This in itself dosen't seem too strange as the disk is no longer connected. But why is RH9 still looking for the device if it is unmounted. The following lines are the commands I use to mount and unmount the device.

mount /dev/sda /mnt/cdrom
umount /mnt/cdrom

This last command seems to unmount the device but as stated above gives the error message (when in text mode anyway).

Does anyone know the correct commands for mounting a USB drive under Red Hat 9?

Thanks in advance.
goatieau is offline   Reply With Quote
Old November 2nd, 2004, 12:25 AM     #2 (permalink)
Did you try Google yet?
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Buckhannon, WV
Posts: 3,468
Send a message via AIM to Siliconjunkie
The commands are the same as any other mount.

Try creating it's own mountpoint and see what happens.
__________________
My computer is bigger than yours!
Siliconjunkie is offline   Reply With Quote
Old November 2nd, 2004, 12:38 AM     #3 (permalink)
Member
 
Join Date: Apr 2004
Posts: 31
Thanks SiliconJunkie but the problem still occurs. After I unmount the drive the LED indicator still indicates connectivity and a message is recieved after the umount command that /dev/sda is not mounted. When I physically disconect the drive ( inbetween LED flashes - I'm always concerned this will damage the drive, but it hasn't yet) I get that error message that reads:
sda: READ CAPACITY failed
<output ommitted>
unable to read partion table

mount /dev/sda /mnt/usb
umount /dev/sda /mnt/usb
umount: /dev/sda: not mounted

Any other suggestions?
goatieau is offline   Reply With Quote
Old November 2nd, 2004, 01:40 AM     #4 (permalink)
Uncommon Man
 
samwichse's Avatar
 
Join Date: Oct 2001
Location: State College, PA
Posts: 4,281
Out of curiosity, have you tried formatting the stick in a windows machine? I got a Lexar JumpDrive and it kept acting weird with Linux (both kernels 2.4 and 2.6), it turns out there are people all over the internet having trouble with it, and a fresh (non-factory) formatting takes care of them all.

For one thing, I'm pretty sure you need to mount/unmount /dev/sda1

The sda is the device, the 1 is the partition.

It should be something like:

mount -t vfat /dev/sda1 /mnt/usb

See if that works for you.
samwichse is offline   Reply With Quote
Old November 2nd, 2004, 03:09 AM     #5 (permalink)
Member
 
Join Date: Apr 2004
Posts: 31
Thanks Samwichse,
the stick is actually formatted and contains Windows data. I wasn't sure at first if Red Hat 9 would allow me to see this data but the drive works fine when mounted. It is the umount command that gives me grief. Although RH9 seems to unmount the device the LED indicator on the drive indicates the contrary as well as the error message stated above.

I tried using that mount /dev/sda(#) /mnt/usb command and recieved the same error for #=1-4:
mount: /dev/sda(#) is not a valid block device
For mount /dev/sda0 /mnt/usb I recieved this error:
mount: special device /dev/sda0 does not exist

Thanks for your input though.

The battle continues.
goatieau is offline   Reply With Quote
Old November 10th, 2004, 02:46 PM     #6 (permalink)
Senior Member
 
Join Date: Oct 2001
Posts: 881
Send a message via AIM to zskillz
have you made any progress? I'm having one of the same problems...

-Z
zskillz is offline   Reply With Quote
Old November 11th, 2004, 05:15 AM     #7 (permalink)
Member
 
Join Date: Apr 2004
Posts: 31
No not so far. I'm tinking it's probably either got to do withthe stick itself (+RH9) or maybe something to do with the kernel version I am running. I will post any updates on this thread for you and others to read.

Cheers
Goatieau
goatieau is offline   Reply With Quote
Old November 11th, 2004, 05:47 AM     #8 (permalink)
Member
 
lynch's Avatar
 
Join Date: May 2004
Posts: 224
What's your etc/fstab look like?
Also, a look at the relevant permissions could be worthwhile.
You can also take a look at a mini-howto that crouse posted at usalug .
HTH
lynch
__________________
www.usalug.org
www.opensuse.us
lynch is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
mandrake 9.2 iseeu_3 Linux and Unix 13 December 11th, 2003 10:09 PM
Partition strategy needed inzzane Storage Related 8 October 1st, 2003 01:22 AM
wanting a pen/thumb/flash usb drive Omardeth General Discussion and Buyer Guidance 11 July 20th, 2003 01:41 PM
Bootable USB ThumbDrive avz Technical Support 4 May 28th, 2003 09:41 PM
redhat9: what do you want reviewed? storm2k Applications and Operating Systems 15 March 28th, 2003 08:20 AM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2969)
The disrespect of Obama by Russian .. (42)
Making Health Care Worse (179)
Wireless Televisions. (12)
CPU fan stops spinning randomly (9)
Regular Build (11)
windows 7 problem (7)
Laptop with wireless problem. (5)
windows vista security holes (13)
Print spooler problem (16)
Is the PSU I received dead? (12)
radeon x850xt platinum & shader.. (6)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Recent Discussions
Print spooler problem (16)
Nvidia GTX 260 problem (0)
windows vista security holes (13)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
Open With ..... Win7 (1)
webcam (0)
upgrade for hp a6101 (0)
Laptop with wireless problem. (5)
Modern Warfare 2: Who Bought It? (64)
tv not turn on-makes clicking sound (2)
CPU fan stops spinning randomly (9)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Internet Lost (3)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
Point and Shoot Camera Suggestions. (4)
Ideal cheap graph card for PC-Gaming? (18)
radeon x850xt platinum & shader 3 (6)
Graphics Card Upgrade Question (4)
For Sale BFG GTX285 OC2 with 10 year .. (3)
How to convert MP3's (4)


All times are GMT -4. The time now is 10:04 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28