After Windows XP is reinstalled on both systems, repair GRUB to retrieve the Ubuntu boot menu.

Source: Internet
Author: User
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.

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.