Computing.Net > Forums > Linux > Unable to mount an external HD

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Unable to mount an external HD

Reply to Message Icon

Name: oriol
Date: November 25, 2003 at 11:23:57 Pacific
OS: red hat 8.0
CPU/Ram: amd 1.8/256mb
Comment:

I'm a newbee with linux and I'm unable to mount my external USB 2.0 HD with red hat 8.0. It works with windowsXP. I bought an usb external enclosure (zappa) and use my old HD of 8Gb. When I connect to USB, linux detects the HD, but it doesn't mount with mount /dev/sda /mnt/ExternalHD. With fdisk -l /dev/sda it says that cannot read the device. The HD is formated with FAT32 under windowsXP, but I'm unable to use it with linux.

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Andrew W.
Date: November 25, 2003 at 11:28:57 Pacific
Reply:

Well i beleive there is a flag '-vfat' that you can use with 'mount' to mount it and to be able to read off the drive, but i would search around good for some more info on it.


0

Response Number 2
Name: Deputy DooDah
Date: November 25, 2003 at 16:14:17 Pacific
Reply:

You're missing the device number.
The device isn't /dev/sda, it's /dev/sda1 (or 2, or 3....).

Give it another try and it should work.

Best of luck.



0

Response Number 3
Name: 3Dave
Date: November 26, 2003 at 02:16:01 Pacific
Reply:

To sum up both the above:
# mount -t vfat /dev/sda1 /mnt/ExternalHD


0

Response Number 4
Name: oriol
Date: November 26, 2003 at 02:17:44 Pacific
Reply:

I tried yours suggestions but it doesn't want to work. Here is more detailed information about what's going on:

When I connect the External HD in the USB, dmesg includes de following lines:

-----------------
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x5e3/0x702) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: EagleTec Model: External Hard Di Rev: 0002
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
------------------------

fdisk -l doesn't detect the device, but in dmesg appears new lines as follows:

---
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 16514064 512-byte hdwr sectors (8455 MB)
sda: test WP failed, assume Write Enabled
sda: sda1
SCSI device (ioctl) reports ILLEGAL REQUEST.
SCSI device sda: 16514064 512-byte hdwr sectors (8455 MB)
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
--

And finallys, when I tried to mount it with mount -t vfat /dev/sda1 /mnt/ExternalHD (after mkdir /mnt/ExternalHD) it returns:

mount: /dev/sda1 is not a valid block device


Well, Linux 3 - Oriol 0

Some suggestions are greatfully apreciated

Thanks in advance


0

Response Number 5
Name: Dharshana
Date: November 26, 2003 at 03:45:35 Pacific
Reply:

You said you have tried the command "And finallys, when I tried to mount it with mount -t vfat /dev/sda1 /mnt/ExternalHD (after mkdir /mnt/ExternalHD) it returns:"

/dev/sda1 is wrong

Try /dev/sda2 or 3 or 4 or 5



0

Related Posts

See More



Response Number 6
Name: 3Dave
Date: November 26, 2003 at 03:48:00 Pacific
Reply:

{SNIP}
unable to read partition table
{/SNIP}

I think that's where your problem lies. Is it possible to backup the data under XP and then try to create partitions on it under linux with fdisk (TIP: many people find cfdisk easier to work with):
# cfdisk /dev/sda


0

Response Number 7
Name: oriol
Date: November 26, 2003 at 08:25:42 Pacific
Reply:

Neither fdisk nor cfdisk are able to read the device, thus no partitions with both are possible. Only sfdisk gives some details about the ExternalHd, but it says cluster 0 is unreadable. I will try to perform a partition with sfdisk.

Could it be a problem with redhat 8.0, or the kernel (I'm not sure the version, suppose 2.4.....) that are too old versions for usb2.0 externalHD support? I'm not sure, because I'm able to read and write a floppy stick device.

thanks for the suggestions,


0

Response Number 8
Name: 3Dave
Date: November 27, 2003 at 01:06:35 Pacific
Reply:

You can get your kernel version with the "uname -a" command.

Perhaps a newer kernel would help....2.6 is due out soon(ish).


0

Response Number 9
Name: oriol
Date: December 1, 2003 at 02:46:11 Pacific
Reply:

Finally I did it. I compiled the kernel 2.4.22 and it works ok. The 2.4.18-14 kernel seems to presents problems with external HD.

Thanks


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Unable to mount an external HD

unable to mount floppy www.computing.net/answers/linux/unable-to-mount-floppy/2872.html

I/O error with usb external HD www.computing.net/answers/linux/io-error-with-usb-external-hd/23644.html

Unable to mount cdrom during instal www.computing.net/answers/linux/unable-to-mount-cdrom-during-instal/13077.html