LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-11-2006, 04:18 PM   #1
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Rep: Reputation: 15
USB Device


I need to mount a USB device, but I'm not sure about its name in /dev/. I tried /dev/bus/usb/001/001, but that didnt' seem to work. Any suggestions--for my distro?

I couldn't find sda, sdb, or usbfs. Are there any other names?

Last edited by Tux-O-Matic; 12-11-2006 at 04:20 PM.
 
Old 12-11-2006, 05:00 PM   #2
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
Can you post the output of this command
dmesg | grep sd
That should tell us quite a bit, enough to help more maybe. You might want to think about some sort of auto mount daemon. Not sure of it's name in Fedora. You might want to include your /etc/fstab here, if you want it auto mounted in the future.

David

Last edited by budword; 12-12-2006 at 03:43 PM.
 
Old 12-11-2006, 05:04 PM   #3
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
What would dmesg do? In Fedora, it just lists stuff having to do with stuff like this.
 
Old 12-11-2006, 05:44 PM   #4
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
I would tell you what Fedora thinks your USB device is called, (if it was connected at boot.) then you could figure out the rest. I assumed the usb device was a thumb drive, then re-read your post. What sort of device is it exactly ?

dmesg | grep usb

Might work better, if it isn't a thumb drive.

Last edited by budword; 12-12-2006 at 03:43 PM.
 
Old 12-12-2006, 02:08 PM   #5
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
It is a thumb drive. I don't really recall the company, I'm sorry.
 
Old 12-12-2006, 03:07 PM   #6
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
That's not what I mean at all. I mean, does Fedora call it /dev/sda or something else ? /dev/sda is the most likely, but not the only thing it could be called.

David
 
Old 12-12-2006, 03:09 PM   #7
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
There is no device that says something along the lines of sda or sdb. Maybe FC5 is too old for USB's or I somehow deleted sda?

I don't really know what else it would be called. I saw something that I didn't notice before: when I booted with the USB in the drive, it started blinking, which it never does.

Last edited by Tux-O-Matic; 12-12-2006 at 03:10 PM.
 
Old 12-12-2006, 03:43 PM   #8
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
The blinking just means your computer found it. That would be the point of the "dmesg | grep usb" command I told you would be helpful. If you won't post the results of these two commands then I just plain can't help you.

dmesg | grep sd
dmesg | grep usb

From the output of these commands we can figure it out. Once we know what your computer is calling it, then we can edit your /etc/fstab file so linux will mount it on it's own in the future. It's almost always sda, but if you have a sata hard drive it'll most likely be called sdb. The output of those two commands will help us figure it out. I can't say it any plainer than that. If you can't/won't post the output of those commands we can't help, or I can't at least.

Best of luck...

David
 
Old 12-13-2006, 03:51 PM   #9
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
Well, I've just about mounted it, and I've found that the filetype is hfs, but when I edit /etc/fstab and try to mount the file system, Linux says that it couldn't find the hfs filesystem. I'm confused why becuase it turned green when I typed it into /etc/fstab.
 
Old 12-14-2006, 03:03 AM   #10
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
Instead of putting hfs put auto instead, see if that works. And the turning green bit was just your editors text highlighting, doesn't mean anything else.
 
Old 12-18-2006, 05:59 PM   #11
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
Nope, didn't work.

I think what would really help is someone with a Fedora Core 5 distro, and then they could tell me excatly what they have in /etc/fstab, and exactly what commands they used. I don't recall the name of the USB Drive if that matters, but I know that it's a 1.1.
 
Old 12-19-2006, 01:57 AM   #12
red_moin
LQ Newbie
 
Registered: Dec 2006
Posts: 7

Rep: Reputation: 0
/dev/sda1/mnt/auto defulat users noauto 0 0
is the command to run USB in linux 9
 
Old 12-19-2006, 01:58 AM   #13
red_moin
LQ Newbie
 
Registered: Dec 2006
Posts: 7

Rep: Reputation: 0
how to i add modem in linux 9
 
Old 12-19-2006, 02:00 AM   #14
red_moin
LQ Newbie
 
Registered: Dec 2006
Posts: 7

Rep: Reputation: 0
ad MOdem

AoA i am from Pakistan, i am new user of linux, i just got problem, that i have linux 9 but my modem which is intel abnet, is not working and also not dedacted by Linux, is any body tell me how i can install the modem. i b waiting
 
Old 12-20-2006, 04:02 PM   #15
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
When I was experimenting last night, I typed in:
Code:
locate usb | grep -w usb
and oddly this came up:
Code:
/dev/disk/by-id/usb-LEXAR_JUMPDRIVE_PRO_106A6208025706170805
/dev/disk/by-id/usb-LEXAR_JUMPDRIVE_PRO_106A6208025706170805-part1
/dev/disk/by-path/usb-106A6208025706170805:0:0:0
/dev/disk/by-path/usb-106A6208025706170805:0:0:0-part1
.....
Code:
/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/usb
There were some more things, too, but those are most noteworthy, especially the first two, because that is my USB model. I then edited /etc/fstab and inserted the following line:
Code:
/dev/disk/by-id/usb-LEXAR_JUMPDRIVE_PRO_106A6208025706170805     /mnt/usb        auto    defaults 0 0
When I mounted the USB, the drive started blinking! (Before, it only did this on startup). However, no matter how I tried to mount it...
Code:
mount /mnt/usb/
mount -t auto /dev/disk/by-id/usb-LEXAR_JUMPDRIVE_PRO_106A6208025706170805 /mnt/usb/
...I always came up with the same error message:
Code:
mount: you must specify the filesystem type
Anybody have any suggestions? I don't have sda listed in the /dev directory, and not even sdb.

Last edited by Tux-O-Matic; 12-20-2006 at 04:04 PM.
 
  


Reply

Tags
dev, mount, usb



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 drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
How to force kernel to use a USB 2.0-compatible device (ehci_hcd) as a USB 1.1 device eze Linux - Hardware 0 05-16-2006 05:24 AM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 08:46 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM
how can I mount this device: da0: <USB 2.0 Storage Device alkad_mzu *BSD 2 11-15-2003 06:15 PM

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

All times are GMT -5. The time now is 03:58 AM.

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