After you use ghost to restore partitions by mistake

Source: Internet
Author: User
We often use the Ghost Software to back up a file with the extension. when a Windows system encounters an accident, The gho file is restored by using the "from image to partition" of the ghost. This saves time and effort to reinstall the operating system.

However, when you use the "from image to partition" function to restore the system, you must select the correct option. Otherwise, unexpected consequences will occur! I have encountered a hard disk with a similar fault. The hard disk fault is that the computer can be started normally after the boot, but only one primary partition C is displayed, and all other logical partitions are invisible, use pqmagic 8.0 to view the partition details and find that there is only one active partition drive, and the others are displayed as unallocated, while the important data in the last three years is in other logical partitions.

After inquiry, it was found that the windows system was damaged. After the user used the original ghost to back up the file to recover the system, the above problem occurred. Next we will analyze the process of backing up and recovering ghost partitions.


After Ghost is started, the process for backing up a partition is local-partition-to image.
The process for restoring a partition is: local-patrition-from image.

However, if we choose local-disk-from image when restoring the partition. Ghost thinks that what we want to do now is to restore the previous hard disk backup image file (*. gho) to the entire hard disk (2 )! Obviously, the result of this selection operation is only to restore the backup image file of a previously backed up partition to the entire hard disk. This is the reason that there is only one partition after the boot, and the computer can start normally.

First, we will analyze whether all logical disks can be recovered. Here we assume that the logical partition of the original hard disk is 4, and the C disk is the system partition.

1. If you mistakenly restore the image file in primary partition C to the entire hard disk

During restoration, ghost will write data from the starting sector of the hard disk, and re-define the hard disk partition table based on the hard disk capacity parameter entered by the user (the default capacity in the ghost option is the maximum capacity of the hard disk ). Because the restored data size is limited by the valid data capacity of the original zone C, the data restored from the starting sector of the hard disk does not cover the boundaries of the original zone C, this means that all the data in the original D, E, and F areas should be intact. At this time, Zone D, E, and F cannot be seen because the ghost modifies the partition table, in this case, all logical disks can be restored after the primary Partition Table is restored.

2. If the logical Zone D image is restored to the entire hard disk by mistake

Because the operating system is not installed on the original logical D Drive, the hard disk cannot be started, but it can be started from the soft drive or optical drive. After the drive is started, only one partition (that is, the original logical D Drive) and data can be seen. There are two scenarios:

1. If the valid data capacity of the original Zone D is smaller than that of the original zone C, the data in the original zone C is damaged, but the partitions D, E, and F are intact and can be recovered.
2. If the valid data capacity of the original D zone is greater than that of the original C zone, the restored data will be out of the range of the original C zone and enter d I, therefore, the data in the original zone C is damaged, and the data in the original Zone D is not spared. However, the data in the original Zone E and partition F are intact and can be recovered.

3. If the logical e image is restored to the entire hard disk by mistake

1. If the valid data capacity of the original Zone E is smaller than that of the original zone C, the data in the original zone C is damaged, but the partitions D, E, and F are intact and can be recovered.

2. If the valid data capacity of the original Zone E is greater than the capacity of the original zone C and less than the sum of the capacity of Zone C and Zone D, the failure range is the original zone C and Zone D, but the original Zone E and zone F are intact, yes. In other cases, you can follow these steps. Although different misoperations may have different results, it is clear that as long as there is a "disaster, the first damage is the Master Boot Record of the primary zone C and the hard disk. The Master Boot Record of the hard disk contains the primary Partition Table of the hard disk. Therefore, after misoperation, the result is that although the disk can be started normally, the number of logical disks has changed, or the hard disk cannot be started properly. This result is very similar to the result after the CIH virus is damaged.

Through the above analysis, we can conclude that as long as the entire data disk Of A Logical Disk is not overwritten, the possibility of restoration is quite large, from the actual situation, it is almost 100%. The key to restoring data from a non-damaged Logical Disk is to reconstruct the hard disk partition table.

Here, we strongly recommend that you use the domestic software disk genius (diskman) to recover data similar to hard disks ). It has a powerful Partition Table reconstruction function and can restore damaged partition tables. First, boot the computer with a floppy disk, and then start disk genius in the DOS system. After disk genius is opened, only one partition is displayed. Select the "Tools" menu and then select the "recreate Partition Table" command. In the displayed dialog box, click "continue.

Run the next operation and select "Interaction Mode" in the displayed dialog box"

After a while of searching, the computer will find the lost partition and then select the "retain" command. After searching for all the lost partitions, select the "exit" command in the first menu to exit disk genius.

After the computer is restarted, the lost partitions will be restored and data will not be lost.

If your hard disk partition table is rewritten or seriously damaged for some reason, causing hard disk and system paralysis, disk genius will re-create the partition table through the undamaged Partition Boot Record information, the software will first search for the hidden sector where the 0-cylinder 0 head starts from the 2-sector, and find the partitioned table that has been changed or damaged. Next, search for the first sector of each head. The search process can be performed in two ways: automatic mode and interactive mode.

Each partition is automatically retained, which is applicable to most cases. The interaction mode provides a prompt for each partition to be discovered. The user selects whether to retain the partition. When the automatic reconstruction of the partition table is incorrect, you can use the Interactive Method to re-search. After the disk is saved, everything is fine, but sometimes it cannot be restored by correctly. Therefore, the most safe way to protect partition tables is to use it to select backup partition information, and put disk genius as the necessary tool software on the system's emergency boot disk. This software is only about KB, a floppy disk can be stored.

By the way, this powerful partitioning tool disk genius has the following features:

1. graphical interface, supporting mouse operations. The detailed structure of a partitioned table is illustrated in charts.
2. Full Chinese display, comes with a Chinese character library, without any support from the Chinese character system.
3. Multiple System partitions are supported. Operating System partitions such as UNIX, Linux, NTFS, and os2 can be created.
4. You can manually modify the partition parameters and check the partition parameters.
5. Up to four primary DOS partitions can be created.
6. You can delete the primary DOS partition while retaining the extended partition, so that you can re-plan the primary DOS partition (disk C ).
7. You can hide partitions.
8. view any sector of the hard disk.
9. Provides information for backing up all hard disk partitions, including logical partition tables and boot records of each partition.
10. It has the Partition Table reconstruction function to restore the damaged partition table;
11. All operations are performed in the memory, and the user saves the disk by themselves to prevent misoperation.

With the powerful features of disk genius, you can easily maintain your hard disk data.

Finally, I would like to remind my friends that, if a hard drive fails in most cases, it is a "soft" fault. Try to fix the fault and avoid formatting or even downgrading such dangerous operations, this causes permanent data loss.

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.