|This is somewhat strange question - I would like to learn how to manually restore the MBR record (FAT table? - read below) for the partitions when I somehow manage to remove them using FDISK or by some other "magic" damage to MBR.|
It happened to me a few times (if I remember those were still Win98 times), especially when I experimented with multi-boot and Linux, suddenly the HDD wont' run, then I stressed-out, went to my colleague who asked me for the size of my partitions, and after two days he called me and showed me a (probably DOS) hexeditor (I do not know whether it was for editing the MBR or FAT table), he also showed me a paper with his calculations and my disk contained miraculously renewed partition. My colleague took some money from me and everything was Ok.
(it was probably a FAT32 system back then, but quite possibly it has NTFS... I don't remember whether I had Windows XP or something older that day)
But it just bothers me that after so many years working with PC, I still don't know what to do when something similar happens to me. Is this problem familiar to someone here? What kind of repair was what? What the program my colleague used and where can I learn to do that myself? I would really like to know and understand ...
The important thing, I would like to learn to do it "manually" by direct (hex?)editing and calculations. I'm not searching for beautiful graphical program that will do it for me.