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.
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
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.
For me, the same is found in
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.
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.
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.
Conclusion - Boot windows:
ls ls (hdx,gpty)/ set root=(hdx,gpty) chainloader /efi/Microsoft/Boot/bootmgfwi.efi boot
That's it for this article, If you have any queries or suggestion please write down in comment section below.