After Windows XP is reinstalled in Ubuntu and GRUB is restored using LIVECD, error 17 is displayed.

Source: Internet
Author: User
Reinstall XP in the morning and start Linux from Ubuntu. 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 then the error message "ERROR17" appears: The selected partition cannot be mounted, press any key to go back to the GRUB main menu, select rec to reinstall XP in the morning, and start from the live cd of Ubuntu. After restoring GRUB through the following:

Sudo grub
Find/boot/grub/stage1 // What I have reported here is (hd0, 9)
Root (hd0, 9)
Setup (hd0)
Quit

Then restart and start from the hard disk. After GRUB is started, select UBUNTU 7.04. Then, ERROR 17 is displayed, indicating that the selected partition cannot be mounted. Press any key to return to the GRUB main menu, ERROR 17 also occurs when you select recovery mode. This is also true for memtest86 +. After reinstalling XP, you may find that the partition table is messy. Then, press e to change root (hd0, 9) to root (hd0, 10), or ERROR 17 still appears. Continue to change it 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.
Related Article

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.