How to fix WubiUbuntu after Vista is reinstalled

Source: Internet
Author: User
Tags wubi
My vista is installed on drive C, and Ubuntu is installed on drive F. Two days ago, vista was reinstalled and Ubuntu was repaired today. Method 1: 1. Download grub4dos, decompress it, and copy grldr and grldr. mbr to the C root directory. 2. Use bcdedit to add a new project (run as Administrator) bcdedit/create/d "GRUB"/applicationbootsector generate a {id} bc

My vista is installed on drive C, and Ubuntu is installed on drive F. Two days ago, vista was reinstalled and Ubuntu was repaired today. Method:

Method 1:

1. Download grub4dos, decompress it, and copy grldr and grldr. mbr to the C root directory.

2. Use bcdedit to add a new project (run as Administrator)

Bcdedit/create/d "GRUB"/application bootsector

Generate a {id}

Bcdedit/set {id} device partition = C:

Bcdedit/set {id} path \ grldr. mbr

Bcdedit/displayorder {id}/addlast

3. Copy the D: \ Ubuntu \ winboot \ menu. lst file from the wubi-installed ubuntu partition to the C root directory. (This file was accidentally found)

4. restart the system and go to GRUB. OK!

[PS] This method comes from the forum. I did it in this way and succeeded! So you can rest assured to use it. It should be noted that the id in step 1 should be replaced by the generated string. You can copy it in the command line. Right-click the mouse, select "mark", select the string of characters, and then copy it on the keyboard. The mouse is not allowed. Then you can paste the id, and paste it with the mouse.

Grub4dos: http://www.linuxidc.com/Linux/2009-01/18027.htm

Method 2:

Reboot. Assume that your Ubuntu is installed on F: \ ubuntu

First, modify the Ubuntu folder name, then run wubi.exe, select the f disk when setting the path, and then confirm. Select "no" when prompted to restart, and then go to drive F to delete the newly generated ubuntu folder and change the original one back.

It should be okay after restart!

Method 2: I thought it myself, but I have not tried it. I don't know if I can. I think I should. This is indeed very simple. If you try, please tell me what the result is!

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.