|
[注意]深山红叶启动光盘(WinPE&PE Builder)讨论专帖(违令者必删)
[这个贴子最后由xdg3669在 2006/01/07 11:59am 第 7 次编辑]
推荐:
win32下的MBR的建立和修复管理工具,适合用于PE系统:
Usage:
MbrFix /drive <num> <command> { /yes } { /byte }
Requirements:
The program is made for Windows NT, Windows 2000, Windows XP, Windows Server 2003 and Windows PE.
You need administrative privileges to make it work!
Commands:
MbrFix /drive <num> driveinfo Display drive information
MbrFix /drive <num> drivesize Returns drive size in MB as return value
MbrFix /drive <num> listpartitions Display partition information
MbrFix /drive <num> savembr <file> Save MBR and partitions to file
MbrFix /drive <num> restorembr <file> Restore MBR and partitions from file
MbrFix /drive <num> fixmbr Update MBR code to W2K/XP/2003
MbrFix /drive <num> clean Delete partitions in MBR
MbrFix /drive <num> readsignature {/byte} Read disk signature from MBR
MbrFix /drive <num> writesignature hex Write disk signature from MBR
MbrFix /drive <num> generatesignature Generate disk signature in MBR
MbrFix /drive <num> readstate Read state from byte 0x1b0 in MBR
MbrFix /drive <num> writestate <state> Write state to byte 0x1b0 in MBR
MbrFix volumeinformation driveletter Get volume information for partition
网址:http://www.sysint.no/nedlasting/mbrfix.zip
http://www.msfn.org/board/index.php?showtopic=30378
http://www.911cd.net/forums/index.php?showtopic=10956
MBRWiz为WIN32下的修改MBR工具:
MBRWiz is a command line tool designed to directly modify the MBR, with the capability to set partitions active for booting, delete or hide partitions, back up and restore copies of the MBR, as well as sort the partition entries.
Included in the download is a 32 bit version (MBRWiz.exe) for Windows XP/2K/PE, a 16 bit executable (MBRWizD.exe) for DOS and Win9x, as well as a version for Linux.
Usage: MBRWiz [/option]
/List List MBR Entries
/Disk=# Selects the disk to use. 0 is used if not specified
/Hide=# Hides the Partition number specified by #, or * for all
/Unhide=# Unhides the Partition number specified by #, or * for all
/Active=# Activates the Partition specified by #
/Inactive=# De-activates the Partition number specified by #, or * for all
/Del=# Deletes the partition specified by #, or * for all
/Wipe=# 1=Wipes the MBR, 2-Wipes the first 63 sectors of disk
/Save=x Saves the MBR to filename ';x';
/Restore=x Reads and restores the Disk MBR from filename ';x';
/ShowFile=x Shows contents of an existing MBR backup file named ';x';
/BootMenu Allows user to select an active partition from a menu
/Sort Sort MBR Entries by disk location
/IsSorted Returns 0 if MBR partitions are already sorted
/Ignore Ignore Errrors
/Shutdown=# 1-Force shutdown, 2-Force Reboot, 3-Shutdown, 4-Reboot
/Result Shows Errorlevel code
http://www.911cd.net/forums//index.php?showtopic=13347
|
|