Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem finding usb devices under CentOS

Status
Not open for further replies.

orbur

Technical User
May 29, 2005
10
US
I have just brought up a bright shiny new CentOS4.3 and am pretty happy with it overall. But when I try to get access to usb compact flash card, I can't seem to find the silly thing. Anyone have any good suggestions as to how to make this work? When I still had a Suse 10 install running I could just plug it in and it showed up. But now I can't seem to find it at all. I hear there may be problems with USB support in this system. If so, any workarounds?

 
if the flash drive is not mounted automatically try the following

create a directory /media/flash (is it does not exists
CentOS should be Debian nased so your flash drive is recognised as a SCSI device
Code:
mount -t vfat /dev/sda1 /media/flash

If you are running SCSI HD then adjust the /dev/sdxx to the first available SCSI channel.


Cheers

QatQat

Life is what happens when you are making other plans.
 
I've had an same issue with some flash drive, had to mount the /dev/sda insted. It didn't help to only mount sda1[ponder]
had no SCSI drives.


Regards
Dan
 
Well, fair enough -

I have it mounting now by building the mount point explicitly and mounting /dev/sda1. I tried /dev/sda and the system did not appreciate the joke. I had to reboot to get started again. Apparently no /dev/sda, but that was an awfully unfreindly way to tell me so. ;^) Anyway, I am now able to make some progress on the problem I set out to solve, but am still puzzeled as to why the USB system did not recognize it and mount it. Used to work on the same hardware under Suse 10, but I guess that is one of the eternal questions. I am running now, so I thank you both for the replies.

All the best,
Orbur
 
QatQat:
"CentOS should be Debian nased". based?. Actually it's RedHat RHEL4 based.

Orbur:
I recalled I had to install some of the Gnome HAL daemons to get USB auto mounting to work on FC4.


--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
Yap, my mistake Zeland.

Hi Grub3r, how did you mount a drive and not a partition?
if you do not specify a partition the system can only mount shares; but given the vfat parameter (and not nfs, smbfs, cifs, etc) mounting the actual drive would result in a error.

Orbur, now it seems that all you have to do is to get it to automount.


Cheers

QatQat


Life is what happens when you are making other plans.
 
Hei QatQat,

I didn't get it either! When I inserted the drive the system tried to automount it for me, but the operation somehow crashed but i did get an icon on my desktop. When I then tried to open it i get en error saying that the drive(or name of the drive) could not be opened.

I umounted it and mount using the mount /dev/sda /somewhere, without filesystem, and it mounted well for me. Strange indeed.




Regards Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top