Need Help, Partition Table Gone :(

ZL1

Diamond Member
Oct 4, 2003
5,383
0
76
Hi

guys I need help bad, last night I lost a partition and the funny thing was all I did is open a directory while it was in use, it started to list files then it hanged then no more partition :(
now using some file recovery stuff I am able to see that the files are all there and I was wondering if there is a recovery soft that could rebuild the partition table ?

please advise


Thank you
Dan
 

MrControversial

Senior member
Jan 25, 2005
848
0
0
I'm not sure, but check and see if there is some kind of redundant partition table and a restore utility that will restore it. I know that all drives have a duplicate copy of the FAT in case one of them got corrupted. So check and see if the partitioning utility you used created a redundant partition table and then just have that utility restore it.
 

ZL1

Diamond Member
Oct 4, 2003
5,383
0
76
Originally posted by: MrControversial
I'm not sure, but check and see if there is some kind of redundant partition table and a restore utility that will restore it. I know that all drives have a duplicate copy of the FAT in case one of them got corrupted. So check and see if the partitioning utility you used created a redundant partition table and then just have that utility restore it.

does that also go for NTFS ?


Thanks
Dan
 

MrControversial

Senior member
Jan 25, 2005
848
0
0
NTFS should have the same feature since that's pretty much standard. There are always two copies of the table on the drive. Look that up and then find out how to restore it.

Edit: Is the partition a bootable one or not?
 

ZL1

Diamond Member
Oct 4, 2003
5,383
0
76
Originally posted by: MrControversial
NTFS should have the same feature since that's pretty much standard. There are always two copies of the table on the drive. Look that up and then find out how to restore it.

Edit: Is the partition a bootable one or not?

nope secondary disk
need hint, where do I start ?


Thank you
Dan
 

Amaroque

Platinum Member
Jan 2, 2005
2,178
0
0
NTFS keeps two copies of the MFT. You'll need some type of disk utility to recover the 2nd MFT.

 

VirtualLarry

No Lifer
Aug 25, 2001
56,587
10,227
126
Originally posted by: ZL1
Hi
guys I need help bad, last night I lost a partition and the funny thing was all I did is open a directory while it was in use, it started to list files then it hanged then no more partition :(

Sounds like the drive overheated or had the boot sector (actually, in this case, filesystem boot-sector, nevermind) suddenly go bad. Windows' is constantly re-writing that sector on the drive (updating a filesystem timestamp and/or flags). I know that WD drives tend to "lose sectors" when they overheat. (Other mfg's drives often do much worse things, as well as lose sectors.)

Alternatively, possibly something got corrupted (flaky RAM perhaps? Unstable PCI/system bus/CPU cache?), and a disk write got shuttled off to LBA sector zero, when it shouldn't have been, and overwrote the MBR/partition table with garbage. (Had that happen once when I overclocked my AMD 5x86-133 system, or rather, attempted to, to 160Mhz on a Biostar UUD866x mobo.)

Originally posted by: ZL1
now using some file recovery stuff I am able to see that the files are all there and I was wondering if there is a recovery soft that could rebuild the partition table ?
please advise
Thank you
Dan

Hmm. Well, yes and no. I'm sure that there probably is, I'm just not familiar with it. I don't really trust automatic utilities to make those kinds of decisions, since you don't actually know what the exact failure-mode is until you look at it yourself manually. I usually use Norton Diskedit for DOS (actually, the one included in Systemworks 2002 or 2003, whatever the most recent one is, that properly handles LBA drives), and then I switch to "partition table view", and manually patch things back up. That may or may not seem like a viable route to take for you. I've been doing it for years, it's not too hard when you understand the partition-table format and have a calculator handy, but it's not for the novice or faint-of-heart.

One other feature that Norton Diskedit has, is that it can actually scan through the HD's sectors, looking for the filesystem bootsectors. Assuming that you manually discard any obsolete/duplicated entries (created by deleting/re-creating or resizing partitions and then formatting them, then you can find out the starting sectors of all of the filesystems on the HD. (Likewise the extended partition table sectors too.) From those, you can re-create the partition-table chain by hand.

If you had some automatic recovery software find the filesystems (and they are intact), then if you find out the start/end sectors then you can use that info to rebuild the partition tables.

One other possibility is to use a bootable Linux "recovery CD" (I haven't kept up with the state-of-the-art in this area, perhaps someone can fill in which is the latest-and-greatest distro version to use), and then use, I think it is 'cfdisk', to also fill in the partition-table values.

Whatever you do, DO NOT use a bootable Win98se floppy with FDISK.EXE. FDISK is evil, if you create partitions, not only does it create the partition-table entry, it also OVERWRITES the filesystem's bootsector, and marks it as "unformatted". Generally a very bad idea when attempting data-recovery.

Also, Win98se, when booting in DOS mode off of a boot disk, also writes to the HD during booting. That is another no-no when attempting data-recovery, try to stick to an MS-DOS 6.22-formatted bootable floppy. Just don't manipulate anything that requires LFNs in that case.

PS. Symantec has a downloadable "trial version" of Systemworks, or did. It installs the "VBox installer", which is a DRM-like try-before-you-buy sort of system that cannot be un-installed (not easily, not without reformatting, so use a 'dummy' system to do this), and the trial is time-limited to a month (I think), but during the installation, it decompresses the files, and you can copy the necessary DOS-based Diskedit files out of the directory to make a boot disk with Diskedit on it.

Edit:
1) Do NOT run "FIXMBR". That re-writes the code in the MBR for booting, but doesn't somehow magically re-create the partition tables from the locations of the filesystem bootrecords on the HD. For one thing, it would take a long time to scan for them, and another, it doesn't know which are valid and which are obsolete, not easily.

2) Do NOT run "CHKDISK". That wouldn't help anyways, since it requires a visible and valid filesystem, which pre-supposes that the MBR/partition table is both intact and correct. If it is partially bad, it could cause the drive to get even more corrupted in unfixable ways.

Btw, if this data is important to you, before you run any recovery utils, you can use a bootable Ghost 2003 floppy (if you own it, OEM copies are floating around on the internet for as low as $5, also included free with Ghost 9), and create a "forensic" sector-by-sector image backup onto another HD as a bunch of files. That will take up a *lot* of space though, as much as the size of the original HD. Not the normal Ghost image-backup mode, that does a file-by-file backup only.

You can also use the '-fro' switch, I think it is, to cause Ghost to skip over sectors on the HD that have gone physically bad and are unreadable, if your HD is actually failing or has bad sectors, this can be a good thing. You can restore the image backup to another HD of identical or larger size, sector-by-sector, and then perform the data-recovery on the copy instead. Much safer.
 

ZL1

Diamond Member
Oct 4, 2003
5,383
0
76
Thank you all !!!

Im working on it now and it seems promising, I think I wont loose much or maybe nothing at all :)


