WIN10 update causes a dual system (linux&windows) boot failure with the Grub Rescue Fix (resolved) __linux

Source: Internet
Author: User

WINDOWS10 Update has a certain chance of destroying grub so that the grub boot file cannot be found, so we want it to find the boot file.

When prompted on the screen: Grub resume>.

1, the set command to see which disk the current grub boot is pointing to.

Grub Resume> Set

Displays the results, for example,

cmdpath= (HD0,GTP2)/efi/parrot

prefix= (hd0,gpt10)/boot/grub

ROOT=HD0,GTP10

The above results indicate that the current boot points to the GPT10 partition for the first hard drive (hd0).

2, with the LS command to view the disk partition situation.

Grub resume> ls

Displays the results, for example,

/ .. /lost+found/boot/etc/media/... ....


Then we need to find the actual location of the boot file.

Using ls (HD0,GTP1)/ One of the attempts when grub appears under the path indicates that the correct boot partition was found

You can also use ls (HD0,GTP6)/boot/grub to continue to view specific content.


3, with the set command to set the root and prefix value for you to find the GRUB path Grub Resume>set ROOT=HD0,GTP6

Grub Resume>set profix= (HD0,GTP6)/boot/grub

Then use the set command to see if it has been set.

Grub Resume>set


4, the final return to the Grub boot interface

Enter insmod normal return and enter normal


5, if you can enter Linux at this time, please jump to 6, if not please look down ...

Enter command line mode input in the familiar grub interface by C

set root= (HD0,GPT6)

Set prefix= (HD0,GPT6)

where GPT6 for you to find the correct boot partition.

6, start Linux, open the terminal and enter

sudo update-grub

sudo grub-install/dev/sda

The meaning of SDA refers to your first few disks (as a represents the second block of the first B and the SDA1 represents the second partition. )

If you are not clear, you can also use the ls/dev/sd* command to view the disk.


7. At this point, the problem should have been solved ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.