Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BAD fdisk, BAD fdisk, BAD fdisk, *@#$(^ fdisk.....!!!!!!!!!!!!!!!!!!!! 1

Status
Not open for further replies.

robherc

Programmer
Apr 20, 1999
921
US
need I say more????<br>
Does anyone know how to replace a partition table for a 1221MB HDD with 1221MBs in partition1 with the label CCSI ???<br>
<br>
Disk size: 1221 MB<br>
Partition 1 size: 1221 MB<br>
Partition 1 utilization: 100 %<br>
Partition 1 label: CCSI<br>
<br>
Irreplaceable data lost: #$*@#^&$* yes!!!<br>
Parents furious over mother's resume being deleted: <b><span style=color:red>!@#*$&</b></span> yes!!! <p>-Robherc<br><a href=mailto:robherc@netzero.net>robherc@netzero.net</a><br><a href= > </a><br>*nix installation & program collector/reseller. Contact me if you think you've got one that I don't :)
 
jsauce-<br>
&nbsp;&nbsp;&nbsp;&nbsp;Can it restore a partition table w/o destroying invaluble data??? <p>-Robherc<br><a href=mailto:robherc@netzero.net>robherc@netzero.net</a><br><a href= > </a><br>*nix installation & program collector/reseller. Contact me if you think you've got one that I don't :)
 
Partitioning a hard drive doesn't necessarily mean that any of the data has been lost. In your case, 16 bytes of data (out of a billion bytes) are conveying inaccurate information. The odds are on your side.<br>
A collegue informs me that he has recovered a drive simply by repartitioning the disk to its original specs. Personally, I wouldn't try it at home.<br>
I've heard mixed reviews on Lost and Found but it might be worth a shot. Whatever you do, don't rush into it.<br>
<br>
I wish I had a magic bullet for you but there are too many variables. I can't just pull a partition record out of my hat. Just so you'll know, here's the format of the first partition record (it starts at offset 1BE of the master boot record and lasts for 16 bytes):<br>
<br>
Offset Description<br>
00 boot indicator (80h = active partition)<br>
01 partition start head<br>
02 partition start sector (bits 0-5)<br>
03 partition start track (bits 8,8 in bits 6,7 of sector)<br>
04 operating system indicator<br>
05 partition end head<br>
06 partition end sector (bits 0-5)<br>
07 partition end track (bits 8,8 in bits 6,7 of sector)<br>
08 sectors preceding partition (DWORD)<br>
0C length of partition in sectors (DWORD)<br>
<br>
Good luck and let me know how it goes.<br>

 
Lost and Found isn't designed to bring back the partition table, but with another drive installed you could pull the data from the first drive to the second. It would in effect be like cloning the drive even though the partition table is gone. Though just a thought, Powerquest also makes a program called <b>Second Chance</b> I'd look into that, because it may just be something you could use. <p>John D. Saucier<br><a href=mailto:jsauce@net1plus.com>jsauce@net1plus.com</a><br><a href= Backup</a><br>
 
How about partition magic. It works miracles for repartitioning and creating and all the fun things that you normally could not do.
 
All of the suggestions above could becomes meaningless if the drive was controlled by EZ BIOS or EZ Drive. Tell me it ain't so! We might be able to work it out with a calculator and a lot of luck.<br>
<br>
On the other hand, there are specialized data recovery firms out there that charge from hundreds to tens of thousands of dollars to recover the &quot;hidden&quot; data on disks (I guess it all depends on how desperate you appear).<br>
<br>
First of all, can you auto-detect the drive in CMOS setup?<br>
<br>
In any case, I'll send you some code to back up your partition tables. It might prevent this from happening in the future.<br>

 
See this is why I suggested Powerquest's Lost and Found. Lost and Found could easily be used to recovery data hidden on the disk, due to accidental or purposeful deletion or formatting.
 
There is a company called Vogon (remember Hitch Hikers Guide?) Authentic that gets data off in these circumstances. Their prices are around £75 to look at it and £600 to get the data off depending on the severity of the problem.<br>
<br>
I decided to cut my losses and forget about the data.
 
