Thursday, April 28, 2022

[SOLVED] How do I boot windows directly in linux & windows dual system without grub

Issue

I have installed Ubuntu 16.04 on my XPS 15 (win10 preinstalled). I wonder if there is a way that I can boot my laptop directly into windows without grub, because it prevent me from using fast-boot tech from intel which was set as default in windows. I looked into the internet and found some sugestion about using easyBCD, but this software seems not support UEFI quite well. Any ideas?

More background:

My system actually broke once after linux installed, and I was unable to boot into windows that time. I do see the boot options page with windows on it, but when I press enter on windows, it simply reboot and go back to the boot option page. My files were all safe and can be seen from linux, but I tried every way only to find that I have to reinstall my windows. So did I. I At that point, I was happy to find that my laptop boot into Windows directly(without grub page shows up), and I can also boot into Linux by pressing f12 during booting. However, the sweet story stopped when I updated my linux yesterday... The grub is taking the charge again. Plz help!!!!


Solution

I have a similar setup. In my case I have completely removed grub, and directly added linux kernel to uefi boot list. This is a great advantage when you switch from bios to uefi.

Steps

  1. Using grub boot to windows, and try adding or removing something in boot in winconfig to re install windows boot loader. If it doesen't work try boot repair.

  2. Add kernel directly to uefi boot list, by following these instructions: Ubuntu , (arch wiki) . Do not remove grub.

  3. Now check if you are able to boot both windows and linux directly from uefi boot list. If it worked, boot into linux and remove grub.

Done, now upgrade your ubuntu whenever you want, it won't affect or do anything to your boot options.

Btw, what you are looking for can be done by just changing grub timer to 0-1,2 seconds.



Answered By - Varun Garg
Answer Checked By - David Marino (WPSolving Volunteer)