After Ubuntu is installed in wubi under win7, the solution to win7 startup failure is provided.

Source: Internet
Author: User
Tags wubi

The previous day, I installed ubuntu12.04 on the USB flash drive. After the boot, I checked the first default installation, but forgot to select the ext4 partition. After the installation, I cannot start win7, And the win7 option also changed to winvista, then uninstall Ubuntu and restart grub rescue mode. Use the following method to switch to normal:

By checking the file, you can determine the partition in which the grub2 core file is located. Next, you can perform the conversion from rescue to normal:

First Ls
Look at the partition. Based on the partition list, guess the/Partition Number and then ls (hd0, x)/check the file in the partition directory to find/partition. If not, continue searching. Locate/partition (hd0, x) and continue

Grub rescue> root = (hd0, X)

Grub rescue> prefix =/boot/GRUB

Grub rescue> set root = (hd0, X)

Grub rescue> set prefix = (hd0, x)/boot/GRUB


Grub rescue> insmod normal

Rescue> normal --------> If the Startup menu appears, press C to enter the command line mode.

Then go to grub normal mode.

Find -- Set-root/bootmgr
Chainloader/bootmgr
Boot

After chainloader is executed, the ntldr startup address is displayed ......, After boot, restart the boot screen and then enter grub again.

Finally, go to the installation page through the win7 system disk, press SHIFT + F10 to open cmd, enter the bootrec command, bootrec/fixmbr, boot/fixboot to fix the problem, but still cannot start win7, and useBootrec/Rebuildbcd. After reconstruction, add win7 to the startup Item., Restart, enter win7, and you are done!

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.