I participated in an interesting demonstration a few days ago. A colleague called me into his office and said “Watch this.” He started fdisk on his sand box system, deleted the primary partition and rebooted. The hard drive disappeared, of course. He rebooted to a floppy, started fdisk, created a partition, rebooted and Windows started without error.<br>
Being the smug, devil-may-care kind of guy that I am, I said “I can do better than that. I’ll bet you a dollar.”<br>
We went into my office and I deleted the partitions on my sand box. Rebooted. No hard drive (of course). Rebooted to a floppy, ran FDISK /MBR and rebooted to a hoplessly scrambled hard drive. The partition records were filled with garbage.<br>
What happened? I was positive it would work.<br>
Curious, I ran Norton diskedit to view the disk. The OEM ID string in the boot sector had changed to EZDRIVE. Arrrggghhh!<br>
My colleague cackled for a while and said “I forgot to tell you that the disk was a copy. You owe me a dollar.”<br>
The fdisk MBR switch can be a killer. Maybe that’s why it’s undocumented.<br>
<br>
Kids... don’t try this at home.<br>

 
Alt-<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;You're OK on this one...it ain't so...;) (other HDD; mine)<br>
Also; the drive works fine (fine enough to tell me &quot;No OS Installed&quot; @ least....it just has a blank partition table....toehr than that I can still run fdisk on it from a bootable floppy & I assume I could easily re-write anything on it low-lev via the same method; just need to know what to write before I'm gonna attempt....;)<br>
<br>
<br>
Zelandakh-<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;FMI (for my information) about what are £75 $ £600 equivalent to in US $? (though, for some reason, I don't <i>really</i> think I <i>want</i> to know...;)<br>
<br>
<br>
jsauce-<br>
<br>
Three questions:<br>
&nbsp;&nbsp;&nbsp;&nbsp;1. How much does Lost and Found cost?<br>
&nbsp;&nbsp;&nbsp;&nbsp;2. How much does Second Chance cost?<br>
&nbsp;&nbsp;&nbsp;&nbsp;3. Which do you recommend? (or both?) <p>-Robherc<br><a href=mailto:robherc@netzero.net>robherc@netzero.net</a><br><a href= > </a><br>*nix installation & program collector/reseller. Contact me if you think you've got one that I don't :)
 
Alt-<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;Soooo....<i>thinking</i>.....does that mean.......<br>
if I create a bootable flop on another computer that has Win95 v4.00.950, copy fdisk to it, boot from it, then fdisk /mbr my EZBIOS infected HDD that it'll <b><i><u><span style=color:red>OBLITERATE, DESTROY & otherwise DEMOLISH</i></u></b></span> the @#&@# EZ-BIOS problem from the boot sequence??? <p>-Robherc<br><a href=mailto:robherc@netzero.net>robherc@netzero.net</a><br><a href= > </a><br>*nix installation & program collector/reseller. Contact me if you think you've got one that I don't :)
 
You can get Lost and Found for $69.95 I think. I had put a mesaage in telling you about the price, and it got red flagged. They told me I couldn't discuss pricing, though its funny everyone else seems too. Anyways go to <A HREF=" TARGET="_new"> and read about it and Second Chance. I'm not sure if Second Chance will do anything, I'd go to the website and look at everything though. <p>John D. Saucier<br><a href=mailto:jsauce@net1plus.com>jsauce@net1plus.com</a><br><a href= Backup</a><br>
 
OK; I'll go there to check it out...sorry to hear you got red-flagged when you tried to tell me the price......@ least this time I got to see it first.......;)
 
Don't fdisk /MBR any disk unless you are totally confident that the contents of the master boot record copy are good. The copy may have originated at the manufacturer. Restoring the copy could trash your disk or, worse, create new problems for Lost and Found.<br>
<br>
If fdisk indicates no active partitions the answer may be simple. Create a partition the same size as the original, boot to a floppy, make sure that C: exists, run SYS C: and reboot.<br>
<br>
Try this on someone else's system, first. Mother's are less tolerant of the second mistake.
 
£75 is around $110.<br>
£600 is around $1,000.<br>
<br>
The company is based in the north of england. Details can be given if you want :)
 
OUCH!.....I don't <i>really</i> think trying to recover my mother's resume is <i>quite</i> worth $1,000....would be more likely to ry hammer treatment @ that price....;P<br>
<br>
Alt-<br>
<br>
The question about the fdisk /mbr was for my personal system (the one with the monitor that has a disfunctional vert. magnet); my mom's HDD just needs a new partition table......re fdisking it & setting all values back to exactly what they were does sound extremely promising there though.<br>
<br>
John-<br>
<br>
Thanks again for the info; I'll check out that site as soon as I get a chance. <p>-Robherc<br><a href=mailto:robherc@netzero.net>robherc@netzero.net</a><br><a href= > </a><br>*nix installation & program collector/reseller. Contact me if you think you've got one that I don't :)
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top