#Linux

How to boot windows from grub rescue?

Gaurav BhardwajGaurav Bhardwaj
UPDATED 14 October 2021
How to boot windows from grub rescue?

In this article, Let's learn how to boot windows from grub rescue screen. Linux is the best platform available on the planet, it offers great customization. A highly customizable platform like Linux offers enormous benefits but has only one downside that it can potentially break your system and you can eventually land up in Linux grub rescue screen. If you are looking to boot Linux from grub rescue you can refer to this article.

 

 

 

 

 

boot windows from grub rescue - ittwist

 

Steps for how to boot windows from grub rescue.

 

 

 

Step 1 - Listing Partitions from Grub Rescue:

 

First, we need to find out our EFI partition or the partition where your boot files are stored. In order to find that we need to see the available partition, so simply execute the ls command.

 

ls

 

boot windows from grub rescue - ittwist

 

Step 2 - Listing EFI Partition from Grub Rescue

 

In the first step, we have got our directory listing. Now, we need to find the appropriate partitions where our boot files reside. Typically it resides in a partition that is very small in size (typically less than 1GB) and having an EFI/ partition in it. So, In order to find that you can simply execute the ls (hdx,gpty)/ one by one.

 

Note: You need to replace x with the hard disk number, and y with the partition number.

 

ls (hdx,gpty)/

 

boot windows from grub rescue - ittwist

 

For me, the same is found in (hd0,gpt1)

 

 

 

Step 3 - Select the EFI Partition

 

Since we have found the partition, now we need to select the partition. So simply execute the below command.

 

 

 

set root=(hdx,gpty)

 

boot windows from grub rescue - ittwist

 

Step 4 - Chainloading the Windows EFI File.

 

Now, we have selected the partition in which our boot files are present, now we need to execute the command chainloader for loading a boot file, so we can boot from that.

 

chainloader /efi/Microsoft/Boot/bootmgfwi.efi

 

boot windows from grub rescue - ittwist

 

Step 5 - Boot Windows from Grub rescue:

 

Finally, you are all set to boot windows from grub rescue. Just we need to execute the below command.

 

boot

 

 

 

Conclusion - Boot windows:

 

ls
ls (hdx,gpty)/
set root=(hdx,gpty)
chainloader /efi/Microsoft/Boot/bootmgfw.efi
boot

 

That's it for this article, If you have any queries or suggestion please write down in comment section below.

 

 

 

Check out our Latest Best Linux Picks

Comments#3
AREN AREN
AREN AREN
Wrote -
30 March 2024 04:03
unknown file system
Harvey Ellis
Harvey Ellis
Wrote -
28 September 2024 16:09
Good info. However, in the Conclusion info box - chainloader /efi/Microsoft/Boot/bootmgfwi.efi should be: chainloader /efi/Microsoft/Boot/bootmgfw.efi
Gaurav Bhardwaj
Gaurav Bhardwaj
Wrote -
14 October 2024 16:10
Thanks for noticing it. Looks like a typo. I have updated it.

Leave a Comment

User