PDA

View Full Version : external enclosure hard drive



thrustan
03-15-2005, 10:08 PM
knoppix not detecting my external enclosure hard drive. please help!

OErjan
03-17-2005, 06:01 PM
to begin with, there are quite a few unknown things for us.
what kind of external HDD?
is it a USB device?
is it network drive.
is it a SCSI drive?
is it firewire?
is it paralell port (printerport)?
What does
fdisk -l
give as output?
What does
lsusb -v
and

lspci say?
these outputs may look likea foreight language written alien caracters to you, but they help us help you.
they wil give us information as to what you are trying to access and how it might be acheived.

stalexone
03-18-2005, 01:00 AM
I'd like to get my external hard drive up and running with Knoppix. The drive doesn't work with Windows XP but I'm hoping that it will work with Linux/Knoppix.

Also, this is off-topic but I would also like to know how to install the 2.6 kernal vs. the 2.4 so that knoppix always boots with 2.6 with no interaction required by me (or please direct me to the proper forum). Any help would be appreciated on all of these questions.

yakirz
03-18-2005, 05:57 PM
I have a similar problem - I have a USB drive attached:

lsusb shows Bus 001 Device 003: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter

There's a directory in /mnt called usbdevfs, but I can't mount it. There's a reference to something at /proc/bus/usb but I can't find anything in there to mount, either.

rhybeka
04-09-2005, 09:28 PM
Let me pick up where they left off -
I am having the same issues getting Knoppix to recognize a USB harddrive...ie - a 60GB Maxtor IDE harddrive put into an external case that has USB input so I can hook it to my laptop
I'm running Knoppic 3.6 with the 2.6 kernel
the HD shows as SCSI in the info center, and tells me that it's mounted as /dev/sda - but there is no icon or anything for it. The information from the commands above follows :
Any ideas or directions to the right forum (if I'm in the wrong one) would be appreciated :)

fdisk -l states :


Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4863 39062016 7 HPFS/NTFS

Disk /dev/sda: 60.0 GB, 60022480896 bytes
64 heads, 32 sectors/track, 57241 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/sda1 ? 937477 1203315 272218546+ 20 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 ? 649505 912677 269488144 6b Unknown
Partition 2 does not end on cylinder boundary.
/dev/sda3 ? 263179 945973 699181456 53 OnTrack DM6 Aux3
Partition 3 does not end on cylinder boundary.
/dev/sda4 * 680971 680981 10668+ 49 Unknown
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order
root@ttyp0[knoppix]# mount /dev/sda
mount: /dev/sda already mounted or /mnt/sda busy
mount: according to mtab, /dev/sda is already mounted on /mnt/sda


lsusb -v states :
Bus 002 Device 003: ID 06e1:d804 ADS Technologies, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x06e1 ADS Technologies, Inc.
idProduct 0xd804
bcdDevice 0.01
iManufacturer 56 ADS Technologies
iProduct 73 USB2.0 Drive Kit
iSerial 90 6BB109718F53
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
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
Usage Type Data
wMaxPacketSize 0x0040 bytes 64 once
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x88 EP 8 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 bytes 64 once
bInterval 0

Bus 002 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.7 uhci_hcd
iProduct 2 VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
iSerial 1 0000:00:0b.1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 255

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.7 uhci_hcd
iProduct 2 VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
iSerial 1 0000:00:0b.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 255



lspci states :
0000:00:00.0 Host bridge: ATI Technologies Inc: Unknown device cbb2 (rev 02)
0000:00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M]
0000:00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
0000:00:08.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
0000:00:09.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)
0000:00:0a.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
0000:00:0b.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:0b.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:0b.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
0000:00:0c.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
0000:00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
0000:00:11.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
0000:00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
0000:01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 340M
0000:02:00.0 Network controller: Intersil Corporation Intersil ISL3890 [Prism GT/Prism Duette] (rev 01)

OErjan
04-10-2005, 07:50 AM
to me it looks like the disk has no recognised filesystem on it.
and to makes things harder, it is partitioned, but the partition table seems odd.
a few more questions.
where did you get the disk from?
what filesystems is on it that you are aware of?
how was it partitioned, partition magic, qtparted, fdisk (dos or linux)
some of the norton disk tools aplied to it (they seem to make life hard for partition tables...)?

rhybeka
04-10-2005, 12:54 PM
I took this HD from my windows desktop machine - it's not partitioned at all - just formatted in windows as a 60 GB partition. I'm assuming as a fat16 or fat32 since it was formatted in windows 98

eadz
04-10-2005, 01:04 PM
mount: according to mtab, /dev/sda is already mounted on /mnt/sda

So if you do


ls -l /mnt/sda


do you get a list of files?

rhybeka
04-10-2005, 01:13 PM
when I run that command it states : Total 0

if I try to run an fdisk /dev/sda it says "Unable to open /dev/sda"

I wonder if reformatting the drive would help? Guess I have to get it to see it first though, eh?

rhybeka
04-10-2005, 01:17 PM
when I run that command it states : Total 0

if I try to run an fdisk /dev/sda it says "Unable to open /dev/sda"

I wonder if reformatting the drive would help? Guess I have to get it to see it first though, eh?

though - hold that thought - if I run qtparted - it shows me the drive at /dev/sdb1 - type fat32 as 55.9GB - but if I attempt to format it, etc it states that it's a virtual partition.

rhybeka
04-11-2005, 11:36 PM
so I'm thinking my next question would be - how do I format the drive so it can be seen as a 'real' harddrive vs a virtual drive? Or is this not a formatting problem? Could I use my windows machine and use lilo to format it?

Ignorance is frustrating...knowledge empowering... there should be a balance of the two ;)