After Windows XP is reinstalled on both systems, the mbr is written by XP, causing grub to be unable to work. The solution is to start from the CD-ROM and start from UbuntuLiveCD to the desktop. Click "application"-& gt; "attachment"-& gt; "terminal" input: sudogrub input: find/boot/grub/stage1 shows the actual operation results: (hd0, 4)
After Windows XP is reinstalled on both systems, grub cannot work due to information written by Windows XP.
Start from the CD-ROM and start from Ubuntu Live CD to the desktop.
On the task bar, choose Application> attachment> terminal 』
Input: sudo grub
Input: find/boot/grub/stage1The actual operation result is shown in (hd0, 4)
Input: root (hd0, x)# Input the data fed back by the find command. For example, enter 4
Input: setup (hd0)The result shown in the preceding figure is displayed.
Input: quit# Exit grub.
If it doesn't happen again, congratulations! You can see the dual-system boot for Windows XP and Ubuntu.