MBR 修复

来源:互联网 发布:金融大数据挖掘 编辑:程序博客网 时间:2024/05/17 08:29

使用MBRFix工具进行修复。
   MBRFix工具修复MBR很方便,先进入cmd命令窗口,然后进入mbrfix工具所在的目录(用cd命令),然后输入命令 MbrFix /drive 0 fixmbr ,再确认一下即可。

使用方法:
    
Commands:
MbrFix /drive <num> driveinfo               Display drive information
                                                             (显示硬盘信息)    
MbrFix /drive <num> listpartitions             Display partition information
                                                                  (显示分区信息)    
MbrFix /drive <num> savembr <file>         Save MBR and partitions to file
                                                                (保存MBR 到分区)    
MbrFix /drive <num> restorembr <file>      Restore MBR and partitions from file
                                                                (从分区写入MBR)    
MbrFix /drive <num> fixmbr                     Update MBR code to W2K/XP/2003
                                                               (更新 MBR code 用于W2K/XP/2003 or Vista) 
MbrFix /drive <num> clean                        Delete partitions in MBR
                                                                (删除所有分区的MBR) 
MbrFix /drive <num> readsignature {/byte} Read disk signature from MBR
                                                                (从MBR读取签名信息,即标记) 
MbrFix /drive <num> generatesignature      Generate disk signature in MBR
                                                               (磁盘签名生成MBR中) 
MbrFix /drive <num> readstate                 Read state from byte 0x1b0 in MBR
                                                                 (读取位置在 byte 0x1b2 在MBR中)    
MbrFix /drive <num> writestate <state>     Write state to byte 0x1b0 in MBR
                                                                  (写入到位置于 byte 0x1b2 在MBR中)

MbrFix /drive <num> drivesize                 在mb区返回有用驱动
MbrFix /drive <num> writesignature <hex>      往MBR写入标记
MbrFix /drive <num> readdrive <startsector> <sectorcount> <file>
MbrFix /drive <num> /partition <part> fixbootsector <os>    
MbrFix /drive <num> /partition <part> getpartitiontype 
MbrFix /drive <num> /partition <part> setpartitiontype <typenum>    
MbrFix /drive <num> /partition <part> setactivepartition 
MbrFix /drive <num> getactivepartition        获取活动分区
MbrFix volumeinformation driveletter          获取分区卷信息
MbrFix flush {driveletter(s)}                 刷新文件到分区
MbrFix listpartitiontypes                     分区列表类型

 

rive numbering <num> starts on 0.


Commands restorembr, fixmbr, generatesignature, writestate and clean will ask for confirmation unless /yes is included.

If the /byte option is given for the readsignature command, the signature is returned as a byte array instead of as a DWORD.

示例:
我要修复C盘的xp引导(NT),进入软件所在目录,
MBRFIX /drive 0『(1、2、3等)』 driveinfo 查看你的硬盘信息,通过容量断定是不是你要修复mbr的U盘或硬盘
MBRFix /drive 0 fixmbr /yes
vista mbr修复 MBRFix /drive 0 fixmbr /vista。 注:这里0是第一块主硬盘主分区。
ok,温馨提示下,在vista下会用新的bootmgr信息代替NT的引导信息,谨慎。
强调这工具是用来修复硬盘位置0簇512字节的引导信息

原创粉丝点击