UbuntuGrub problem: the error message "error17" is displayed.

Source: Internet
Author: User
Ubuntu is indeed easy to install. After it is installed, Grub has been adjusted, and Winxp is automatically recognized and started on both sides. However, in order to free up space from WinXP for Ubuntu, A PQMagic partition master is installed on WinXP, and a new system is installed out of space. After the installation, I accidentally entered PQMagic once in WinXP. When the system restarts, it cannot enter Grub. When it is started, the following error is reported: grubloadingstage1.5e

Ubuntu is indeed easy to install. After it is installed, Grub has been adjusted, and Winxp is automatically recognized and started on both sides. However, in order to free up space from WinXP for Ubuntu, A PQMagic partition master is installed on WinXP, and a new system is installed out of space. After the installation, I accidentally entered PQMagic once in WinXP. When the system is restarted, it cannot enter Grub. When it is started, an error is returned:

Grub loading stage1.5

Error 17

Search on another machine, use a WinXP Ghost boot disk, go to DOS, use Fdisk/mbr, create a partition table again, and start Windows XP.

Then, use Ubuntu Live CD again and reconfigure Grub. Now, you don't need to use the Fdisk command in Windows-DOS to re-create the partition. You can simply configure Grub to restore the partition.

The configuration method is as follows:

1) after starting with Ubuntu Live CD, open the terminal command line.

$ Sudo grub

$ Find/boot/grub/stage1

# The find command returns a value, such as (hd0, 7)

$ Root (hdx, x)

# If the result returned by the find command (hd0, 7), here you are root (hd0, 7)

$ Setup (hdx)

# If the value returned by the find command is (hd0, num)

If OK is displayed, restart the system.

2) Start GRUB at this time. Do not press enter in the UBUNTU menu or press E twice. (Be sure to press ENTER twice. Press ENTER twice. If you don't know why, you will be dizzy, I tried it several times. Then, I changed the partition where GRUB is located (the original partition is not shown in the menu). Then I still cannot press enter (I will be dizzy again ), press the B key.

3) after entering the system, you need to change the Startup menu. Otherwise, you have to change the menu next time (if you want to, BT, speechless, ),

The command is as follows:

Sudo gpedit/boot/grub/menu. lst

Then change it by yourself

Grub error 17: The partition cannot be mounted, that is, Grub can confirm that the used partition exists, but the file system used on the partition cannot be recognized by Grub.

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.