Rescue and destruction of MBR zone

Source: Internet
Author: User


Windows poisoning:

Just yesterday, I destroyed the hard disk and resumed it again. I was so scared that I was not in the dark.

What is going on? Please let me explain in detail.

Because anti-virus software and security protection are not used at ordinary times, when downloading the required software, be careful.

The computer's windows 7 7 system was poisoned and it was not felt at the time. When windows is started by default on both systems,

First, the blue screen, then the system started to restart, and the situation seemed terrible. Then I tried to enter the security mode,

First, I waited, but it seemed that I still couldn't get in. Then I restarted and entered the constant startup cycle.

At that time, I was glad that dual-boot was installed in the linux region, so even if windows cannot enter,

But linux can still go in, so I changed the boot item to linux.


Use the following linux command:

At first, I tried to prevent viruses, but I didn't install anti-virus software on linux. Now I found a backup on windows D drive.

You have made up your mind to use ghost to restore the C drive.

Then I searched for the relevant information, and finally found that using the dd command seems to be able to copy data files.

Powerful effect. Therefore, first, fdisk-l-u is used to view the partition information, and then refer to the man instructions and USB disk boot disk creation.

On the console, I typed dd if =/media/beyondray/win7_64.gho of =/dev/sda.

Command, restart the system after the command is completed, and wait for the recovery of drive C with expectation.

However, the world is always disappointing, and the waiting thing is not happening. Now there are only black screens full of screens, and a few short sentences.

English, even linux cannot be entered, and things have become worse !!!


Full data loss of MBR and C disks:

Then I used my mobile phone Baidu to find out what was going on. Later I found it was a mistake that I had known in my subconscious, because I had an instinct.

The ghost image contains the MBR zone, that is, the 446-byte master boot record MBR, the 64-byte hard disk partition table DPT, and

There is a "55, AA" ending sign, but in fact, unless it is an image of the entire hard disk, it is only a copy of a disk, which is

This means that my dd Data Replication operation completely overwrites the MBR zone. Without the master boot record, linux cannot be guided.

And worse, the hard disk partition table is damaged, and I have not backed up beforehand !!


The DOS tool preliminarily determines the cdisk address boundary:

Later, I wrote a ghost windows tool with an iso image on my classmate's computer, and then I thought about

Write the master boot record and partition table information back, because the entire hard disk will be formatted if the disk is directly partitioned, and my F

The disk contains some personal interests, while the G disk contains a lot of program tools and source code, so I don't want the hard disk

Destroyed !!

After a long time, I finally found that diskgen in the dostoolbox seems to be able to retrieve the partition address table and rewrite the primary boot record,

The SPFDISK can directly view the entire hard disk, but diskgen in this DOS does not seem powerful.

Each time, a small area is located, and it will be searched for a long time. According to this progress, it is estimated that five complete partition address tables are needed.

More than an hour, and it seems that due to some compatibility reasons, this tool will automatically restart after a short time, it is really terrible.

After some thought, I thought that if we can find the boundary of the C drive, although other partitions are incorrect, we can install windows at least.

The system is ready. If you enter the windows system, using diskgen in win7 may be better than diskgen in DOS.

A lot.

Therefore, I continue to use diskgen under DOS to recreate the Partition Address Table. Although the idea is good

The software is worse than I thought. No, I found more than 3000 Magnetic columns and restarted automatically.

It's a head !! So I thought about the method again. Do you want to change the hard disk image? But I decided to continue using it,

Because I thought of a seemingly good method, the original C disk was about 60 GB, but I was not sure whether it was accurate,

I am still slightly biased, so I am so worried about formatting the first 58 GB hard disks, then updating the partition address table, and then recreating,

Automatic Interaction, then the 60g boundary is quickly found, and several partition addresses are also found,

Not all of them are accurate, but it cannot be controlled as much now. First rewrite the address table and the master boot record, and then install windows

Besides.

However, it seems that things are not as smooth as I thought. After windows 7 is installed in ghost

Is the Invalid specification information a problem with my master guide records and partition address tables? Then I entered

Diskgen looked at it, unplugged the USB flash drive and looked at the boot information, and found that there seems to be no information such as boot, and then

I checked relevant information online and found that it seems that ghost is not very useful, rather than the primary guide record,

So I burned a windows 7 Ultimate hard disk on a USB flash drive on my classmate's computer,

There is always no problem, right?


Windows 7 is successfully installed:
As I thought, after entering the boot disk of the USB flash drive, I first formatted the 60G C disk, and then successfully installed WIN7,

Not to mention the details, but later I went to NVDIA to update the video card driver because the transparent effect could not be started, but the most fundamental

The problem does not seem to be solved. Disk D, disk E, disk F, and disk G cannot be used. After you click it, a prompt is displayed for formatting.

Download the diskgen data recovery software immediately.


Disk D, F, and G are successfully restored:

It seems that diskgenius operations are friendly, and even more surprising, after the hard disk partition is re-built, it will only take a few seconds to automatically

Finding D, F, and G disks is a little better than that in DOS, but the E disk does not seem to be found, but this is not important because

E-disks contain less software and are commonly used software such as QQ. Therefore, I did not consider formatting E-disks.

The partition address table is resaved, and all the disks on the hard disk are done. As for linux, it is not used much, and

Important, so we will re-install it later.


Self-recognition:

It seems that the fate of the arrangement is always so, inadvertently gave yourself a lesson on the operating system, the difference is that there was no system knowledge in the past,

It is done by others, but this time it was done by myself. The gains are self-evident, and there are three rules I need.

Keep it in mind:


1. Do not trust yourself too much before every detail is confirmed. Do you have to doubt yourself? Is this true? Otherwise, it may lead to tragedy.

2. Back up important data in a timely manner to avoid loss, not afraid of 10 thousand, because there is no regret in this world.

3. Thinking is a powerful force that allows you to solve a problem that you have never been in touch.



Rescue and destruction of MBR zone

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.