USB external hard drive

USB external hard drive

Post by Bob Cen » Fri, 27 Feb 2004 23:16:22



Hi,

 Can anyone recommend a good site that describes how to configure one's
RedHata system so that it can recognize an external hard drive connected by
USB?

Thanks.

 
 
 

USB external hard drive

Post by Dances With Crow » Fri, 27 Feb 2004 23:52:33


On Thu, 26 Feb 2004 06:16:22 -0800, Bob Cent staggered into the Black
Sun and said:

Quote:> Can anyone recommend a good site that describes how to configure one's
> RedHata system so that it can recognize an external hard drive
> connected by USB?

You need a whole website to explain this?

0. modprobe usb-uhci (or usb-ohci)
1. modprobe usb-storage
2. mount /dev/sda1 /mnt/somewhere
(NOTE: if you have a real SCSI disk somewhere, you will see your USB
device on /dev/sdb, so adjust the mount command to taste.)

...you can put the modprobe commands in /etc/init.d/boot.local or the
Redhat equivalent (/etc/rc.d/rc.local ?) so they'll be executed every
time you boot the system.  If the mount command doesn't work, do
"dmesg | tail -20" and if there's a line like

Device 0x0F00:BA2F is not claimed by any active driver

...in the output, you need to get a newer kernel.  The latest stable
version is 2.4.24, so if you're using anything older, it's time to
upgrade.  HTH,

--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /    mail: TRAP + SPAN don't belong
http://www.brainbench.com     /                Hire me!
-----------------------------/ http://crow202.dyndns.org/~mhgraham/resume

 
 
 

1. USB external hard drive.

Having recently upgraded a laptop I've found myself with a spare 4Gb
2.5" hard disk. I've bought a USB enclosure for it and have succeeded in
using it with various Windows XP systems. I've had no luck making it
work with my Linux machine though.

Here's some details:

# uname -a
Linux mint 2.4.9-21 #1 Thu Jan 17 14:16:30 EST 2002 i686 unknown

# lsmod
Module                  Size  Used by
...
usb-storage            55276   0
sr_mod                 15480   0 (autoclean)
ide-cd                 27072   0 (autoclean)
cdrom                  28576   0 (autoclean) [sr_mod ide-cd]
hid                    19040   0 (unused)
input                   3840   0 [mousedev keybdev hid]
usb-uhci               21668   0 (unused)
usbcore                51808   1 [usb-storage hid usb-uhci]
advansys               84352   0
sd_mod                 11900   0 (unused)
scsi_mod               98584   4 [usb-storage sr_mod advansys sd_mod]

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: TOSHIBA  Model: DVD-RAM SD-W1111 Rev: 1010
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor:          Model:                  Rev:    
  Type:   <NULL>                ANSI SCSI revision: ffffffff

# cat /proc/scsi/usb-storage-0/1
   Host scsi1: usb-storage
       Vendor: Quick-ServUSBIDE
      Product: Quick-ServUSBIDE
Serial Number: None
     Protocol: 8070i
    Transport: Bulk
         GUID: 04ce00020000000000000000
     Attached: 1

--
Regards,

Dave

/*
 * Dave Flitney, Computer Manager
 * Oxford Centre for Functional MRI of the Brain

 * URL: http://www.fmrib.ox.ac.uk/~flitney
 */

2. ATI Rage 128 Ultra and Debian Linux

3. External USB hard drive not recognized as valid block device

4. Crystal Audio? How to reconfigure?

5. IOMEGA USB 2.0 external Hard drive

6. ppp intermitent connection

7. A bit of a problem with USB 2.0 external hard drive.

8. popen() -- any equivalent for fifos

9. installing linux on external hard drive usb connected

10. USB 2 or FireWire (for external hard drive)

11. USB CD-R/RW burners and external hard drives

12. installing linux on external hard drive usb connected

13. spin-down external USB hard drive