LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-09-2005, 12:09 AM   #1
manudath
Member
 
Registered: Oct 2004
Posts: 42

Rep: Reputation: 15
See the contents of external hard drive...


Hi,

I just got an external hard drive from a friend, that was attached to a linux box for backups. I suspect that there has been no backup done on the external drive since I am not able to mount it at all.

When I load the modules usb-scsi, usb-storage etc., and then try to mount it, it gives an error mount: wrong fstype, bad option, bad superblock on /dev/sda, too many mounted file systems.

when i do a "fdisk -l", I get the the current specs of the external drive:
it shows properly that it is a 200GB disk, but shows it as a Win FAT 32 file system.

But if I do a "df -h /dev/sda1", it shows the capacity as some 39G with 35GB used...

Since it looks as if it has a FAT32 filesystem and not ext3, I was not able to see the contents at all. Also, I tried running it in Windows, where it told me that the disk is not formatted. Is there any way I can check if something is written on the external drive, or is it completely empty?

Thanks,
Manudath
 
Old 02-09-2005, 02:45 AM   #2
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 877

Rep: Reputation: 124Reputation: 124
Hi, Manudath.

It sounds to me like the hard drive has a corrupted filesystem. If not, one would think that either Windows or Linux would be able to read it. BTW, Linux is actually quite good at reading a FAT32 partition, as is Windows, which also leads me to the conclusion that the filesystem is corrupted. Have you tried mounting it with type "auto"? If not, you should try this:

Code:
mount /dev/<device> <mountpoint> -t auto
This will usually do a pretty good job of figuring out what it needs to do in order to mount the volume. If this doesn't work, your best bet is probably to do an "fdisk" and an "mkfs" on it to repartition and reformat (preferably to something Linux is friendly with, such as ext3 or reiserfs).

Good luck!

--Dane
 
  


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 09:48 AM
Bought a hard drive on ebay and the contents of the drive are all ZZZZZZZZZZZZZZZZZZ abefroman General 4 08-13-2005 05:03 PM
EZ-Drive Hard Drive -- Cannot Read Contents redhatman Linux - Newbie 3 09-02-2004 07:37 PM
Need to copy OS + hard drive contents between two machines with different hardware. tayo Linux - Newbie 12 07-24-2004 11:19 AM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:26 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration