(转)How to repair UEFI Bootloader in Windows 8

REF:[url]http://woshub.com/how-to-repair-uefi-bootloader-in-windows-8/[/url]

In this article we will learn how to repair Windows 8 bootloader on a computer with UEFI. The corruption of the Windows 8 bootloader can occur after the installation of the second OS (in Dual Boot configurations), be caused by the erroneous actions while failure recovering and for some other reasons. If the loader in Windows 8 on UEFI system is corrupted, it’s impossible to start the system or a blue screen with the following error appears:

The boot configuration data for your PC is missing or contains errors.
File :\EFI\Microsoft\Boot\BCD
Error code: 0xc000000f
boot configuration errors 0xc000000f or missing file \EFI\Microsoft\Boot\BCD

All this can imply corruption or even total removal of Windows 8 loader configuration – Boot Configuration Data (BCD). You won’t be able to recover the BCD loader using bcdedit. When running this command, the following error appears:

The boot configuration data store could not be found.
The requested system device cannot be found
The matter is that the BCD loader configuration in Windows 8 installed in UEFI mode is stored on a separate hidden EFI volume (100 MB in size on FAT32 file system). Bcdedit can not see it and, therefore, manage the loader configuration on it.

So to recover the loader (BCD) configuration, you have to boot from the original installation Windows 8 DVD (or a recovery disk or a special EFI bootable flash drive) and open the command line choosing System Restore – > Troubleshoot-> Command Prompt or pressing Shift+F10).
[img]http://woshub.com/wp-content/uploads/2014/05/boot-option-command-prompt.jpg[/img]
system restore mode win 8

Start diskpart:

1
diskpart
Display the list of disks in the system:

1
list disk
Select the disk with Windows 8 installed (if there is one disk in the system, it will have zero index):

1
sel disk 0
Display the list of volumes in the system:

[img]http://woshub.com/wp-content/uploads/2014/05/efi-volume.jpg[/img]

1
list vol
diskpart : list volume . efi volume
In this example, you can see that the EFI volume (it can easily be recognized by its size of 100 MB and FAT32 file system) has the index volume 1, and the boot volume with Windows 8 installed is volume 3.

Assign any disk letter to the EFI volume:

1
select volume 1
1
assign letter K:
Close diskpart:

1
exit
Go to the bootloader directory in the hidden volume

1
cd /d k:\efi\microsoft\boot\
Recreate the boot sector on the boot partition

1
bootrec /fixboot
Delete the current BCD configuration file by renaming it (save the older configuration as a backup):

1
ren BCD BCD.bak
With bcdboot.exe, create BCD store again by copying the boot files from the system directory:

1
bcdboot C:\Windows /l en-us /s k: /f ALL
where C:\Windows – is the path to the directory with Windows 8 installed.
/f ALL – means that the boot files have to be copied including those for UEFI and BIOS computers (potential ability to boot in EFI and BIOS systems)
/l en-us – is a type of the system locale. By default, en-us – English (USA) is used.

Now you have to restart your computer. Then in the list of bootable devices there appears Windows Boot Manager where you can choose desired operating system to start.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值