LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-15-2007, 01:58 AM   #1
zebias
LQ Newbie
 
Registered: Nov 2007
Location: Harare Zimbabwe
Distribution: Red Hat 9
Posts: 17

Rep: Reputation: 0
Question Usb/ Flash disk not detected


I am dual booting XP and redhat 9

When I insert a flash disk or any othet usb device it is not being
detected by the os. If i check under devices it is no there as well.

What command do you have to use to configure the os so that it is abele
to detect the flash disk. Do you have to mount the device or what and how
do you go about mounting the flash disk.

May someone kindly explain hoew i get my redhat to be able to detect the
flash dis and when it is detected weher do i view it in order to retrieve
files from it.

The usb ports are working fine as they work when i boot with xp
 
Old 11-15-2007, 03:06 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Could you explain what kind of flash memory you have and what your hardware is. On some computers, a TI chip is used for sd card readers and I don't think that one is supported. However a usb pen drive should be detected.

Enter in the terminal: "sudo tail -f /var/log/messages". Then insert a pendrive. What messages do you see. Is a device (such as sdb1 created?)
 
Old 11-15-2007, 03:18 AM   #3
andrews-mark
Member
 
Registered: Feb 2007
Location: London
Distribution: debian
Posts: 108

Rep: Reputation: 15
some window managers like gnome or kde try to make the detection and mounting of external media as painless and automatic as some people come to expect with windows or macs. in other cases, more manual work is required.

if you haven't tried it already, you could try doing "fdisk -l" as root. That will tell you if the system sees the attached device's filesystem. Also, the command "dmesg" will print out all system messages originating from the kernel. It will usually say if it is has detected something, like a usb memory stick, once you insert it. "dmesg | tail " will print its most recent message, while you could use "dmesg | grep <pattern>" to search for a specific piece of text.

If the kernel sees them, and if the device's file system is seen and is valid, then you just need to mount the device using the mount command, maybe with something like "mount /dev/sde1 -t vfat /mnt/usb" (assuming such a mount point exists, and assuming the attached device is at /dev/sde1, etc).

assuming any or all of the above worked, there are various ways to make this whole procedure less painful. But that's another story.

-mark
 
Old 12-28-2007, 07:02 AM   #4
zebias
LQ Newbie
 
Registered: Nov 2007
Location: Harare Zimbabwe
Distribution: Red Hat 9
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by andrews-mark View Post
some window managers like gnome or kde try to make the detection and mounting of external media as painless and automatic as some people come to expect with windows or macs. in other cases, more manual work is required.

if you haven't tried it already, you could try doing "fdisk -l" as root. That will tell you if the system sees the attached device's filesystem. Also, the command "dmesg" will print out all system messages originating from the kernel. It will usually say if it is has detected something, like a usb memory stick, once you insert it. "dmesg | tail " will print its most recent message, while you could use "dmesg | grep <pattern>" to search for a specific piece of text.

If the kernel sees them, and if the device's file system is seen and is valid, then you just need to mount the device using the mount command, maybe with something like "mount /dev/sde1 -t vfat /mnt/usb" (assuming such a mount point exists, and assuming the attached device is at /dev/sde1, etc).

assuming any or all of the above worked, there are various ways to make this whole procedure less painful. But that's another story.

-mark
Thanks for the commands. I found out that mu redhat does recognise the filesystem for my flash stick and the kernel did detect that there was a new device. usb.c: registered new driver usb-storage.

Having done that i was only left with mounting the usb device .
This is what i did

# mkdir p /mnt/myflash -----creating a mount point

# mount /dev/sda1 /mnt/myflash -------mounting the flash disk

# cd /mnt/pen ------viewing the files
# ls l

This worked for me.
 
Old 12-28-2007, 07:39 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You really should consider installing a distribution newer than Red Hat 9, as it's out of date and no longer supported.
 
Old 12-28-2007, 07:45 AM   #6
zebias
LQ Newbie
 
Registered: Nov 2007
Location: Harare Zimbabwe
Distribution: Red Hat 9
Posts: 17

Original Poster
Rep: Reputation: 0
ok thganx

do have any distributions in mind
 
Old 12-28-2007, 07:55 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
If you like Red Hat, there's Fedora, but any of the major distributions are good really (see DistroWatch.com for info on many of the distros available).
 
  


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
USB hard disk not detected drhadidy Linux - Hardware 3 09-16-2007 08:20 PM
USB hard disk not detected drhadidy Mandriva 1 09-15-2007 07:41 AM
USB disk not detected on Slackware 10.2 mahdif Slackware 4 10-01-2006 09:29 AM
USB Flash Drive not detected kamransoomro84 Slackware 21 05-24-2004 05:51 AM
USB 2.0 Flash Drive Detected As Security Device? mtnbikerjerry Linux - Hardware 1 04-22-2004 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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