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.