How to fix a damaged partition table

Source: Internet
Author: User

We use the computer when the hard disk partition fails to do, this tutorial and you together to analyze the problem.

Why does the partition table fail?

When the partition table is corrupted, the system often appears "Non-system disk or disk Error,replace Diskand press a key to reboot" (non-system disk or disk error), "Error Loading Operatin Gsystem "(Mount dos boot log error) or" No ROM Basic,system halted "(Cannot enter Rombasic, system stops responding) and so on prompts the information. So how does the partitioning table malfunction happen?

1, the virus causes the fault

Computer viruses are one of the most typical faults that cause partition table damage. For example, a variant of the typical CIH virus can damage the partition table in addition to the BIOS of the motherboard, and more than a few boot zone viruses can damage the partition table.

2, environmental problems caused

Today's Windows system 2000/XP is supported by the NTFS file format, and the program defaults to the file format to install the system, if the hard disk partition conversion or partition NTFS partitions accidentally power or panic, then very likely to cause partition table damage. And in the Pqmagic (Division magician), such as third-party zoning software to adjust the hard disk partition capacity, the transformation of the partition format is also a certain risk, if the crash or power loss will also cause the hard disk partition table failure, and may even lose all the data on the hard drive.

3. Improper operation

If you have multiple operating systems installed on a single hard drive, you may be able to cause a partitioned table failure at the time of uninstall, such as removing the Windows System 2000 kernel directly from a computer that has Windows 2000 and Windows System 98 installed, which can cause partition table errors. In addition, if you delete a partition without first deleting the extended partition, but deleting the primary partition directly, you may also receive a failure to correctly read the partition's label.

How to fix the partition table fault?

1. Killing virus

If it is due to the boot area of the virus caused by partition table failure, it can use KV3000, rising, Jinshan and other anti-virus software to boot the computer, and then in the DOS environment to the system virus killing operations. For example, when you start the computer with the KV3000 boot disk and enter the "kv3000/k" command for virus scanning, if you find a virus in the boot area, the program automatically cleans up and recommends a complete scan of the entire system to find out the hidden virus. In general, you can restore the normal use of your computer after you clean up the remaining viruses in the boot area.

Tip: Be sure to turn off the write protection of the floppy disk before booting the computer with a floppy disk, or it may cause a virus to infect the floppy disk.

2, with the FDISK command to repair

Fdisk is not just a partitioning program, he has a very handy recovery primary boot sector feature, and he only modifies the primary boot sector and does not write to other sectors, so it is certainly the best partition table repair tool for friends who are still using Windows 9x. When you repair the primary boot area with Fdisk, start the system with the Windows System 98 boot disk, and then enter the "FDISK/MBR" command at the prompt to overwrite the master boot area record.

Tip: the "fdisk/mbr" command simply restores the primary partition table and does not rebuild it, so it applies only to the primary boot zone record being damaged by the boot zone virus or the master Boot Record code loss, but the primary partition table is not corrupted. And this command does not apply to clear all boot viruses, so you need to be careful when using them.

3. Repair the boot record with fixmbr

In Windows system 2000/XP, we typically use some of the enhanced commands that are integrated with the Recovery Console, such as fixmbr to fix and replace the master boot record for the specified drive, fixboot to fix the boot sector that knows the drive, DiskPart can add or remove partitions on the hard drive, Expand can extract the missing files from the specified cab source file, listsvc can create a list of services and display the current startup status of the service, disable and enable are used to prohibit and allow a service or hardware device, and so on, and enter "Help" Commands can be viewed with detailed explanations of all control commands and orders.

For example, entering the "fixmbr" command allows the console to check the master boot record for the current system, and then, "Are you sure you want to write a new master boot record?" "Y" followed by a confirmation, which completes the repair of the master boot record

4, change tool adjustment zoning

When deleting a partition or recreating a partition, if you encounter an unexpected cause of a panic or power outage, then using the original tool may not recognize the current hard disk partition table, you must replace the other partition table software to repair. For example, through the Fdisk partition accidentally panic, this time again through Fdisk can not be smoothly, can use pqmagic such as third-party zoning software to solve. In addition, we need to remind you that the partition table for the system's normal and stable operation of the impact is very large, under normal circumstances, the best not to use such as DM fast partition format software, otherwise it may lead to the later use of the process of frequent unexpected trouble.

