I installed 'ubuntu-16.04.2-desktop-amd64.iso' in my laptop along with windows 10. Installation goes well and after reboot, both Ubuntu and windows option was showing for boot. I was able to boot up Ubuntu and it was working fine as expected.
While selecting the windows option to boot, it didn't boot and returning back to the boot selection menu. I was scared if the windows boot is corrupted or during installation if the drive got formatted or corrupted. I did some grub command but even after changing from grub command i was not able to fix the windows boot issue. i tried grub update but it didn't fix the issue. After lot of research on web i came to know the cause of the issue -
'grub.cfg' file was not proper, to fix i followed the below -
1) login to Ubuntu OS
2) GO to /boot/grub/grub.cfg file
3) Edit the below section and add the missing line (ntldr /bootmgr)
#### BEGIN /etc/grub.d/30_os_prober ####
---
----
---
chainloader +1
ntldr /bootmgr #---> line added which was not present responsible to loading windows boot mgr
----
----
---
While selecting the windows option to boot, it didn't boot and returning back to the boot selection menu. I was scared if the windows boot is corrupted or during installation if the drive got formatted or corrupted. I did some grub command but even after changing from grub command i was not able to fix the windows boot issue. i tried grub update but it didn't fix the issue. After lot of research on web i came to know the cause of the issue -
'grub.cfg' file was not proper, to fix i followed the below -
1) login to Ubuntu OS
2) GO to /boot/grub/grub.cfg file
3) Edit the below section and add the missing line (ntldr /bootmgr)
#### BEGIN /etc/grub.d/30_os_prober ####
---
----
---
chainloader +1
ntldr /bootmgr #---> line added which was not present responsible to loading windows boot mgr
----
----
---
Comments
Post a Comment