Wednesday, February 13, 2013

Restore Windows 8 EFI after installing Ubuntu EFI

I installed Windows 8 using EFI, and later on I installed Ubuntu using EFI as well. As I always do, I had trouble with the bootloaders. Ubuntu replaced the bootloader on the EFI, which I was very well aware it would. Booting it only works half of the time though, and I'd rather use BCD than GRUB because the Windows 8 BCD starts Windows while you make the decision wether you want to boot Windows or Linux and I mainly use Windows.

Either way. Like I said, it only works half the time. By that I mean sometimes when I boot from EFI it says "Select proper boot device" and then i have to boot using the MBR. The same thing happens vice versa. Setting the MBR as the default boot device reports the same error now and then and then I have to boot from the MBR on another harddrive (No, not EFI).

Basically my question is this: How do I remove the GRUB2 prompt and make BCD appear instead?

I tried installing the bootloader to the EFI partition using bootrec and bcdboot following this procedure:

First I mounted the EFI partition using diskpart (B: being the EFI volume and J: the Windows volume)

cd /d B:\EFI\ del ubuntu bootrec /fixboot bcdboot J:\Windows /l en-gb /s B: /f ALL 

And then I rebooted. The result is a broken EFI partition which doesn't boot anything but I can still boot from the MBR on another harddrive.

Source: http://superuser.com/questions/550643/restore-windows-8-efi-after-installing-ubuntu-efi

dandelion wine cough matt groening brandon phillips summerfest summerfest fidel castro

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.