How can I fix a dual boot of Windows 7 and Windows XP?

ankit October 25, 2010
Pinterest Stumbleupon Whatsapp

My Windows 7 installation was corrupted by a CD. The display is not shown. Then I installed Windows7 on D, but now my Windows XP is not shown. Why is it so? And how to bring back both operating systems?

  1. Anonymous
    October 25, 2010 at 4:55 pm

    Hi

    Try
    EasyBCD
    http://neosmart.net/software.php

    First of all, you hav to restore Windows XP bootloader.
    Boot from XP disc and proceed to Recovery Console n execute the following commands one by one.

    fixmbr

    fixboot

    bootcfg /rebuild

    The bootcfg scan HDD for valid Windows XP installations and prompts for Add installation to boot list? (Yes/No/All). Press Y n hit enter.

    The next prompt asks you to Enter Load Identifier.

    This is the name of the operating system. For example, type Windows XP Professional or Windows XP Home Edition and press Enter.

    The final prompt asks you to Enter OS Load options.

    Type /Fastdetect here and press Enter.
    After this, Windows XP should now start normally

    Now boot with Windows 7’s DVD and choose Regional Settings and click on Next.

    Choose Repair your Computer, it automatically detect Windows 7’s partition and repair all kind of problem that cause unable to boot in 7 by clicking on Repair button OR then choose Startup Repair option.

    Restart your computer to boot in Windows 7 and run CMD as Administrator and execute the following commands one by one to add boot manager entries of Windows XP in boot menu.

    bcdedit /create {ntldr} /d “Earlier version of Windows”

    bcdedit /set {ntldr} device boot

    bcdedit /set {ntldr} path ntldr

    bcdedit /displayorder {ntldr} /addlast

    BCDEDIT needs a boot loader file to boot your system.

    A boot loader is a file that contains necessary information that instruct the system how to boot/start an operating system.
    Windows 7 and Vista bootloader file is bootmgr
    Windows XP bootloader file is ntldr

    Bcdedit edits a file called bcd , which is located in Windows 7's hidden partition under bootbcd.
    In Vista, its located under C:bootbcd.

  2. Tina
    October 25, 2010 at 4:36 pm

    Ankit,

    how did you initially install both operating systems to dual boot?
    What CD corrupted your Windows 7 installation? What exactly did you try to do? Were there any error messages?
    Before you installed Windows 7 on D, did you remove the previous installation?