Linux – Dual booting: 0xc000000e Windows Error when installing GRUB

grubkali-linuxmulti-bootpartitioningwindows 10

Hi everyone!
This is my first question so correct me please if I´m asking something wrong.

So my Problem is:
I´ve got a Lenovo E31-70 with pre-installed Windows 10 home 64bit and I tried to dual-boot Kali Linux on it.
First I´ve created an Partition with 100GB. Than I installed Kali Linux and the GRUB loader from an .iso image from an USB. The Installation was working fine and finally I had all installed.Then I tried to boot Windows and I got a boot error, but Linux was working well.
For some reason i cannot upload an photo of the error, but:

File: \Boot\BCD
Status: 0xc000000e
Info: The Boot Configurations Data for your PC is missing or contains errors.

After a bit searching I found that: http://answers.microsoft.com/en-us/windows/forum/all/0xc000000e-boot-error/ef08ab00-e130-4301-bc80-79d5b414a81f?auth=1
THE SECOND ANSWER

So I downloaden an Windows 10 .iso on my USB, started Windows repair, and wrote
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd

All worked fine, Windows was completly restored,
but when I restarted the PC, GRUB doesn´t appear!
I´ve tried restarting the Notebook several times, with the same result.

Than I found this solution: https://forums.kali.org/showthread.php?20559-How-To-Repair-Kali-Linux-Grub-With-Kali-Linux-Live-Cd-Dual-Boot-With-Windows-7

Again all worked fine. When I rebooted the Notebook, GRUB appeared. I thought it was the end… It wasn´t.
Because when I´ve tried to start Windows, I got the same 0xc000000e Error again.

NOTE:
Fast boot is turned off
Boot Mode is legacy(can switch to UEFI)

Conclusion:
When repairing Windows, GRUB doesn´t appear.
When repairing GRUB, Windows boot error.

I guess that GRUB is overriding Windows boot data…

[EDIT]
I can boot windows if i switch to UEFI. The problem is: I don´t want to switch in BIOS from UEFI to Legacy every time i need to boot another OS. Is there any way to boot Windows 10 in legacy or start GRUB in UEFI?

Best Answer

Most pre-installed Windows 10 use uefi with secure boot. I'm not very sure if kali supports secure boot or not but it definitely supports uefi.

Also it seems that you are installing kali in legacy. For GRUB to appear, both os must be in either legacy or uefi.

1 : Restore you windows 10 using the steps you already mentioned.

2 : Disable secure boot from bios.

3 : Install kali in uefi (not legacy).

Now GRUB should appear.

P.S : You don't need to turn off fast boot. Also you don't need windows 10 iso specifically to repair windows. It can be done using win 7 or win 8.1 iso.

Related Question