How to fix grub rescue after a Linux installation error occurs: 1. Run the ls command to find the partition where the Linux Installation File is located: grub rescue> ls to list all disk partitions, for example: (hd0, 1), (hd0, 5), (hd0, 3), (hd0, 2) 2. then, call the following command in sequence: X indicates the number of each partition, grub rescue> ls (hd0, X). If no partition number is found, check whether the Linux version is different, the grub path is incorrect. 3. If the file in the folder is displayed when (hd0, 5) is found, it indicates that Linux is installed in this partition. 4. call the following command: grub rescue> set root = (hd0, 5) grub rescue> set prefix = (hd0, 5)/boot/grub rescue> insmod normal 5. (After successful, the color of the grub rescue font will change.) then, call the following command to display the lost grub menu. Grub rescue> normal if not, change some commands to the following format: grub rescue> ls (hd0, X)/boot/grub rescue> set root = (hd0, 5) grub rescue> set prefix = (hd0, 5)/boot/grub rescue> insmod/boot/grub/normal. mod