标题: MBR.EXE 方便地一键恢复引导工具 [打印本页] 作者: wang755 时间: 2010-2-9 03:22 标题: MBR.EXE 方便地一键恢复引导工具 MBR
MBR.EXE is a utility intended to complement other TeraByte Unlimited products.
MBR.EXE allows you to manipulate a drive's master boot record (MBR). For
example, MBR.EXE is capable of deleting all the partitions in a MBR, zeroing
out a MBR, installing a standard MBR, and more.
Installation:
~~~~~~~~~~~~~
Simply copy the program file to a directory on your hard drive, or to a
bootable floppy diskette. MBR.EXE can be run from a command prompt, or from
a batch file.
hdnum Hard drive number whose MBR will be acted on (0-15).
/RESET Used in combination with MBR code installed with SELM below.
/ZERO Set the entire MBR to zero (deletes all MBR partitions).
/DEL Delete all partitions in MBR.
/INSTALL Install MBR code using the follow addtional parameters:
[STD] [SEL to fkey "msg"] [SELM to fkey "msg" fsid fsidhid]
STD Install standard MBR code.
W7 Install Windows 7 MBR code.
SEL Install MBR code that will display 'msg' and boot a hidden
FAT/FAT32 partition if 'fkey' is pressed within 'to' seconds.
The ondisk MBR is not modified.
SELM Install MBR code that will display 'msg' and boot a partition
with a file system id of 'fsidhid' if 'fkey' is pressed within
'to' seconds. The MBR is modifed so that the partition is marked
active and the file system is changed to 'fsid'. To reset the
MBR back to the prior settings, use the /RESET switch before
modifying the MBR again.
/REBOOT Reboot the computer after the selected action is carried out.
Additional usage notes:
~~~~~~~~~~~~~~~~~~~~~~~
* If the /INSTALL SEL or /INSTALL SELM command parameters are to be used,
there must be one and only one partition available that matches. For example,
the /INSTALL SEL command parameters cause a hidden FAT/FAT32 partition to be
booted from, if the defined F-key is pressed. If there is more than one
hidden FAT/FAT32 partition, however, the F-key defined by the /INSTALL SEL
command parameters will not work.
* If the /INSTALL SELM command parameters are used, the /RESET command should
be run when the alternate partition is booted from. This will reset the MBR
to its previous configuration.
Examples of use:
~~~~~~~~~~~~~~~~
mbr 1 /zero
MBR.EXE will write zeros to the MBR of hard drive 1. Note: Hard drive
1 is the SECOND hard drive, since these numbers start at 0.
mbr 2 /del
MBR.EXE will delete each partition in the MBR of hard drive 2.
mbr 2 /del /reboot
Same as above, except that the system will reboot immediately after
MBR.EXE performs the requested action.
mbr 0 /install std
MBR.EXE will install a standard MBR to hard drive 0.
mbr 0 /install sel 5 12 "Press F12 to boot the recovery partition"
MBR.EXE will install a MBR to hard drive 0. The MBR will display the
message "Press F12 to boot the recovery partition" for 5 seconds, and
the F12 key will cause a hidden FAT/FAT32 to be selected for booting.
MBR.EXE will install a MBR to hard drive 0. The MBR will display the
message "Press F9 to boot the recovery partition" for 10 seconds.
If the F9 key is pressed within 10 seconds, it will cause a partition
with the file system ID 0xDB to be booted from. The MBR will then be
modified to mark the new boot partition active, and the file system ID
of it will be changed to 0xC.
Once booted in the partition whose file system ID was originally 0xDB,
the command line "mbr 0 /reset" should be run, in order to set the MBR
back to the state it was in before the file system ID and active
partition values were changed.