Search This Blog

Tuesday, April 16, 2013

Making a UEFI bootable USB Drive with Windows 8 to Fix Boot BCD failure

I have an Acer M5 Ultrabook running Windows 8.  Suddenly, I was presented with a  Windows 8 Blue Screen with the following message...

Your PC needs to be repaired
The Boot Configuration Data File is missing some required information.
Error code:0xc000000d
You'll need to use the recovery tools on your installation media. If you don't have media (like a USB or disc), contact your system administrator or PC manufacturer.

The Solution in a nutshell:

Build a Windows 8 Bootable Flash drive that is UEFI (not the one built using the MS tool to copy the ISO to the flash drive).

Once booted from the flash drive, I was able to run the bootrec.exe tool to fix the UEFI BCD boot stuff.  The Ultrabook booted perfectly after that.

Dirty Details

Acer M5 used the new UEFI  BIOS rather than the legacy BIOS so you can't use normal USB bootdisk made with the MS utility to burn the Windows 7 ISO (or any windows) to the USB drive. 

The procedure is pretty simple and required some intermediate experience.  A UEFI bootable Widnows 8 USB stick can be made by wiping the USB stick and setting it up as fat32 formatted drive.  the best way it to use diskpart which is a dangerous tool as used incorrectly, you can destroy your computer.  The procedure is all ove rthe internet but is as follows:

  • Open a command line prompt as administrator.  You have to right click on the icon and run as administrator.  
  • run diskpart
  • list disk
    • note the disk that matches the size of your USB drive (Must be 4GB or bigger).  Mine was Disk 2 at 14GB (i am using a 16GB flash drive)
  • The following is what I used.  Make sure you use YOUR disk number
    • select disk 2
    • clean
    • create part primary
    • active
    • format fs fat32
    • assign (you should get an auto-run popup after assign)
    • exit
You should be able to see the drive normally again.

Now use your favorite tool to extract the Windows 8 ISO image.   I like 7-Zip and encourage everyone to get and use it.  You want to copy the entire contents of the ISO to the USB drive.  Not the ISO itself which is why you need 7-Zip.

Using 7-zip, I opened the ISO, Selected all items then clicked Copy and navigated the destination to my USB Drive.  30 minutes later it was done and I removed the drive and put it into my Acer M5.

When you power on the M5, mash the F2 button to get to setup.  Then find and enable F12 boot menu.  Save (F10) and reboot.  While rebooting, mash the F12 key.

If you did it right, you will see the boot menu with the windows disk and the new USB drive.  Select the USB drive and boot from it. 

On the Windows 8 Setup screen, click the Repair link in the lower left.

Click Troubleshooting

Click Command Prompt

I issued these two commands to fix my ultrabook:
bootrec /fixboot
bootrec /rebuildbcd

Type exit then click the Power Off My PC button.

When I powered back on, it was all fixed.


Ducky said...

I have been searching for this for days, Thanks so much!

Anonymous said...

Thanks! You are the best!

Anonymous said...

Hi.. I am facing the same problem.. I dont have windows 8 key with me as the laptop was gifted to me by my sister. Can you please help me with any other way to get the iso file. Btw I have Acer laptop.
Thanks a lot in advance.

Jomebrew said...

It is way too late now but you might be able to find a preview of Windows 8.1 ISO. I could not find any way to get around the ISO. I wish it were legal to share my bootable flash disk just for this recovery but I don;t need Microsoft on my back.

However, since you do have a valid version you might be able to download it from Microsoft using the product key on the bottom of the laptop. You need a second computer of course but you need one anyway for this procedure.

You can go to the Windows download page and Click on the Download Windows 8 blue icon. You will need to enter your product key but the windows installer allows you to Install by Creating Media which allows you to save to an ISO file or create the bootable flash disk.

Anonymous said...

This saved me 150 dollars in repairs.

Thank you!!!! :D

Anonymous said...

Man... Your Rock !!!
Searching for days this one :D

Anonymous said...

Man, It's been 2 years since your post and I guess it still helps many people, just like me! I've tried many things, but the detail was the UEFI stuff. Thank you a lot for sharing your knowledge. :D