Bozo Galora - what do you mean not configured properly ?

VirtualLarry - wow, nice post

well for the overheat part, nope dont think it overheated, has active cooling, stays under 30C
dont think it was the ram either, mushkin lvl2 stuff, and its running at below specs due to the divider
pci bus is set at 33 so dont think that did it either
system bus is OCed, but the machine is stable, never had a problem before and when I first OCed I ran prime for quite a while to make sure it was good
but who knows, maybe something OC related did cause this, OCing is a risk after all

he he, you know Im with you on not letting utils make decisions, I burned in the past with them
(fetching calculator :) )

and yes of course I wouldnt use any w98 stuff, big no no with ntfs and lba48 :)

didnt run fixmbr, did run chkdsk, it couldnt see much so I stopped it asap

I do have ghost, but I have a very old version :(
and no space to back this up :(

well back to it I go :)
I will update as soon as I can

Thanks again to everyone I greatly appreciate it !!!

Dan
 

Ichinisan

Lifer
Oct 9, 2002
28,298
1,236
136
I have a similar problem. My Media Center PC kept locking up and restarting. Then I started getting "DISK BOOT ERROR". I used the Windows XP MCE installation disc to boot to the recovery console. From there, I ran CHKDSK and it claimed to be repairing a lot of errors. When I restarted, it booted to the disc without asking me to press a key (as if there was no hard drive present). Suspecting that the partition disappeared, I continued the Setup Program to the point where it displays partitions. Sure enough, the entire drive was unallocated.

I still don't understand how this happened. CHKDSK is only supposed to modify data within the file system, leaving partitions intact...right?

With the drive connected as slave in another system, I ran EasyRecovery, which has a tool to identify and recover missing paritions. After more than 1.5hr scanning, it found nothing. What can I do?