(2) repair the hard disk DOS boot record
Repair method can refer to the above example, to select the DOS version and the hard disk the same type of computer is suitable.
① to start a normal computer, and drive home an A blank, formatted disk, type the following statement sequence:
C> DEBUG
-L 100 2 01
-W 100 0 501
At this point, has made well-DOS boot disk in the floppy disk blocks and write the logic 50H sector.
② The DOS floppy disk boot failure of the computer, after entering DEBUG into the floppy disk drive A, type the statement in the DEBUG state sequence:
-L 100 0 501
-W 100 2 01
At this point, the hard disk DOS boot record repair is completed
(3) repair system files
System, system boot files are an important part of the module, if damaged or wrongly IBMBIO.COM or IBMDOS.COM deleted, DOS command SYS can be used to recover, that is, DOS boot floppy disk system, the implementation of SYS C: command, if the response "System transferred "indicates that the two systems has been hidden file transfer to your hard disk, if the response to" NO ROOM FOR SYSTEM ON DESTIN-STION DISK ", said the transmission failed, because IBMBIO.COM must be occupied by the root directory of the respective first and second directory entry , and the need for a continuous front of the hard disk data area storage space, and these conditions have been damaged in other documents. The solution was to use a feature observed PCTOOLSCT the MAP FLLES disk image map that can identify the suspect file and delete it, until the SYS tell you until the SYS-TEM TRANSFERRED.
It is worth mentioning that, SYS command is not sent to the COMMAND.COM hard drives, to restored, can COPY command. The implementation of the "COPY A: \ COMMAND.COM C: \"
(4) hard disk formatting
In the repair done to attempt to do so, however, failed cases, the last resort is to reformat the hard disk, a complete hard disk format is divided into three steps, namely initialization (low-level formatting), establishing partition (FDISK) and the format (FOR-MAT C: / S). The operation of the hard disk is formatted in the following we are devoted to.
Second, the hard disk read and write errors when using the maintenance
1. The hard disk can not read and write files
Hard disk drives After a period of use, suddenly can not call some of the document.
The reasons for this failure the following two points: First, the use of information within the disc for some time after the natural loss; 2 is a user to use the hard disk properly, causing the information in an artificial disc is lost. Such as the proper head to read, write operation, a sudden power-down or shut down; another example, head work, the plate body subject to greater vibration, is a collision between the head and the platter, resulting in the user zone data disc or track was damaged.
This troubleshooting method is to call the system file FORMAT.COM to re-format your hard drive and then make a backup copy of the file back to the hard drive. At this point, such as using CHKDSK System File Checker may be displayed on the screen XXXXKB BAD SECTORS.
2. The hard disk can not be started
Hard disk drives After a period of normal use, a sudden can not boot up the operating system, such as the call to C drive, the screen displays "Invalid drive specifica-tion", shows call an invalid drive.
Rise to the possibility of such failures are manifold, which include soft fault. 00 tracks the presence of soft failure is one of the main failures leading to the above, here from a software maintenance point of view on the situation and maintenance of the 00 tracks means.
In the 00 tracks on system files and the hard disk bootstrap procedures, and 00 tracks is also head of the reference point to find other tracks. Therefore, the 00 tracks and 00 tracks of good and bad information have a direct impact on the hard drive can work properly. If used improperly or some kind of accident has damaged the 00 tracks on the written document, then after the boot, C drive can not boot the operating system, or even the head simply can not seek to read and write files. At this point, without formatting C drive is like mine, so when the user is called C drive, the screen will display "Invalid drive instruction." Exclude this fault is physically re-formatted drive C, re-DOS operating system partition and re-formatted region, and it is copyed into system files.
Because there are two hard disk boot record (assuming the hard disk is divided into a partition), one is the master boot record, one is the partition boot record. Master boot record cleared and re-write can use the physical format (low-level formatting) program (LOW-FORM.EXE, DTCFMT.EXE), thereby foregoing the process of troubleshooting, the first to use the physical format. The second step is to use DISK.COM right to partition the hard disk partition information and to be registered in the master boot sector, but it does not change the master boot record code execution. The third step is the use of FORMAT.COM region of the DOS format, because the master boot record does not belong to any partition, so FORMAT.COM program can not clear the master boot sector of any information. After the completion of the above three steps, and then operating system files written to the hard disk, thus, re-generate the hard work not be completed until this time, the hard drive already has the ability to bootstrap, you can use.
When using a floppy disk drive A boot after the operating system can display hard disk in the file directory, but can not boot from the hard drive operating system.
This occurs generally due to the system file is not written or damaged. Operating system files, a total of three components, namely, a two hidden files and COMMAND.COM files. Two hidden files are written in the 00 Road, the event of a failure, then the host can not boot the operating system.
Troubleshooting method is to use FORMATC: / S / V command to conduct a re-format the hard disk and then copy the backup of user files back to the hard disk can be restored to use.
Showing posts with label Hard disk repair soft. Show all posts
Showing posts with label Hard disk repair soft. Show all posts
12/21/2009
Hard disk repair soft errors
In fact, a large number of hard drive failures are soft failures, such failures also accounted for a large proportion of computer failures, and these failures can be users themselves, and the following, we mainly target a number of soft errors frequently occur phenomenon, about the maintenance of their skills.
First, the maintenance of the hard disk bootstrap failure
Practical application, the hard disk bootstrap failure is very common, hard disk bootstrap failure generally have the following symptoms:
Show "BASIC ... OK", enter the ROM BASIC.
Display "Invalid partition Table", is invalid partition table.
Display "Error loading operating system", read boot record failure and enter an infinite loop.
Shows "Operating system missing operating system" is not the operating system.
Show "NOn-System disk or disk error"
"Replace and strike any key when ready", read boot error.
Shows "Disk boot failure", Disk Boot failure into an infinite loop.
Show "Bad or missing command interpreter", COM-MAND.COM no or destroyed.
1. With the hard disk to start the boot process module and its boot
The hard disk from the hard disk of boot ROM BIOS, the hard disk master boot record, DOS boot record and system files completed. ROM BIOS, a total of 8K bytes, providing self-test, bootstrap capability and the establishment of the hard disk I / O and a series of operations, contained in the hard disk of boot module is the interrupt routine INT19H; hard disk master boot record in the 0 column 0 a sector (physical sector), before the row of logic 0 sector, including the hard disk boot loaders and partition information table, sector of the last two bytes "55A", is a hidden sector, with the DEBUG command or DOS function call INT 21H and were unable to read and write, usually provided by the ROM BIOS interrupt service routine INT13H hard to read and write an absolute, DOS Boot Record partition the hard disk 0 column 0 2 sector (physical sector, the entire hard drive was placed under DOS partition), that is the logical sector 0 to end the logo is also a "55AA".
The system power-up, the computer's execution flow is as follows:
CPU into the reset state of well-Qiang Chi CS: IP = FFF: 0000H, the address obtained from the first instruction (jump instructions).
The system transferred to the ROM BIOS program areas, the implementation of self-test procedure, if the self-test is successful, directing the INT19H systematic guidance, or reveal the error message and enter an infinite loop.
INT19H first tries to reset the floppy disk system, if successful, then read the first one of the DOS floppy boot record to the starting address 0000:7 C00H memory cell implementation, and then enter the DOS, or reset the hard disk system.
The success of the reading of the hard disk master boot record to the starting address 0000:7 C00H memory unit, and implement the master boot process, if the reset fails, read the master boot record error, or hard physical first one the last two bytes are not "55AA" , have shown that:
"BASIC ... OK" into the ROM BASIC.
The hard disk master boot program main function is to identify the current active partition, that is, view the partition information in the table 4 partition boot flag, when the DOS partition boot logo 80H, while the other partition 00H, will read the memory DOS Boot Record 0000:7 C00H Department.
If the four partition did not boot logo (80H), then the hair INT18 instruction into ROM BASIC;
If the boot flag (80H) more than one or a partition for the boot flag is neither 80H, then the non-00H, is displayed "Invalid partition table" and enter an infinite loop.
Find the active partition, the master boot record program attempts to read the memory, DOS Boot Record 0000:7 C00H Department, if the read fails, it displays: "Error LoadongSystem" and enter an infinite loop.
Read the success of the DOS boot sector checks whether the last two bytes of "55AA", the correct implementation of the jump 0000:7 C00H just read into the DOS boot process, if not, then the Show:
"Missing operating system" and enter an infinite loop.
Guide the process to AH = OINT13H command reset disk system, if the failure is displayed:
"Non-system disk or disk error"
"Replace and strike any key when ready"
Wait for keyboard input in order to shift INT19H re-boot.
If successful, then the calculation of the file directory area and the file data area start-bit sector numbers, and read the root directory of the first one to 0050:007 H office, if the read fails, an error message is displayed on.
If correct then the reading of "IBMBIO.COM" file into memory. If the reading error is displayed:
"Disk boot failure" into an infinite loop.
If the reading success, by IBMBIO.COM, IBMDOS.COM and COMMAND.COM three DOS system files, continue with the installation, during which, if can not find COMMAND.COM or the file is corrupt, then the show "Bod or missing command interpreter ".
Otherwise, a normal guide, until the system prompt, waiting for users to type a DOS command.
At this point, the system into DOS working condition.
2. Bootstrapping failed hard disk repair
If a normal hard disk drives, hard disk bootstrap failure and hard disk master boot module, DOS boot modules and system files are closely linked. For example, boot into ROM BASIC is likely to damage the hard disk master boot record; and failure to guide reveals the error message, then with the partition information table, DOS boot record and system files on damaged or missing. For a different error message, we should find out the crux of the problem and then take corresponding repair method is presented as follows:
(1) repair the hard disk master boot record
Using the hard disk master boot module versatility, from another of the normal and hard disk partitions on the same computer access to the module, and then write back to the hard disk failure, this method is simple and quick, even for the master boot block structure, a very shallow understanding of , did not find it difficult to operate, the steps are as follows:
① to start a normal computer, and drive home an A blank, formatted disk, type the following statement sequence:
C> DEBUG
-A 100
? ? ? ? : 0100 MOV AX, 0201; reading a sector
? ? ? ? : 0103 MOV BX, 1000; set buffer CS: 1000
? ? ? ? : 0106 MOV CX, 0001; reading 0 Column No. 1
? ? ? ? : 0109 MOV DX, 0080; the hard disk head, No. 0
? ? ? ? : 010C INT 13; disk I / O interrupts
? ? ? ? : 010E INT 20; program termination.
? ? ? ? : 0110
-G = 100
-W 1000 0 50 1
At this point, has been good and hard disk master boot block and write the logic in the floppy disk sector 50H.
② The DOS floppy disk boot failure of the computer, after entering DEBUG into the floppy disk drive A, type the statement in the DEBUG state sequence:
-L 1000 0 501
-A 100
? ? ? ? : 0100 MOV AX, 0301: to write a sector
? ? ? ? : 0103 MOV BX, 1000
? ? ? ? : 0106 MOV DX, 0001
? ? ? ? : 0109 MOV DX, 0080
? ? ? ? : 010C INT 13
? ? ? ? : 010E INT 20
? ? ? ? : 0110
-G = 100
At this point, the hard disk master boot record repair is completed.
First, the maintenance of the hard disk bootstrap failure
Practical application, the hard disk bootstrap failure is very common, hard disk bootstrap failure generally have the following symptoms:
Show "BASIC ... OK", enter the ROM BASIC.
Display "Invalid partition Table", is invalid partition table.
Display "Error loading operating system", read boot record failure and enter an infinite loop.
Shows "Operating system missing operating system" is not the operating system.
Show "NOn-System disk or disk error"
"Replace and strike any key when ready", read boot error.
Shows "Disk boot failure", Disk Boot failure into an infinite loop.
Show "Bad or missing command interpreter", COM-MAND.COM no or destroyed.
1. With the hard disk to start the boot process module and its boot
The hard disk from the hard disk of boot ROM BIOS, the hard disk master boot record, DOS boot record and system files completed. ROM BIOS, a total of 8K bytes, providing self-test, bootstrap capability and the establishment of the hard disk I / O and a series of operations, contained in the hard disk of boot module is the interrupt routine INT19H; hard disk master boot record in the 0 column 0 a sector (physical sector), before the row of logic 0 sector, including the hard disk boot loaders and partition information table, sector of the last two bytes "55A", is a hidden sector, with the DEBUG command or DOS function call INT 21H and were unable to read and write, usually provided by the ROM BIOS interrupt service routine INT13H hard to read and write an absolute, DOS Boot Record partition the hard disk 0 column 0 2 sector (physical sector, the entire hard drive was placed under DOS partition), that is the logical sector 0 to end the logo is also a "55AA".
The system power-up, the computer's execution flow is as follows:
CPU into the reset state of well-Qiang Chi CS: IP = FFF: 0000H, the address obtained from the first instruction (jump instructions).
The system transferred to the ROM BIOS program areas, the implementation of self-test procedure, if the self-test is successful, directing the INT19H systematic guidance, or reveal the error message and enter an infinite loop.
INT19H first tries to reset the floppy disk system, if successful, then read the first one of the DOS floppy boot record to the starting address 0000:7 C00H memory cell implementation, and then enter the DOS, or reset the hard disk system.
The success of the reading of the hard disk master boot record to the starting address 0000:7 C00H memory unit, and implement the master boot process, if the reset fails, read the master boot record error, or hard physical first one the last two bytes are not "55AA" , have shown that:
"BASIC ... OK" into the ROM BASIC.
The hard disk master boot program main function is to identify the current active partition, that is, view the partition information in the table 4 partition boot flag, when the DOS partition boot logo 80H, while the other partition 00H, will read the memory DOS Boot Record 0000:7 C00H Department.
If the four partition did not boot logo (80H), then the hair INT18 instruction into ROM BASIC;
If the boot flag (80H) more than one or a partition for the boot flag is neither 80H, then the non-00H, is displayed "Invalid partition table" and enter an infinite loop.
Find the active partition, the master boot record program attempts to read the memory, DOS Boot Record 0000:7 C00H Department, if the read fails, it displays: "Error LoadongSystem" and enter an infinite loop.
Read the success of the DOS boot sector checks whether the last two bytes of "55AA", the correct implementation of the jump 0000:7 C00H just read into the DOS boot process, if not, then the Show:
"Missing operating system" and enter an infinite loop.
Guide the process to AH = OINT13H command reset disk system, if the failure is displayed:
"Non-system disk or disk error"
"Replace and strike any key when ready"
Wait for keyboard input in order to shift INT19H re-boot.
If successful, then the calculation of the file directory area and the file data area start-bit sector numbers, and read the root directory of the first one to 0050:007 H office, if the read fails, an error message is displayed on.
If correct then the reading of "IBMBIO.COM" file into memory. If the reading error is displayed:
"Disk boot failure" into an infinite loop.
If the reading success, by IBMBIO.COM, IBMDOS.COM and COMMAND.COM three DOS system files, continue with the installation, during which, if can not find COMMAND.COM or the file is corrupt, then the show "Bod or missing command interpreter ".
Otherwise, a normal guide, until the system prompt, waiting for users to type a DOS command.
At this point, the system into DOS working condition.
2. Bootstrapping failed hard disk repair
If a normal hard disk drives, hard disk bootstrap failure and hard disk master boot module, DOS boot modules and system files are closely linked. For example, boot into ROM BASIC is likely to damage the hard disk master boot record; and failure to guide reveals the error message, then with the partition information table, DOS boot record and system files on damaged or missing. For a different error message, we should find out the crux of the problem and then take corresponding repair method is presented as follows:
(1) repair the hard disk master boot record
Using the hard disk master boot module versatility, from another of the normal and hard disk partitions on the same computer access to the module, and then write back to the hard disk failure, this method is simple and quick, even for the master boot block structure, a very shallow understanding of , did not find it difficult to operate, the steps are as follows:
① to start a normal computer, and drive home an A blank, formatted disk, type the following statement sequence:
C> DEBUG
-A 100
? ? ? ? : 0100 MOV AX, 0201; reading a sector
? ? ? ? : 0103 MOV BX, 1000; set buffer CS: 1000
? ? ? ? : 0106 MOV CX, 0001; reading 0 Column No. 1
? ? ? ? : 0109 MOV DX, 0080; the hard disk head, No. 0
? ? ? ? : 010C INT 13; disk I / O interrupts
? ? ? ? : 010E INT 20; program termination.
? ? ? ? : 0110
-G = 100
-W 1000 0 50 1
At this point, has been good and hard disk master boot block and write the logic in the floppy disk sector 50H.
② The DOS floppy disk boot failure of the computer, after entering DEBUG into the floppy disk drive A, type the statement in the DEBUG state sequence:
-L 1000 0 501
-A 100
? ? ? ? : 0100 MOV AX, 0301: to write a sector
? ? ? ? : 0103 MOV BX, 1000
? ? ? ? : 0106 MOV DX, 0001
? ? ? ? : 0109 MOV DX, 0080
? ? ? ? : 010C INT 13
? ? ? ? : 010E INT 20
? ? ? ? : 0110
-G = 100
At this point, the hard disk master boot record repair is completed.
Subscribe to:
Posts (Atom)