5, through "Jiangmin HDD repair King" Repair

When a partitioned table is corrupted, the most common error message is: "Invalid partitiontable" (Invalid partition table). For partitioned table failure, can be repaired by "Jiangmin HDD repair King".

First on the Jiangmin company's website download "hdd Repair King" image file and "HD.exe" file, and then through the "HD.exe" to Jiangmin antivirus King 2003 of the key disk. Use this floppy disk to start the computer, enter "Jmhdfix" at the prompt and enter the main interface of the hard disk repair King.

Press the F2 key in the main interface to enter the "system test and Automatic Repair" interface, at which time the program will automatically detect the hard disk partition table, if the partition table is corrupted, the screen display:

Hard Disk Partition table-error!!!

Fix Hard Disk Partition Table or sector (y/n)?

Hard disk partition table error, repair hard disk partition table or c disk boot area? Press "Y" key to repair, press "N" key to exit.

When you press the "Y" key, the screen displays:

Insert a formatted diskette into drive A, pressed "Y" to save "error" Partition table floppy filename hdpt. VIR, "N" to Exitcontinue (y/n).

Please insert a floppy disk to make a backup of the bad boot area information, and its file name is Hdpt.vir. Insert diskette Press "Y" key to continue, press "N" key to exit.

After inserting a floppy disk and pressing the "Y" key, the screen displays:

Hard disk Partition table or boot sector fixed ok!!!

Fixing ...

Note: At this point, KV3000 is repairing the partition table on disk C and do not interrupt its operation. After a while, if the screen appears the following words:

Ok! Ok! Ok!

Press any key to return ...

This means rebuilding the partition table successfully and pressing any key to exit. After restarting your computer, the repair succeeds if you can enter sections C, D, and so on.

6, with Disk Genius backup recovery partition table

Diskgenius not only provides basic hard disk partition management functions such as setting up, activating, deleting and hiding partitions, but also has powerful partition maintenance functions such as partition table backup and restore, partition parameter modification, HDD master boot record repair, rebuilding partition table and so on. In addition, he also has the partition format, the partition lossless adjustment, the hard disk surface scan, the sector copy, completely clears the sector data and so on the practical function.

Tip: If you just want to use Diskgenius to view, back up the hard disk partition information, you can run it directly under the Windows system, but if it involves changing the partition parameters of the write disk operation, you must run in a pure DOS environment, and in the CMOS before using the "AntiVirus" option is set to " Disable ".

After you run disk genius, the program will automatically read the partition information for your hard disk and display the hard disk partition on the screen as a chart. As shown in the figure, this is the Diskgenius to detect the author's hard drive to get the partition information structure diagram. The column chart on the left shows the location and size of each partition on the hard disk, showing the type of each partition and its specific parameters on the right side of the screen, including the Guide flag, System flag, partition start and end cylinder number, sector area code, and number one. There is a dynamic line between the histogram and the parameter table indicating the correspondence between them. You can select a partition by clicking the mouse in a histogram or table, or you can select the current partition by using the cursor movement key on the keyboard.

When you need to back up your partition table, press the "F9" key or run the tools → back up partition Table command, and then type the file name in the pop-up dialog box to back up the current partition table. Press the "F10" button or run the "tools → restore partition Table" command, and then enter a filename, the software will read the specified partition table backup file and update the screen display, confirmed that the backup partition table can be restored to the hard disk.

7, learn to use Diskman recovery hard disk partition table

And whether it is an active partition and other important information. Once the partition table is destroyed, the system because the partition is not recognized, will be the hard disk as an unpartitioned bare disk processing, resulting in some soft damage, there is no need to worry, because there is a very good partition Table repair Maintenance tool can help us find the former normal hard drive, this is Diskman

Diskman is a small hard disk partition Table Maintenance tool, the size of only 108KB, but the function is very powerful. He can manually modify the hard drive has all the data, including logical partitions, can be rebuilt by 30 of the table, can be divided by the user's will, so that a hard drive multiple operating systems coexist. His unique feature is that the full Chinese image interface, without all the Chinese character system support, in a very intuitive chart to indicate the detailed structure of the partition table.

