Ubuntu cannot be started after it is upgraded to 12.04 online: nosuchpartition

Source: Internet
Author: User
After the instance is started, go to the grub system selection page, But no matter which startup Item is selected, an error is always reported ...... "Error: nosuchpartition ". Solution: Put the system disk (I used the Ubuntu11.10 disk) into the optical drive, restart the computer, enter the boot interface of the disc, and select trial -- "TryUbuntu ". If the system's preferred boot item is not started from the "Optical Drive", set the boot item (boot from the optical drive, hard drive, USB boot, NET boot, etc ). I use a Toshiba notebook.

After the instance is started, go to the grub system selection page, But no matter which startup Item is selected, an error is always reported ...... "Error: no such partition ".

Solution: Put the system disk (I am using a Ubuntu 11.10 disk) into the optical drive, restart the computer, enter the boot interface of the disc, and select Try Ubuntu ".

If the system's preferred boot item is not started from the "Optical Drive", set the boot item (boot from the optical drive, hard drive, USB boot, NET boot, etc ). I use a Toshiba notebook. After the boot, press F12 to set it.

In the trial version of Ubuntu, start the Terminal (Terminal) and enter the system administrator mode:

Sudo-I

Load the partition where the Ubuntu system is located (I use sda6) to the/mnt directory. If you are not sure, start Disk Utility to view the partition (you can also use the command ):

Mount/dev/sda6/mnt

Reinstall grub on the sda6 partition:

Grub-install -- boot-directory =/mnt/boot/dev/sda6

(If an error is reported and interrupted, add the forec option: grub-install -- force -- boot-directory =/mnt/boot/dev/sda6)

After grub is installed, restart your computer.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.