Ubuntu10.10 prompts grubrescue Solution

Source: Internet
Author: User
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.

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.