To test the effectiveness of this article in grubrescue mode when Ubuntu is started, the editor of Linuxidc.com specifically deletes all the logical partitions installed with Ubuntu. The tragedy finally emerges, and a problem occurs when it is started, only the boot menu of Windows XP is available, and the boot menu of Ubuntu10.10 is no longer available. For how to retrieve the boot menu of Ubuntu10.10 without a USB flash drive, see Ubuntu 10.10 guided by the Windows boot menu.
To test the effectiveness of this article in grub rescue mode when Ubuntu is started, the editor of Linuxidc.com specifically deletes all the logical partitions installed with Ubuntu, and the tragedy finally emerges, an error occurred while starting the system. Only the Windows XP Startup menu is available, and the Ubuntu 10.10 Startup menu is unavailable, for how to retrieve the boot menu of Ubuntu 10.10 without a CD, see the boot menu of Ubuntu 10.10 without a USB flash drive.
The following describes the problems that occur when you enter Ubuntu after formatting the C drive and installing the XP partition.
Tip: (See, reference a friend's picture, not the environment tested in this article)
Error: file not fount
Grub rescue>
If you encounter the same problem, you can do this:
1. ls to view existing partitions
2. ls (hd0, 11). You can see the GRUB directory in it (first, you must know your grub directory. I am in (hd0, 11)
The above is in the Ubuntu graphic interface, which can also be viewed under grub rescue>, but this is not the case.
If you do not know, you can use ls to open partitions one by one and find the directory.
3. Run the "set" command to view the current variables. All the variables are hd0 and 11.
4. Enter prefix = (hd0, 11)/boot/grub.
5. root = (hd0, 11)
6. insmod/boot/grub/normal. mod
7. normal
Press enter to start the selection!
After entering Ubuntu, you can enter:
1. sudo update-grub2 (SEE)
2. sudo grub-install/dev/sda (SEE)
: The error message "Installation finished. No error reported." is successfully installed. "No error" is returned.
OK, the province is so hard to get started every time.