Translate

Tuesday, March 1, 2016

Grub rescue error! Upgrading windows 10.

If you are using linux bootloader you will definitely face this issue while upgrading your windows system to windows 10.
This happens because windows installation make changes to system bootloader.
*Solution.
*Windows installation makes system to restart several times.
*After restart you will see a terminal window with Grub rescue error message.
*To fix this you have to correct the boot info.
            first we have to find our Linux system partition.
*If you don't know the partition,
            type ls
 *Then you will see a list of partitions.
Look.
            now check one by one for Linux partition.
 *Ex:
        >ls
        >(hd1) (hd1,gpt0) (hd1,gpt1) (hd1,gpt2) ......etc
        >ls (hd1)
        >no such a partition (or some kind of error)
        >ls (hd1,gpt0)/
        >(same error again)
when you are trying this one by one,after few....
        >ls (hd1,gpt7)/ (hint : 7 or something else
)
        > root/ grub/ etc/  etc
This is the point.this means your Linux system partition is know as (hd1,gpt7)
Now just correct the boot info.
        >set prefix=(hd1,gpt7)/boot/grub
        >set root=(hd1,gpt7)
Then switch to normal mode.
        >insmod normal
        >normal
Enter.
Now your usual boot is on the display and just select the Windows and continue upgrade.
After complete upgrade,Reinstall grub menu using linux terminal.
:)

2 comments: