As everyone knows, disks are a very important storage device in today’s computers, and people normally can’t use a computer without them. Therefore, properly maintaining disks and protecting the data on them is very important, especially the three most important parts of a disk—the boot sector, the file allocation table (FAT), and the master boot record (MBR). If there is no backup at all, then when mistaken operations, viruses, or other causes lead to problems such as the disk failing to boot normally, it will be too late for regret. So it is absolutely necessary to keep backups of them and know how to restore them.
There are quite a few tools for saving/restoring these parts of a disk. The SRCTools introduced in this article is a very powerful and practical one, and it can be downloaded from the “Disk Tools” section of this site. It is a very new program, so it fully supports all kinds of FAT partitions, including FAT12/FAT16/FAT32, and it also supports large hard disks. Some older similar tools, such as STBFP, do not support these. SRCTools consists of three files: SRCBOOT, SRCFAT, and SRCMBR. They are respectively used to operate on the disk’s boot sector, file allocation table (FAT), and master boot record (MBR). Their usage is all very simple and very similar (after all, they are one piece of software), namely:
SRCBOOT drive-letter filename parameter
SRCFAT drive-letter filename parameter
SRCMBR hard-disk-number filename parameter
Among them, the parameter specifies the operation to perform. There are the following three types:
/S: Save operation.
That is, save the contents of the boot sector/FAT/MBR to a file.
/R: Restore operation.
That is, restore the contents saved in the file back into the boot sector/FAT/MBR.
/C: Compare operation.
That is, compare and check the contents saved in the file against the current contents of the boot sector/FAT/MBR.
In the command line, the drive letter can be the letter of any physical drive, such as C:, D:, etc.; the hard disk number specifies which hard disk is to be operated on—for example, hard disk 0 means the first hard disk, hard disk 1 means the second hard disk, and so on; the filename is the file specified for the above save/restore/compare operation.
For example, suppose you want to save the contents of the boot sector of drive C to a file named FILE1. In this case, the drive letter is C:, and the filename to operate on is FILE1, so you only need to execute the command "SRCBOOT C: FILE1 /S". Another example: if you want to restore the master boot record (MBR) contents saved in file FILE2 to the first hard disk (that is, disk 0), then you can execute the command "SRCMBR 0 FILE2 /R". If you want to compare the file allocation table (FAT) contents saved in file FILE3 with the current FAT contents of drive D to check whether they are correct, then executing the command "SRCFAT D: FILE3 /R" will achieve this function.
See, isn’t it very convenient and practical to use? Everyone may as well try it, to make disk maintenance more convenient and efficient.
Article taken from "新DOS時代" http://newdos.yginfo.net/
There are quite a few tools for saving/restoring these parts of a disk. The SRCTools introduced in this article is a very powerful and practical one, and it can be downloaded from the “Disk Tools” section of this site. It is a very new program, so it fully supports all kinds of FAT partitions, including FAT12/FAT16/FAT32, and it also supports large hard disks. Some older similar tools, such as STBFP, do not support these. SRCTools consists of three files: SRCBOOT, SRCFAT, and SRCMBR. They are respectively used to operate on the disk’s boot sector, file allocation table (FAT), and master boot record (MBR). Their usage is all very simple and very similar (after all, they are one piece of software), namely:
SRCBOOT drive-letter filename parameter
SRCFAT drive-letter filename parameter
SRCMBR hard-disk-number filename parameter
Among them, the parameter specifies the operation to perform. There are the following three types:
/S: Save operation.
That is, save the contents of the boot sector/FAT/MBR to a file.
/R: Restore operation.
That is, restore the contents saved in the file back into the boot sector/FAT/MBR.
/C: Compare operation.
That is, compare and check the contents saved in the file against the current contents of the boot sector/FAT/MBR.
In the command line, the drive letter can be the letter of any physical drive, such as C:, D:, etc.; the hard disk number specifies which hard disk is to be operated on—for example, hard disk 0 means the first hard disk, hard disk 1 means the second hard disk, and so on; the filename is the file specified for the above save/restore/compare operation.
For example, suppose you want to save the contents of the boot sector of drive C to a file named FILE1. In this case, the drive letter is C:, and the filename to operate on is FILE1, so you only need to execute the command "SRCBOOT C: FILE1 /S". Another example: if you want to restore the master boot record (MBR) contents saved in file FILE2 to the first hard disk (that is, disk 0), then you can execute the command "SRCMBR 0 FILE2 /R". If you want to compare the file allocation table (FAT) contents saved in file FILE3 with the current FAT contents of drive D to check whether they are correct, then executing the command "SRCFAT D: FILE3 /R" will achieve this function.
See, isn’t it very convenient and practical to use? Everyone may as well try it, to make disk maintenance more convenient and efficient.
Article taken from "新DOS時代" http://newdos.yginfo.net/
MSN:tiqit2@hotmail.com







