LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-30-2006, 11:31 AM   #1
asif2k
Member
 
Registered: Mar 2006
Location: Texas
Distribution: Fedora Project
Posts: 79

Rep: Reputation: 15
cannot mount usb drive,


I created a usb directory in /mnt , then I ran the command
Quote:
mount /dev/sda1 /mnt/usb
I get a error message saying "mount: /dev/sda1 is not a valid block device"

My usb is LexarMedia (512MB).

I am running Fedora Core. The /dev/sda1 does not exist. I ran the command
Quote:
dmesg|grep -i usb

result:
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver hiddev
usbcore: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Is there something I am doing wrong? Can someone help me with this. Your help is appreciated.

thanks in advance

Last edited by asif2k; 08-30-2006 at 11:45 AM.
 
Old 08-30-2006, 02:13 PM   #2
rednuht
Member
 
Registered: Aug 2005
Posts: 239
Blog Entries: 1

Rep: Reputation: 31
run dmesg to find the location of the drive.
 
Old 08-30-2006, 02:22 PM   #3
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Rep: Reputation: 33
unplug your usb device.
Wait a few seconds then plug it back in.
Then type: tail /var/log/messages

This gives me the address of the usb device.

Then do your mount command plugging in the right sd** info.
 
Old 08-31-2006, 07:00 AM   #4
jahvascriptmaniac
Member
 
Registered: Aug 2006
Posts: 34

Rep: Reputation: 15
I had a similar problem with a usb key that wouldn't give me a /dev/sda1 entry, only a /dev/sda one. After one yer of pesting against my Mandrake (it worked with aurox live) I tried mount /dev/sda /mnt/usb instead of complaining about the absence of /dev/sda1. And it worked, cause the data was directly written to the key, without any partitionning.

Also, it may be that linux got a wrong /dev/sda1 position. try this :
dd if=/dev/sda of=/home/you/usbdata.img
and as root :
i=0; while ! mount -o loop,offset="$i" /home/you/usbdata.img /mnt/usb; do echo "$i" i=$[$i+1]; done
This will try getting the begining of your partition.
When you get bored, press control+c.
 
  


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
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 07: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 04: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 02:15 AM
mount usb module then mount usb hard drive guanyu Linux - Hardware 1 10-08-2003 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:55 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
Open Source Consulting | Domain Registration