A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » General
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

defective harddrive data recovery



 
 
Thread Tools Display Modes
  #1  
Old October 26th 03, 06:55 PM
Alexander Linkenbach
external usenet poster
 
Posts: n/a
Default defective harddrive data recovery

Hi,
one of my harddrives failed me recently taking the partition table into
oblivion. Hitachi is kind enough to offer replacement but before that I
want to recover what can be saved. I was able to recover a table with
testdrive that gave me partition 3 completely back making it possible to
copy all data to the replacement drive. However I still run into
problems with first and second partitons. First is irrelevant because it
was a softraid1 which has been replaced succesfully but No2 contained
approx. 30GB of mp3 copied from old vinyls. I have about 75% of them on
CDs but unsorted and without valid tags so recovery of the ones on the
drive would save me from several months work. Here is what I have done:


TestDisk 4.4, Data Recovery Utility, March 26 2003
Christophe GRENIER
http://www.cgsecurity.org

Disk /dev/hdc - CHS 15017 255 63 - 117796 MB
Check current partition structure
Partition Start End Size
1 P Linux ext2fs 0 1 1 1030 254 63 16562952
2 * Linux ext2fs 1032 0 1 7559 254 63 104872320
3 P Linux ext2fs 7560 0 1 15015 254 63 119780640

hdc3 is as I said mountable and files can easily be copied. hdc1 and
hdc2 however appear to be empty.

I found out that fdisk gives me different values by one sector:

fdisk:
Platte /dev/hdc: 123.5 GByte, 123522416640 Byte
255 K=F6pfe, 63 Sektoren/Spuren, 15017 Zylinder
Einheiten =3D Zylinder von 16065 * 512 =3D 8225280 Bytes

Ger=E4t boot. Anfang Ende Bl=F6cke Id Dateisystemtyp
/dev/hdc1 1 1031 8281476 83 Linux
/dev/hdc2 * 1033 7560 52436160 83 Linux
/dev/hdc3 7561 15016 59890320 83 Linux

(sorry, I hope you can figure out the translations...)

I assume that fdisk counts the first sector as No1 rather than No0. Is
that so? I get the testdrive values with yast and gpart as well.

Now, why is there a gap between hdc1 and hdc2, if I did not out it in the=
re?

As a comparison here are the values of the replacement drive which was
build up on the mirror partition hdb1 so the boundary values between
first and second partition should be the same but:

Testdrive:
Partition Start End Size
1 P Linux RAID 0 1 1 1030 254 63 16562952 [md0]
2 P Linux ext2fs 1031 0 1 7558 254 63 104872320
3 P Linux ext2fs 7559 0 1 14591 254 63 112985145

fdisk:
Ger=E4t boot. Anfang Ende Bl=F6cke Id Dateisystemtyp
/dev/hdb1 1 1031 8281476 fd Linux raid autodetect
/dev/hdb2 1032 7559 52436160 83 Linux
/dev/hdb3 7560 14592 56492572+ 83 Linux

The're not. Now I suspect that maybe all I have to do is move the start
of hdc2 down one sector and that might help. Is that so? Can I just do
that with fdisk (delete partition, create new one, no format)?

gpart is pretty useless here is what it gives me:

dev(/dev/hdc) mss(512) chs(15017/255/63)(LBA) #s(241248105) size(117796mb=
)
Primary partition(1)
type: 131(0x83)(Linux ext2 filesystem)
size: 8087mb #s(16562952) s(63-16563014)
chs: (0/1/1)-(1023/254/63)d (0/1/1)-(1030/254/63)r
hex: 00 01 01 00 83 FE FF FF 3F 00 00 00 08 BB FC 00

Primary partition(2)
type: 131(0x83)(Linux ext2 filesystem) (BOOT)
size: 51207mb #s(104872320) s(16579080-121451399)
chs: (1023/254/63)-(1023/254/63)d (1032/0/1)-(7559/254/63)r
hex: 80 FE FF FF 83 FE FF FF 08 FA FC 00 80 39 40 06

Primary partition(3)
type: 131(0x83)(Linux ext2 filesystem)
size: 58486mb #s(119780640) s(121451400-241232039)
chs: (1023/254/63)-(1023/254/63)d (7560/0/1)-(15015/254/63)r
hex: 00 FE FF FF 83 FE FF FF 88 33 3D 07 20 B5 23 07

Primary partition(4)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=2E..
Guessed primary partition table:
Primary partition(1)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Primary partition(2)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Primary partition(3)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Primary partition(4)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Any comments, experience reports or even help deeply appreciated.
So long

alex

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Recovery 40Gig Maxtor Help! Nottoman General 5 October 7th 03 06:33 PM
Physical repair for IDE harddrive WDsux General 36 August 29th 03 04:24 AM
Backup Small Office Data Jim Turner General 6 August 17th 03 09:31 PM
recommend data recovery service for crashed hard drive? Mark F. General 4 August 17th 03 04:57 AM
salvaging data from harddrive Campbellbrian General 1 August 11th 03 07:13 PM


All times are GMT +1. The time now is 04:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.