#Linux

System directly boot Windows without showing GRUB

Gaurav BhardwajGaurav Bhardwaj
UPDATED 03 February 2023
System directly boot Windows without showing GRUB

Are you experiencing the issue of the system directly boot windows without showing grub? Stay tuned to this article in order to resolve. In order to access Windows features along with the power of Linux, Dual-booting is a preferred method for most people. After Installing Linux, If you boot into windows then in subsequent boots system directly boot windows without showing Grub. Let's see the possible fix in order to resolve the issue.

If you are using Ubuntu then you can skip the first step of finding the boot file in the EFI partition, as in ubuntu it is generally located in /EFI/ubuntu/grubx64.efi

 

Step 1: Finding the grub boot file in EFI Partition.

The first and foremost thing is to locate your EFI partition in Windows. So, let's go to the command prompt and type diskpart and another window of diskpart will be opened.

 

System directly boot Windows without showing GRUB -  Ittwist

 

System directly boot Windows without showing GRUB -  Ittwist

 

After opening diskpart execute the following commands.

 

list disk
select disk <disk_number>
list partition
select partition <partition_name>
assign letter=X
exit

 

System directly boot Windows without showing GRUB -  Ittwist

 

Select your disk where the EFI partition resides.

 

System directly boot Windows without showing GRUB -  Ittwist

 

Then list all the partitions.

 

System directly boot Windows without showing GRUB -  Ittwist

 

Select the system partition (In my case it is Partition 1) and assign a driver letter (say X).

 

System directly boot Windows without showing GRUB -  Ittwist

 

Now, just view the contents of the EFI Partition and locate your grubx64.efi partition. So, for this open your command prompt as an administrator. The go over the X: partition.

 

System directly boot Windows without showing GRUB -  Ittwist

 

Now, let's find the path of the boot file.

 

System directly boot Windows without showing GRUB -  Ittwist

 

In my case it is ubuntu, so the path where the boot file (grubx64.efi) resides is in /EFI/ubuntu/grubx64.efi . If you are using some other distro it might be another folder.

 

System directly boot Windows without showing GRUB -  Ittwist

 

Step 2 : Make System Boot From Grub

As we have now the path of the installation file. Let's simply execute the below command for making system boot from grub.

Open the command prompt as an administrator and execute the below command.

 

bcdedit /set {bootmgr} path EFIubuntugrubx64.efi

 

Set Grub as boot manager - Ittwist

That's it - now you will be able to boot from grub :)

 

*In case of No Success?

 

In case of no success, You can execute the below command for rollback:

 

Open the command prompt as an administrator and execute the below command.

 

bcdedit /set {bootmgr} path EFIMicrosoftBootbootmgfw.efi

 

Set Windows boot manager as boot manager - Ittwist

If you have any queries or suggestions, please feel free to write us in the comment section below.

 

Check out our Latest Best Linux Picks

 

 

Comments#0

Leave a Comment

User