如何修复Windows 2008 R2 BOOTMGR丢失

 BOOTMGR失踪
按下CTRL + ALT + DEL重新启动

注意:这是VMWare ESX服务器上的一个虚拟机,但这不重要

我把2008 R2的X64安装DVD,可以得到恢复,但它没有列出操作系统。 点击下一步带我到

 + ===========================
系统恢复选项
 + ===========================
select一个恢复工具
操作系统:未知或(未知)本地磁盘
 .....

命令提示符

我启动命令提示符,转到C:\并执行dir /a

除了我自己放在那里的文件,这些都显示出来了

 $Recycle.Bin Documents and Settings [C:\Users] Program Files Program Files (x86) ProgramData Recovery System Volume Information Temp Users Windows 

下一步该去哪里? 是否像Windows 2003中的NTLDR问题,我可以在那里放一个文件,它会再次成为hunky dory?

试试BCDBoot 。

从Windows CD启动,然后转到命令提示符。

types

 BCDBoot c:\Windows 

我有一个很大的麻烦让窗口启动一个新的1TB磁盘。 只要旧的硬盘插入到第一个SATA端口,它就会启动新的硬盘,但是一年之后,旧的硬盘终于死亡了。

我遵循@SLY和@JFB的build议,以及如何从命令行访问Windows 2008 R2 Server下的启动修复function的有用提示 。 (X:\源\恢复\ StartRep.exe)

经过多次的试验和错误,我确实让这台机器只用新的驱动器连接,所以我终于可以拉老化的OEM驱动器。 由于我不确切知道哪一步修正了,我只是列出了我在下面做的。

 ; Initial condition: will not boot, says "NTLDR IS MISSING". ; Booting off Win2k8r2 install CD. In recovery window, no windows installations appear. ; From command line, partition is present and seems ok. BCDBoot C:\Windows ; after this step the windows 2k8r2 installation appears. Still fails on reboot. Bootrec /rebuildbcd ; after this step it found an installation and allowed me to select it. Fails on reboot. x:\sources\recovery\StartRep.exe ; startup recovery runs, claims to fix some stuff. Fails on reboot. bootrec /fixmbr bootrec /fixboot bootrec /rebuildbcd x:\sources\recovery\StartRep.exe ; One of these four commands fixed it. This time bootrec /rebuildbcd ; did not find any orphaned installations, and StartRep.exe said that ; everything was fine. ; Rebooted one more time and it worked. 

我也有同样的事情发生在我身上,这就是我所做的:

  1. 用W2k8 R2 DVD启动
  2. BCDBoot C:\ Windows
  3. Bootrec / rebuildbcd

修复了这个问题,现在在msconfig (系统configuration)的boot选项卡下,我看到了我所有的Windows安装。

看起来有一个D:驱动器可以在恢复模式下访问,bootmgr文件在那里!

这让我又走了。 不知道是否需要Vick回答的bootrec /rebuildbcd ,但是在复制bootmgr文件之前已经尝试过了。

 D:\> attrib -h -s -r bootmgr D:\> xcopy bootmgr C:\ D:\> C: C:\> attrib +h +s +r bootmgr 

虽然这篇文章比较老,但对于那些将来有这个问题的人来说,这是一个解决scheme。 这个程序已经过testing,并起到了作用(至less在我的情况下):

您将需要Windows 7 x64 DVD。

  1. 从Windows Server 2008 R2 x64 DVD引导。
  2. 修理
  3. 命令提示符
  4. 重命名c:\ boot \ BCD bcd.old(如果文件夹丢失,不介意并继续下一步)
  5. 删除c:\ boot \ bcd(如果文件夹丢失,不介意并继续下一步)
  6. 重启你的电脑
  7. 删除您的WS2008R2 DVD并安装W7x64 DVD。
  8. 从DVD启动并进行修复。
  9. 它会提供修复自动接受。
  10. 重新启动, 这是“诀窍”再次启动DVD,并进行修复。 继续做这个过程,直到它没有发现任何错误
  11. 您的服务器应该重新启动。

希望能帮助到你

试试这个:在维修模式下键入Bootrec / RebuildBcd,然后按ENTER键。

如果这不起作用:

  1. Bcdedit /导出C:\ BCD_Backup
  2. ren c:\ boot \ bcd bcd.old
  3. Bootrec / rebuildbcd

重新启动计算机。

基于此

你知道为什么这解决了你的问题? 因为你有一个恢复分区,显然忽略了它。 您只需要使用diskpart并将THE RECOVERY PARTITION(不是Windows)标记为活动。