LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-13-2006, 08:39 PM   #1
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Rep: Reputation: 34
Unable to mount the Flash Drive in RH9


I plugged the USB drive into my computer while booting. I know that the drive has been installed as I can see it's name in the hardware browser.

As root, I type:

mount -t vfat /dev/sda /mnt/flash
mount -t ntfs /dev/sda /mnt/flash
mount -t ext2 /dev/sda /mnt/flash

None of them work.

Here are the contents of my mount:

Code:
/dev/hdb2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hdb1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
/dev/hda5 on /mnt/windows type vfat (rw,umask=0000)
So I type: mount -t usbdevfs /dev/sda /mnt/flash

It works, so I open my /mnt/flash and am greeted by a pile of garbage. I can't even unmount this.

Can somebody help me? Thanks you.
 
Old 10-13-2006, 11:58 PM   #2
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
check the outputs of

# dmesg | grep usb

# dmesg | grep sda

and/or

# fdisk -l

The device should be sda1, sda2 or sdb1, sdb2 etc, but not sda.

Cheers

Last edited by dcdbutler; 10-14-2006 at 12:00 AM.
 
Old 10-14-2006, 12:51 AM   #3
kenji
Member
 
Registered: Sep 2004
Location: Philippines
Distribution: Slackware
Posts: 143

Rep: Reputation: 16
have you tried compiling a new kernel or the driver of the flash drive
RH9 is obsolete so is the drivers maybe your problem is about the driver
i hope this helps| 3
 
Old 10-15-2006, 03:24 PM   #4
kwilliams
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
mounting the flash drive in RH9

Try
mount /dev/sda1 /mnt/flash thats how I mount my flash drive

Kelly Williams
 
Old 10-15-2006, 04:09 PM   #5
Leisy
Member
 
Registered: Sep 2006
Location: Brno, Czech Republic
Distribution: Fedora
Posts: 56

Rep: Reputation: 15
check fdisk -l /dev/sda to look what partition type and number you should use
 
Old 10-16-2006, 12:53 AM   #6
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
And if you dont have a reason to use Redhat 9, update to a more modern distro. Using Redhat 9 now is like using Windows 95 - don't do it.

Most modern distros will automatically mount USB drives for you.

Fedora Core 5 (FC6 will be released soon) is the direct successor to RH9.

--Ian
 
Old 10-17-2006, 05:14 AM   #7
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by kwilliams
Try
mount /dev/sda1 /mnt/flash thats how I mount my flash drive

Kelly Williams
Yes, this worked for me.

I seem to have a problem though:

If I issue the command umount /dev/sda1 , it says that the device is busy even if I'm not using it. How do I unmount it?
 
Old 10-17-2006, 06:15 AM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Most often, this is as you're still in a directory on the flash disk. So cd out of there and umount.
There might be applications that access your device without you knowing it. Not sure how to check for that.
 
Old 10-18-2006, 04:16 AM   #9
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Original Poster
Rep: Reputation: 34
Yes, I unmounted it. Thank you!
 
  


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
Unable to mount USB flash drive in SuSE 10.1 David Gaguine SUSE / openSUSE 5 11-20-2007 12:54 PM
unable to mount flash drive (reads on windows) majalee Linux - Software 10 07-17-2006 05:15 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 08:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 05:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 03:15 AM


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