After Windows is reinstalled on both systems, the GRUB of Ubuntu is fixed.

Source: Internet
Author: User
1. Problem background the laptop is a Win7 and Ubuntu10.04 dual system. It is still good to use. Although Windows is retained even though Windows is used only when QQ is used. But a few days ago, Windows 7 suddenly had a blue screen and crashed. More importantly, the background turned black and asked for activation. The blue screen may be because the video card is too hot and there is no way to use the black screen. After all the methods have been used to reactivate the video, the system decided to reinstall xp. 2. During the implementation process, find a system disk of the Radish home, start from the CD, select to install the xp original version, select the original Win 1. Problem background

Windows 10.04 and Windows are used for laptops. But a few days ago, Windows 7 suddenly had a blue screen and crashed. More importantly, the background turned black and asked for activation. The blue screen may be because the video card is too hot and there is no way to use the black screen. After all the methods have been used to reactivate the video, the system decided to reinstall xp.

2. Implementation Process

Find the system disk of the Radish home, start from CD, select to install the xp original version, select the original hard disk partition of Win7, format, install and restart. Go to xp. No problem. The problem is that my ubuntu is gone ~~ Of course, when installing xp, I came up with a solution. I mentioned this in my previous blog.

3. Problem Description

It means starting the mbr to overwrite grub and cannot be guided by grub.

4. Solution

Find a Ubuntu 10.04 (any version) system disk, start from CD, select the Chinese environment, and then select the "repair damaged system" menu, all the way to Next, finally, the partition selected is used as the root partition. In the displayed menu, you can directly fix grub and then select the partition where grub is installed (/dev/sda by default, this must be entered manually). The installation is successfully restarted. You can also select/dev/sda1 as the root partition and enter shell (my system is installed in/dev/sda1), and then run the command

Grub-install/dev/sda

You can also complete Grub installation and run

Update-grub

In this way, the newly installed Windows operating system can be displayed in the Grub menu that is started upon startup.

5. Summary

My system is Ubuntu 10.04 and the file editor is vim. The whole process is about 20 minutes.

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.