LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-20-2004, 04:56 PM   #1
mccclxxxv
LQ Newbie
 
Registered: Dec 2003
Posts: 4

Rep: Reputation: 0
read external hard drive


K Ive searched and searched, but I can't find the answer to this...

Why won't linux recognize my external usb hard drive???? Its a maxtor 5000DV and it has 1 partition on it.

when i do /sbin/fdisk -l, this is what i get:
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 5142 41303083+ 7 HPFS/NTFS
/dev/hda2 5143 7296 17302005 f Win95 Ext'd (LBA)
/dev/hda5 5143 5208 530113+ 82 Linux swap
/dev/hda6 5209 5274 530113+ 83 Linux
/dev/hda7 5275 7296 16241683+ 83 Linux

all that is my internal hard drive.

I'm running a version of Redhat 9 specialized for my school. Its called athena, but it very much like red hat 9.

i think i need to install some drivers or something because I think i got this working on fedora before, but i can't remember what i did....

can ne1 help????

thanks
 
Old 04-20-2004, 05:44 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
First, do you have mass storage installed in your kernel or as a module?
Instead of fdisk run lsusb to see your usb devices.
 
Old 04-21-2004, 02:41 PM   #3
mccclxxxv
LQ Newbie
 
Registered: Dec 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Yea....my drive is in there. here's the reading:]

Bus 004 Device 002: ID 0d49:5020
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0d49
idProduct 0x5020
bcdDevice 1.00
iManufacturer 1 Maxtor
iProduct 3 5000DV v01.00.00
iSerial 2 Y4237HNE
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 512
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x88 EP 8 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 512
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 2
bInterval 9
Language IDs: (length=4)
0409 English(US)
 
Old 04-21-2004, 05:34 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Run # lsusb and not # lsusb -v for a listing and not all that verbose information.

Since I'm using Slack, YMMV -- however, if you don't already have a directory under
/mnt such as /mnt/hd or /mnt/usbhd then you should make one. Then as su issue ->
# mount /dev/sda1 /mnt/usbhd (your mount point)
and see if that does it. Then issue ->
# ls -alc /mnt/usbhd (your mount point)
and see what data that returns.

You should get something like this ->
Code:
bash-2.05b# mount /dev/sda1 /mnt/usbhd
bash-2.05b# ls -alc /mnt/usbhd
total 33
drwxr--r--    4 root     root         4096 Jan  1  1970 .
drwxr-xr-x    9 root     root          216 Apr 10 07:20 ..
drwxr--r--    6 root     root         4096 Apr 17 18:21 Jason_Backup
drwxr--r--   15 root     root        24576 Mar 16 08:10 Videos
To unmount the drive issue ->
bash-2.05b# umount /mnt/usbhd (notice /dev/sda1 not listed and no n following first u)

NB: If you're going to use this drive on a regular basis, I'd suggest creating a mount
point in /etc/fstab so that you can mount it as a normal user and not as su, such as ->
Code:
/dev/sda1        /mnt/hd          vfat        user,umask=1000,rw,auto 0 0
 
Old 04-21-2004, 06:15 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,853

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Does the output of the command lsmod show any USB modules being loaded?
Does the output of dmesg show any errors for your USB device?
 
  


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
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Can't read external hard drive alrymala Linux - Security 1 10-23-2005 01:42 PM
Setting permissions on an external USB hard drive so that all users can read from it? Pi Man Linux - Hardware 2 09-07-2004 09:50 PM
External USB DVD Drive Read Problem hogliux Linux - Hardware 0 06-13-2004 12:01 PM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 10:41 PM


All times are GMT -5. The time now is 08:37 PM.

Main Menu
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