Top 10 hard drive saving strategies

Source: Internet
Author: User
Top 10 hard drive saving strategies
In order to effectively save the data in the hard disk, in addition to regular backup work, we also need to learn how to save the hard disk when the hard disk fails, or extract useful data from the bad area, minimize the loss.

I. Hard Disks are not recognized by the System

The system cannot be started from the hard disk, nor can it be started from disk A into disk C. The existence of the hard disk cannot be found by using the automatic monitoring function in CMOS. Most of these failures occur on the connection cable or IDE port. The failure of the hard disk itself is unlikely. You can re-plug the hard disk cable or change the IDE port and cable to conduct replacement tests, you will soon find the fault. If the new hard disk is not accepted, a common cause is the master-slave jumper on the hard disk. If an IDE hard disk is connected to two hard disk devices online, the master-slave relationship should be clearly defined.

Ii. faults caused by CMOS

Whether the hard disk type in CMOS is correct directly affects the normal use of the hard disk. Currently, all machines support the "Ide Auto Detect" function to automatically detect the hard disk type. When the hard disk type is wrong, sometimes the system cannot be started, sometimes the system can be started, but a read/write error occurs. For example, if the hard disk type in CMOS is smaller than the actual hard disk capacity, the sectors behind the hard disk cannot be read or written. If the disk type is multi-partition, individual partitions will be lost. There is another important cause of failure. Because the current ide supports the Logic Parameter type, the hard disk can adopt "normal, LBA, large" and so on. If data is installed in normal mode, changing to another mode in CMOS will cause a read/write error on the hard disk. Because the ing relationship has changed, the original hard disk location cannot be read.

Iii. Main guideProgramStartup fault caused

The primary boot program is located in the primary Boot Sector of the hard disk. It is mainly used to check the correctness of the hard disk partition, determine the active partition, and hand over the boot right to the DoS or other operating systems of the active partition. If the program is damaged, it cannot be booted from the hard disk, but the hard disk can be read and written after being started from the soft drive or optical drive. The solution to this fault is relatively simple. It is most convenient to use the fdisk of the higher DOS version. When the fdisk with parameters/MBR is running, the primary boot program of the hard disk will be directly replaced (overwritten. In fact, the Main Boot Sector of the hard disk is created by this program. fdisk. EXE contains the complete Main Boot Program of the hard disk. Although the DOS version is constantly updated, the Main Boot Program of the hard disk has not changed, from DOS 3. for DoS from X to ipvs 95, you only need to find a DOS boot disk to start the system and run this program to fix it.
4. startup Fault Caused by Partition Table Error

Partition Table errors are serious hard disk errors. Different levels of errors may cause different losses. If there is no active partition flag, the computer cannot start. However, you can read and write the hard disk after the drive or the Drive boot system. You can use fdisk to reset the active partition for repair.

If a partition type is incorrect, the loss of a partition may occur. The fourth byte of the partition table is the partition type value. Normally, the basic DOS partition value larger than 32 MB is 06, and the extended DOS partition value is 05. Many people use this type of value to encrypt a single partition and restore the original correct type value to restore the partition to normal.

The partition table contains other data used to record the start or end address of the partition. Damage to the data will cause confusion or loss of the partition. The available method is to re-write the data in the backup partition table, you can also obtain partition table data from other hard disks of the same type and with the same partition status.

The recovery tool can use tools such as nu for easy operation. Of course, you can also use DEBUG for operations, but the operations are cumbersome and risky.

V. Fault with incorrect partition valid flag

There is also an important part in the Main Boot Sector of the hard disk, that is, the last two bytes: "55aa", which is a valid symbol of the sector. When the disk is started from a hard disk, floppy disk, or disc, the two bytes are detected. If the disk exists, the hard disk exists. Otherwise, the hard disk is not recognized. This can be used for the encryption technology of the entire hard disk, and the debug method can be used for recovery. In addition, when the DOS boot sector does not have a boot flag, the system starts to display "mmissing Operating System ". The convenient method is to use the following common repair methods for the dossystem.

6. startup Fault Caused by DOS boot System

The dos boot system consists of the DOS Boot Sector and the DOS system file. System files mainly include IO. sys, msdos. sys, command. com, where command. com is a DOS shell file, which can be replaced by other similar files, but is a required file for DOS Startup by default. In Windows 95's DOS system, msdos. sys is a text file that is required to start Windows. However, this file is not used only when DOS is started. When a DOS boot error occurs, you can boot the system from a floppy disk or a CD and use the Sys C: Command to transfer the system to fix the fault, including the Boot Sector and system files.
VII. read/write failures caused by fat tables

The fat table records the storage address of the hard disk data. Each file has a set of fat chains to specify the address of the cluster to store. Corruption of the fat table means the loss of file content. Fortunately, the DOS system provides two fat tables. If the current fat table is damaged, the second fat table can be replaced. However, because the length of the fat table and the address of the second fat table are not fixed for disks of different specifications, you must find the correct position during restoration, some tool software such as Nu has such repair functions and is very convenient to use. Debug can also be used to achieve this operation, that is, use its m command to move the second fat table to the first table. If the second fat table is damaged, the hard disk cannot be restored to its original state, but the file data is still stored in the data area of the hard disk, you can use the chkdsk or Scandisk command to fix the issue *. chk file, which is the loss of the sector data of the fat chain. If it is a text file, you can extract the complete or part of the file content from it.

VIII. Guide Fault Caused by directory Table Corruption

The directory table records the file name and other data in the hard disk. The most important one is the starting cluster number of the file. Because the directory table does not have the automatic backup function, a large number of files will be lost if the directory is damaged. One way to reduce the loss is to use the chkdsk or Scandisk program to restore the method, search for * from the hard disk *. chk file, because the directory table is damaged, only the first cluster number is lost, each *. the chk file is a complete file. Change it to the original name to restore most files.

9. Data Recovery during accidental deletion of partitions

After the hard disk partition is deleted using fdisk, the data on the hard disk disappears completely. When the hard disk is not formatted, it is displayed as an invalid drive. If you understand how fdisk works, you will know that fdisk only rewrites the content in the primary Boot Sector of the hard disk (0-sided 0-Sector 1-sector). Specifically, it deletes the partition table information of the hard disk, the data in any partition on the hard disk has not changed. You can recover the original partition and data by following the preceding solution to partition table errors. If you have already formatted the partition, you can restore the partition data in the following way after the partition is restored.

10. recover accidentally formatted Hard Disk Data

In a high version of DOS, the format formatting operation creates disk information for restoring formatting by default, in fact, the DOS Boot Sector, FAT partition table, and directory table of the disk are copied to the last several sectors of the disk (because the following sectors are rarely used ), the content in the Data zone has not changed at all. In this way, you can run the unformat command to restore it. In addition, DOS also provides a miror command to record the information of the current disk for formatting or restoration after deletion. This method is also effective.

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.