I had dual booted my Dell Inspiron 7560 with Windows 10 and Ubuntu 18.04 . During a recent service from Dell the Windows 10 was reinstalled. The windows installation is in a 128 GB SSD. The same partition contained boot files of Ubuntu. Linux root, swap and home are in a HDD. The re-install of Windows lead to loss of Ubuntu boot files. So I Live booted Into Ubuntu using another bootable medium. Initially I ran some root user commands from the terminal in an attempt to repair the boot and eventually I launched boot repair. The pastebin log of the same repair is here.
Now one-time boot menu gives two booting options: Ubuntu and Windows Boot Manager. When I choose EITHER OF THEM, only GRUB opens. The GRUB list is somewhat similar to this:
- Ubuntu
- Advanced Options for Ubuntu
- Windows UEFI bootmgfw.efi
- Windows Boot UEFI loader
- EFI/ubuntu/MokManager.efi
- Windows Boot Manager (on /dev/sda1)
- System setup
Selecting Windows Boot Manager alone starts Windows 10. Selecting Ubuntu opens Ubuntu.
I do not want to run GRUB unless I want to boot Ubuntu. But now, although I am able to run windows from grub, I am unable to directly boot into windows at startup. I am afraid that some of my attempts to repair Ubuntu have overwritten Windows boot files. Please provide a fix.