LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 09-03-2006, 11:13 PM   #1
northern_lights
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
How will Red Hat 9 detect a USB flash drive?


Good day. I have a San Disk Cruzer flash drive. I also have Red Hat Linux 9.0 running on my laptop. If I am in the Windows environment, it detects the flash drive. But when I plug it while I am in Linux, nothing happens. How will Red Hat 9 detect my flash drive? What do I have to do?

Thanks...
 
Old 09-04-2006, 12:07 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
I'll assume your running a kernel that supports both USB and SCSI Disk (sd_mod). Once you plug in the USB drive, wait 10 seconds and type dmesg, the output should list a new devices at /dev/sd_ and it will likely be /dev/sda, but that is up to the OS/udev to decide. Once you know that your usb drive is /dev/sda, then you can mount it with mount -t vfat /dev/sda /mnt/usb assuming you have /mnt/usb created. You could mount it to any empty path you choose.

If your uncertain that the correct kernel modules are installed, post the output of lsmod and lspci so that we can talk you through the steps of enabling the correct modules.
 
Old 09-04-2006, 12:37 AM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,160

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
I've never had problems with USB flash drives in RH(, but be advised that that distro is old and unsupported and if you want a lot of the more recent hotpluggable hardware to work you're well advised to upgrade to something newer like FC5. That being said, as long as you have the usb-storage module as well as the SCSI modules described by musicman_ace everything should work out of the box for something simple like a USB drive.
 
Old 09-20-2006, 10:23 AM   #4
Freehand
LQ Newbie
 
Registered: May 2006
Location: Philly
Distribution: Fedora/Ubuntu
Posts: 13

Rep: Reputation: 0
I have a similar problem with the latest version of CentOS running on a Dell Optiplex GX-240. Nothing happens when a USB HDD is plugged into any USB port on the computer.

I tried running lsmod and lspci but the commands were not found from the terminal.

Thank you
 
  


Reply

Tags
redhat, usb


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
How to detect USB Flash drive in C program? kr123 Programming 1 12-06-2005 03:56 PM
kinoppix 3.7 doesnot detect the usb flash drive nirVaan Linux - Newbie 2 06-02-2005 02:16 AM


All times are GMT -5. The time now is 01:10 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration