S
Sergio Graziosi
to avoid having an
NTFS boot sector in the beginning of the partition, I use 27 so other
partitioning tools will not assume that the partition is a normal
hidden NTFS partition.
Nice, agreed.
The parameters are explained on the screen by typing:
set findpart=edit
findpart editpart /?
set findpart=
I see, did you realize that it takes a brave person to enter "edit"
mode before even viewing the parameters?
The batch file makes an ID 27 partition from the second sector of the
disk 2 to the end of the disk 2 (disks numbered from 1).
Thanks, I was quite close indeed.
I've applied the batch and played a little with your tools taking care
not to use edit mode again. Here are some random results:
****summary****
FindNTFS, version FP 4.43 - for Windows 95/98/ME/NT/2000/XP.
Copyright Svend Olaf Mikkelsen, 2004.
OS: Windows 5.0.2195 Service Pack 4
Disk: 2 Cylinders: 30515 Heads: 255 Sectors: 63 MB: 239367
CHS 0/0/2 LBA: 1
Directories: 4046
Files: 109031
Trees: 3555
Adjusted: 16
Exe/dll files: 2089
Exe/dll files signature: 3
Not referenced files: 106323
Cluster KB: 0.5
MFT record used: None
MFT offset MB: 3072
Listed files MB: 143253
********
********
Findfile, version FP 4.43.
Copyright Svend Olaf Mikkelsen, 2004.
Searches for file records and index records. The T field
contains F for file records, D for directory file records,
or I for index records. Index records do not contain
information about file locations.
OS: Windows 5.0.2195 Service Pack 4
Disk: 2 Cylinders: 30515 Heads: 255 Sectors: 63 MB: 239367
Start cylinder: 0 End cylinder: 30514 Index records not shown.
--------- CHS ----- LBA T -Record Cluster Name
0 1 1 63 Boot or backup
Sectors per cluster: 1
MFT cluster: 6291456
MFT Mirror cluster: 16
Partition sectors: 404259596
0 1 17 79 F 0 6291456 $MFT
Size: 116719616
Allocated: 116719616
Fragments: 1
Clusters: 226496
Cluster KB: Unknown
Time: 2003-09-09 13:18:36
0 1 19 81 F 0 16 $MFTMirr
Size: 4096
Allocated: 4096
Fragments: 1
Clusters: 8
Cluster KB: 0.5
Boot CHS: 0 1 1
Offset MB: 0
Time: 2003-09-09 13:18:36
0 1 21 83 F 0 24 $LogFile
0 1 23 85 F 0 Small $Volume
1 185 38 27757 F 0 Small
#0002_sp_Av_ra_no_coAr_alt_best_100ms_co
5 115 16 87585 F 0 Small
BOB_LowV_smoot_sigma_rho.fig
<SNIP>
432 9 56 6940702 Boot or backup
Sectors per cluster: 1
MFT cluster: 6291456
MFT Mirror cluster: 16
Partition sectors: 469017611
8581 169 47 137864458 Boot or backup
Sectors per cluster: 1
MFT cluster: 6291456
MFT Mirror cluster: 16
Partition sectors: 406299851
16818 130 37 270189396 F 0 Small ~$arning (1) 14 01
2003.doc
29194 254 63 469017674 Boot or backup
Sectors per cluster: 1
MFT cluster: 6291456
MFT Mirror cluster: 16
Partition sectors: 469017611
**********
*******Dirs******
FindNTFS, version FP 4.43 - for Windows 95/98/ME/NT/2000/XP.
Copyright Svend Olaf Mikkelsen, 2004.
OS: Windows 5.0.2195 Service Pack 4
Disk: 2 Cylinders: 30515 Heads: 255 Sectors: 63 MB: 239367
CHS 0/0/2 LBA: 1
------Date ----Time -------Size ---Flags Name
5
19 INPRO\
<snip>
113218 fig1\
0
Directories: 4046
Files: 109031
Trees: 3555
Adjusted: 16
Exe/dll files: 2089
Exe/dll files signature: 3
Not referenced files: 106323
Cluster KB: 0.5
MFT record used: None
MFT offset MB: 3072
Listed files MB: 143253
**************
Seemed promising so I've tried:
findpart findntfs 2 0 0 2 XXX.txt dirs copy 83623
to retrieve a folder known to contain bad files. Output:
**************
FindNTFS, version FP 4.43 - for Windows 95/98/ME/NT/2000/XP.
Copyright Svend Olaf Mikkelsen, 2004.
OS: Windows 5.0.2195 Service Pack 4
Disk: 2 Cylinders: 30515 Heads: 255 Sectors: 63 MB: 239367
CHS 0/0/2 LBA: 1
------Date ----Time -------Size ---Flags Name
83623 paper 3 & 4\
Directories: 4046
Files: 2708
Trees: 3555
Adjusted: 16
Exe/dll files: 158
Exe/dll files signature: 1
Copied files: 0
Cluster KB: 0.5
MFT record used: None
MFT offset MB: 3072
Listed files MB: 3480
*************
0 files copied???
Second try:
findpart findntfs 2 0 1 1 XXX.txt dirs copy 83623
It is exactly the same command but with the old/real partition start
CHS, this time I get:
************
FindNTFS, version FP 4.43 - for Windows 95/98/ME/NT/2000/XP.
Copyright Svend Olaf Mikkelsen, 2004.
OS: Windows 5.0.2195 Service Pack 4
Disk: 2 Cylinders: 30515 Heads: 255 Sectors: 63 MB: 239367
CHS 0/1/1 LBA: 63
------Date ----Time -------Size ---Flags Name
83623 oldisk E\Alberto\MEA\paper 3 & 4\
<SNIP>
88560 oldisk E\Alberto\MEA\paper 3 & 4\sing neurone
analysis\parallelo0613_0615\
Directories: 4045
Files: 103375
Trees: 5
Exe/dll files: 2089
Exe/dll files signature: 1278
Copied files: 4221
Cluster KB: 0.5
MFT cluster no: 6291456
MFT size: 116719616
MFT cluster bytes: 512
Listed files MB: 141092
************
WOW! but as expected the bad files recovered were not magically fixed
up.
The noboot and nomftrecord options did not help.
At this point this is what I think. I need to repair the damage
produced by Win2000 chkdsk. Probably the physical address of files was
re-arranged in the MFT in order to fit in the smaller disk size seen
by windows, or in other words, all those entries that referred to
addresses outside the "new/wrong" boundaries were simply deleted. This
means that my only hope is to find a backup MFT in the last part of
the drive, the one that was "left over"/forgotten. Does this idea make
any sense? If it does, how do I proceed?
If it doesn't is there any hope left?
Remember that I don't have lost files (i.e. deleted files) but many
files are corrupted, meaning that their content does not make any
sense. Examples: no recognizable text in word files viewed with
notepad, missing %PDF as the first line of PDFs, no image header for
TIFF and so on.
Sorry for the long post,
Sergio