About Win7 & Ubuntu10.04 & XP three-system boot recovery

Source: Internet
Author: User
Tags wubi
Note: The following tutorial is not tested and only takes notes for backup. Recover Ubuntu boot items installed in wubi in Windows 7/vista. First, copy all files of d: \ ubuntu \ winboot \ wubildr * to the C root directory (this is very important) the ubuntu of dairy cows was installed with wubi, because it was previously re-partitioning and installed, and it felt very troublesome to partition or anything. Moreover, multiple systems sometimes cause system mbr or grub boot errors and cannot be started, so it's complicated, and wubi Security

Note: The following tutorial is not tested and only takes notes for backup.

Recover the Ubuntu startup Item installed in wubi in Windows 7/vista

First, copy all the files in d: \ ubuntu \ winboot \ wubildr * to the C root directory (this is very important)

The ubuntu of dairy cows was installed with wubi, because it was previously re-partitioning and installed, and it felt very troublesome to partition or anything. Moreover, multiple systems sometimes cause system mbr or grub boot errors and cannot be started, so it is very complicated, and the effect of wubi installation is no different, it saves a lot of trouble.

Er, let's get down to the point. Here we will explain how to fix the loss of ubuntu boot items installed with wubi in win7 or vista.

First, let's take a look at the ubuntu startup Option Record in win7:

Enable slice in real mode

-------

Identifier {39bed8be-0619-11df-a4ea-f49417e653f3}

Device partition = D:

Path \ ubuntu \ winboot \ wubildr. mbr

Description Ubuntu

From these records, we can easily read that my system is installed on the D: disk, and the boot file is \ ubuntu \ winboot \ wubildr. mbr, knowing this, I think our recovery work should be very simple ~~~

Run the Windows 7 or vista command prompt as an administrator:

Run

Bcdedit/create/d "Ubuntu"/application bootsector

At this time, the system will automatically generate a {id}

Bcdedit/set {id} device partition = D: -- (D: The drive letter of ubuntu installed in wubi)

Bcdedit/set {id} path \ ubuntu \ winboot \ wubildr. mbr --- (this is the path of the boot file)

Bcdedit/displayorder {id}/addlast

OK. After a series of operations are completed, restart your system and check if the startup Item of ubuntu is back ~~~

Bytes ------------------------------------------------------------------------------------------

Boot recovery for Windows 7, Ubuntu, and xp systems

I have been using xp and Ubuntu systems for the past. Recently I installed Windows 7 to watch movies and listen to songs. The guiding problem caused a great headache and has been solved. Now I have summarized the online methods, share your experience with you.

First, I divided my hard drive into five zones. The first partition is installed with xp, the second partition ext4 format is installed with Ubuntu10.04, the third partition is used as the swap partition, the fourth partition is idle, the fifth partition stores all the data, and my win7 is installed in the idle fourth partition.

Because windows has a higher operating system that can automatically boot earlier versions, there is no problem after windows 7 is installed. The Boot menu automatically generates "earlier versions of windows ", then I changed the name "windows xp" using the bcdedit command ". But now Ubuntu is gone. I used to rewrite the mbr to use the grub-guided xp of Ubuntu, now it is estimated that the grub boot will take N turns (so it is best to install grub in the Ubuntu partition when installing Ubuntu, and then use other systems for guidance; otherwise, you will regret it once the reinstallation operation is involved ), so I chose to reinstall Ubuntu10.04. This time I installed it in the second partition, and finally installed grub in this partition, because the mbr was not rewritten, after installation, you cannot immediately see the Ubuntu boot option. You need to manually add the boot option in win7 (Ubuntu10.04 uses grub2, so many methods on the Internet are outdated ).

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.