How to back up your hard drive boot record _dos/bat

Source: Internet
Author: User
In order to prevent the virus from attacking the hard drive or other misoperation, it is an effective way to backup the hard disk boot record. If you do not have off-the-shelf tool software (such as srctools, a very useful tool, can be downloaded in the "Disk Utility", its specific use of the site "DOS article" column introduced its article), can be implemented with Debug. The method of backup and write the master boot record of the hard disk is introduced.
The method for backing up the master boot record is:
DEBUG (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 0001:200
-N BOOT. Zyd
-W 200
-Q
The way to back up DOS Partition boot Records is:
DEBUG (Enter)
-L 100 201
-N BOOT. Dos
-R CX
CX 0001:200
-W 100
-Q
The way to write a hard drive master boot record is:
DEBUG (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
The way to write DOS Partition boot Records is:
DEBUG (Enter)
-N BOOT. Dos
-L 100
-W 100 201
-Q
This method can repair the hard disk without losing the file, it is obvious that the backup hard disk master boot record and DOS Partition boot record is very convenient and necessary.

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.