Diskman after the appearance of the Program Interface Edge column representation of antiquities, there are several sections indicating that there are several partitions, the different colors represent different types of partitions, with the grid is extended (logical) zoning, without the grid is the main partition (or free space). The chart on the right is the parameter information for the hard disk and each partition, available in decimal and hexadecimal. The corresponding relationship between partition and partition parameters is linked by arrows, at a glance.

After starting the software, he will automatically check the hard disk partition parameters, found unreasonable parameters of each given a hint. You can manually modify the wrong parameters, the method is: With the cursor, the next key selection (or mouse click) to modify the partition, press F11 key into the modified state. In the Modify partition Parameters window that pops up, move the cursor to the parameter item you want to modify, and after typing the value, select OK to exit. The modified partition is labeled with the blue letter M next to its ordinal number. If the size or location of the partition has changed, the partition will be treated as a newly established partition, with the flag next to its ordinal changing to the red letter N, and the original boot record for that partition will no longer function or be overwritten when it is saved.

Tip: Do not arbitrarily change the partition size, especially by modifying the starting cylinder, starting sector, and starting head parameters of the partition, which can result in the loss of logical disk data because the Diskman cannot be modified without compromising the partition.

One of the most important features of Diskman is the rebuilding of partitioned tables. If your hard disk partition table is severely damaged by the partition tuning software (or virus), causing the hard drive and system to fail, Diskman can re-establish the partition table with the corrupted partition boot record information. Select Rebuild partition on the menu's toolbar, and Diskman begins searching and rebuilding the partition. The Diskman will first search for the hidden sectors of the 0 cylinder 0 head starting from 2 sectors, looking for the partition table that has been moved by the virus. Next, search for the first sector of each head. The search process can take the form of "automatic" or "interactive". Automatic retention of each partition found is appropriate for most situations. The interactive method gives a hint to each partition that is found, and the user chooses whether to keep it. When the automatic reconstruction of the partition table is incorrect, you can interactively search, if you retrieve the partition, the above data can be retained.

Using Diskman to modify partition parameters manually, it is necessary to be familiar with the meaning of each parameter of the partition, and the "Rebuild partition" function can not ensure 100% correct recovery. So the safest way to protect the partition table is to back up the partition table information. After starting Diskman press F9, enter the filename, insert the floppy disk and choose OK. If you want to restore, just press the F10 key, follow the prompts, you can completely restore the hard disk partition information.

Tip: Diskman as an essential tool software, put on the system emergency Boot disk, and use him to back up the partition table information to the boot disk, there is no business.

In addition, Diskman can create partitions, activate partitions, delete partitions, hide partitions, and view any sector data. All of his functions can be done by shortcut keys and mouse-click menus, which are easy to operate, and all operations are done in memory before they are saved, without fear of serious consequences for misoperation.

Because the partition table fault is a soft fault, so we need to develop the correct use habits in the daily use of the computer, so as to prevent the problem, as far as possible to reduce the possibility of the partition table failure.

1. The computer must install anti-virus software, which can not only prevent all kinds of common viruses to invade the computer, but also reduce the use of floppy disks or discs, partition table mistakenly virus possibility. And, in general, try not to use floppy disks or discs of unknown origin.

2. The newly purchased hard drive recommends that you use a built-in program to partition your Windows system when you install it, or use the 2000/XP program to partition it, and try not to use a third party quick partition format integration program, which could lead to a failure in your computer later.

3. partition or adjust the operation of the time, as far as possible to choose a more stable power supply time period, it is possible that the best use of external ups power supply.

4. In the case of stable operation of the computer, do not adjust and transform the partition table as far as possible, especially the NTFS partition, make sure to back up the important data files in the partition before doing the above operation.

5. After installing the operating system, it is recommended that the partition table be backed up in case of failure to recover in time.

After reading the introduction of the content, I believe that you meet the partition table failure will not be helpless, it is hoped that the partition table fault no longer plague our normal use of their own computer.

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.