T M B

修复 MBR

最近折腾双系统,后来不小心删了 Linux,重启不能进入 Windows 了,出现的是 grub> 提示符,知道是 MBR 的问题,找了个工具(MBRFix)修复一下。

首先利用如下命令进入还在但不能引导的 Windows 系统:
> rootnoverify (hd0,0)
> chainloader +1
> boot

进入 Windows 后,下载 MBRFix(官方地址)。进入 cmd 命令提示符窗口,然后进入 MBRFix 所在的目录,输入命令 MbrFix /drive 0 fixmbr ,再 Y 确认一下即可。重启以后就可以直接进入 Windows 了。

如果这种方法不行,找个 Windows 的安装盘,光驱启动,进入 Windows 安装程序,随后进入恢复控制台,输入命令 fixmbr 来修复 MBR。

附 MBRFix 命令:

Usage:
MbrFix /drive { /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 driveinfo Display drive information
MbrFix /drive listpartitions Display partition information
MbrFix /drive savembr Save MBR and partitions to file
MbrFix /drive restorembr Restore MBR and partitions from file
MbrFix /drive fixmbr Update MBR code to W2K/XP/2003
MbrFix /drive clean Delete partitions in MBR
MbrFix /drive readsignature {/byte} Read disk signature from MBR
MbrFix /drive generatesignature Generate disk signature in MBR
MbrFix /drive readstate Read state from byte 0x1b0 in MBR
MbrFix /drive writestate Write state to byte 0x1b0 in MBR

Drive numbering starts on 0

Tags: , , ,

4 Responses to “修复 MBR”

  1. ★风云★刀 Says:

    进入PE后直接启动DiskGenius就能搞定

  2. flyxj Says:

    下次有机会试试,呵呵

  3. smile Says:

    必须格盘才能双系统吗?

  4. flyxj Says:

    @smile
    额…
    是引导区

Leave a Reply