To prevent viruses from attacking the hard disk or other misoperations, backing up the boot records of the hard disk is an effective method.
If there is no ready-made tool software (such as srctools, a very useful tool, you can
Disk tool. For details about how to use this tool, see "dos" on this site. Article),
Debug is available. This section describes how to back up and write the Master Boot Record of a hard disk.
To back up the Master Boot Record, follow these steps:
Debug (Press ENTER)
-A 100
XXXX: 0100 mov ax, 201
XXXX: 0103 mov BX, 200
XXXX: 0106 mov CX, 1
XXXX: 0109 mov dx, 80
XXXX: 010c INT 13
XXXX: 010e INT 3
XXXX: 010f
-G = 100
-R CX
CX 000:200
-N boot. zyd
-W 200
-Q
To back up a DOS Partition Boot Record, follow these steps:
Debug (Press ENTER)
-L 100 201
-N boot. Dos
-R CX
CX 000:200
-W 100
-Q
The method to write the hard drive Boot Record is:
Debug (Press ENTER)
-N boot. zyd
-L 200
-A 100
XXXX: 0100 mov ax, 301
XXXX: 0103 mov BX, 200
XXXX: 0106 mov CX, 1
XXXX: 0109 mov dx, 80
XXXX: 010c INT 13
XXXX: 010e INT 3
XXXX: 010f
-G = 100
-Q
To write a DOS Partition Boot Record, follow these steps:
Debug (Press ENTER)
-N boot. Dos
-L 100
-W 100 201
-Q
This method can repair the hard disk without losing files. The backup hard disk Master Boot Record and DOS partition guide can be seen.
It is very convenient and necessary to export records.
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