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.
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
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)/
For me, the same is found in (hd0,gpt1)
Since we have found the partition, now we need to select the partition. So simply execute the below command.
set root=(hdx,gpty)
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
Finally, you are all set to boot windows from grub rescue. Just we need to execute the below command.
boot
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.
Leave a Comment