Problem
The following error occurred after the WINDWOS system upgrade:
Error:no such partition.
Entering rescue mode ...
Grub Rescue>
The boot is entered into this mode, unable to enter the system. Solution Scenario I
Type the command LS to appear similar to the following
(hd0) (HD0,MSDOS4) (HD0,MSDOS3) (HD0,MSDOS2) (HD0,MSDOS1) .....
or (hd0) (HD0,GPT4) (HD0,GPT3) (HD0,GPT2) (HD0,GPT1) ....
If you do not know which is the boot partition, the method of violence is to execute the following three commands:
Set boot= (HD0,MSDOS2)
set prefix= (hd0,msdos2)/boot/grub
Normal
Three command after the end of the following results, if the current disk is not started, then another partition to rerun the above three
' Error file/boot/grub/x86_64-efi/normal.mod not found '
Until no more errors, and then type Normal command to enter the system normally. Programme II
Type the command:
LS (HD0,MSDOS2)/
To see if the current partition has a Grub folder, it is generally possible to determine this as a boot partition if this folder exists
Note: It is also possible to use this command ls (HD0,MSDOS2)/boot, the specific use of the computer according to their own, no words can be both try
After you find which partition, type the following four commands and you should be able to enter the system normally
Set boot= (HD0,MSDOS2)
set prefix= (hd0,msdos2)/boot/grub
normal
Normal
Note: Actual validation, the first of the four commands above is also possible, that is, only the following three commands. Additional Information:
After using the above scheme, although it is able to enter the system, but after the reboot will enter rescue mode, I do not know whether this is the dual system of the reasons I installed or what other circumstances, I used to enter the Ubuntu system after the update grub to solve this problem.
After entering the Ubutu, open the terminal:
sudo update-grub
sudo grub-install/dev/sda
Then reboot will be able to return to the original system login interface, no longer enter rescue mode.