Countermeasures against errors of ERROR17 in UbuntuGRUB

Source: Internet
Author: User
Since Windows XP is re-installed and then started from the Ubuntu LIVECD, after GRUB is restored through the following: sudogrubfind/boot/grub/stage1 // What I have reported back here is (hd0, 9) root (hd0, 9) setup (hd0) quit, restart, start from the hard disk, select Ubuntu7.04 after GRUB is started, and the error message of ERROR17 is displayed: indicates that the selected partition cannot be mounted. Press any key to return to the GRUB main course.

Windows XP is reinstalled.
Start from Ubuntu live cd and restore GRUB as follows:
Sudo grub
Find/boot/grub/stage1 // What I have reported here is (hd0, 9)
Root (hd0, 9)
Setup (hd0)
Quit
Restart and start from the hard disk. After GRUB is started, select Ubuntu 7.04.
The ERROR message "ERROR 17" is displayed, indicating that the selected partition cannot be mounted.
Press any key to go back to the GRUB Main Menu. If you select recovery mode, ERROR 17 also appears,
The same is true for memtest86 +,
Think about it. After reinstalling XP, the partition table is messy. Then, press e to change root (hd0, 9) to root (hd0, 10), or ERROR 17 is returned,
Change to root (hd0, 8). The system is started successfully. after entering the system, modify menu. lst:
Sudo gedit/boot/grub/menu. lst

Put:
Title Ubuntu, kernel 2.6.20-16-generic
Root (hd0, 9)
Kernel/boot/vmlinuz-2.6.20-16-generic root = UUID = bb0b700e-9d24-4e00-9e8c-eeeeaca5c06a ro quiet splash locale = zh_CN
Initrd/boot/initrd. img-2.6.20-16-generic
Quiet
Savedefault

Title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
Root (hd0, 9)
Kernel/boot/vmlinuz-2.6.20-16-generic root = UUID = bb0b700e-9d24-4e00-9e8c-eeeeaca5c06a ro single
Initrd/boot/initrd. img-2.6.20-16-generic

Title Ubuntu, memtest86 +
Root (hd0, 9)
Kernel/boot/memtest86 +. bin
Quiet

Change all root (hd0, 9) to root (hd0, 8)

Save, exit, and restart. Once you choose to check it one by one, all of them can be started normally. This time, no ERROR message of ERROR 17 is displayed.

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.