PDA

View Full Version : GRUB points to wrong Windows boot?



Ashwin_R
2018-03-26, 15:49
Hey guys,
I've installed Kali Linux on my 1Tb Lenovo Ideapad 300 and Windows runs on EFI. I get the GRUB just fine with options for Kali Linux, Advanced options for Kali Linux, Windows 10, and Recovery Environment for Windows 10.
But if i proceed to click on Windows 10, it gives me an error which says that Windows Boot/BCD is missing. ( RE for W10 does not work either. Throws a black screen. )

GRUB tries to boot Windows 10 from /dev/sda3 which contains my OS but, I found that my bootmgfw.efi is on /dev/sda1 which is EFI System.
So, what do I do?

Please check the attached image. I find that people get "Windows 10(Loader)" on running sudo update-grub but i get only "Windows 10". So it only finds the OS but not the BCD, right?

P.S -- If i press F10 on boot and go to boot option and select Windows Boot Manager, I can boot into Windows 10. But that's rather tiresome considering I should be able to boot W10 from Grub.

https://www.dropbox.com/s/u4v1nm4qmelam5o/blkidsc?dl=0
https://www.dropbox.com/s/n1jbkg4qk148nd9/fdisksc?dl=0

_defalt
2018-03-28, 05:40
Grub is working correctly. It's booting Windows OS Manger bootloader from the EFI partition but Windows bootloader can't find the Boot Configuartion Data which is required to boot Windows.

That's not grub's problem. You need to repair Windows bootloader by booting into command prompt from Windows installer.

http://www.dell.com/support/article/in/en/inbsd1/sln300987/how-to-repair-the-efi-bootloader-on-a-gpt-hdd-for-windows-7-8-81-and-10-on-your-dell-pc?lang=en#tab3