Warning: fopen(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/chandras/public_html/wintechgeek.com/wp-includes/functions.php on line 4452

Warning: fopen(http://www.wintechgeek.com/wp-content/themes/wtg-Theme/style.css): failed to open stream: no suitable wrapper could be found in /home/chandras/public_html/wintechgeek.com/wp-includes/functions.php on line 4452

Warning: fread() expects parameter 1 to be resource, boolean given in /home/chandras/public_html/wintechgeek.com/wp-includes/functions.php on line 4455

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/chandras/public_html/wintechgeek.com/wp-includes/functions.php on line 4458
Add Windows XP to BCDEDIT in Windows7 boot menu - WinTechGeek

Add Windows XP to BCDEDIT in Windows7 boot menu

In my earlier  tutorial on “Introduction to BCD and BCDEIT”  we have seen the basics and what BCD ( Boot configuration Data) is and what are the available commands which can be used to modify the settings as per your needs. In this article we are going to see how can you add a legacy OS Loader (Legacy means the one which is earlier to windows 7 boot loader) into your existing BCD configuration store.

 

There can be couple of reasons why you want to add a legacy OS in BCD store including adding NTLDR or some Linux type boot loader like Grub inside BCD.

 

In this tutorial we will learn how to add Legacy Boot loader or Windows XP to a Windows 7 Boot loader.

 

To Add Windows XP or another  Legacy Boot Loader like Grub you have to add an application OS loader in BCD.

 

Below are the commands to add windows XP to BCD. We will see each components one by one and then combine them together to get our job done.

Let’s get started by adding  a new OS loader entry.

[stextbox id="grey"] bcdedit /create /d “Name of the Entry” /application bootsector[/stextbox]

The result will look like this:

[stextbox id="grey"]The entry {05d33150-3fde-11dc-a457-00021cf82fb0} was successfully created.[/stextbox]

Note down the The long string {05d33150-3fde-11dc-a457-00021cf82fb0} is the id for this entry.

 

Then, use the following commands to set boot parameters:

(replace {id} with the actual id returned from the previous command.)

[stextbox id="grey"]

bcdedit /set {67bc6121-f766-11df-b1a0-00247eea28eb} device boot

bcdedit /set {67bc6121-f766-11df-b1a0-00247eea28eb} path \ntldr

bcdedit /displayorder {{67bc6121-f766-11df-b1a0-00247eea28eb} /addlast

[/stextbox]

 

From earlier tutorail on “Introduction to BCD and BCDEDIT we have seen the details of each commands mentioned above so there should not be any problems in understanding the command line and parameters of each commands we just typed.

 

[stextbox id="info"]Summary : How to Add NTLDR or any other bootloader in BCD [/stextbox]

To add a legacy OS loader you can simply run below commands and it will add any type of OS loader in BCD store.

 

 

[stextbox id="grey"]

bcdedit /create /d “Name of the Entry” /application bootsector

bcdedit /set {67bc6121-f766-11df-b1a0-00247eea28eb} device boot

bcdedit /set {67bc6121-f766-11df-b1a0-00247eea28eb} path \ntldr

bcdedit /displayorder {{67bc6121-f766-11df-b1a0-00247eea28eb} /addlast

[/stextbox]

 

 

Replace the GUID in above commands with the GUID returned by the first /application OS loader command.

 

In our next tutorial on BCDEDIT we will see how modify BCDEDIT to boot directly from a VHD (Virtual Disk ).

 

 

 

2 Comments

  1. lalit mohan

    bcdedit /create /d “Name of the Entry” /application bootsector

    thnxx.. this commad worked well. but i’m not able to understand what is the purpose of “/d” in this command?
    if it is drive letter where windows xp is installed then i’hv installed windows in drive f: , using f in command didn’t work.???

Leave a Reply