Vhd Boot


  1. Posts : 4
    windows7
       #1

    Vhd Boot


    Hi

    Is it possible to make a windows xp vhd boot from windows 7 bootloader ?

    I need a howto if it's possible.

    Best Regards

    Allan
      My Computer


  2. Posts : 72,051
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Allan, and welcome to Seven Forums.

    I have not tried this with using the Windows XP installation DVD, but it may still work using the method in the tutorial below.

    Virtual Hard Drive VHD File - Create and Start with at Boot

    You might also look at the related links to see if one of those options may work for you as well.

    Hope this helps,
    Shawn
      My Computer


  3. Posts : 4
    windows7
    Thread Starter
       #3

    Hello Brink
    The problem is that you have to reboot to change the dvd/cd to an windows xp and then you have closed the vhd file and then you can't install xp, is it a way to open the vdisk again ?

    br
    Allan
      My Computer


  4. Posts : 1,009
    Windows 7 RC 7100 32bit/64bit
       #4

    hello Alan...

    You could try to create a Virtual PC VHD , install Windows XP there, and after the first part of installation (the blue screens),upon the first restart, stop the Virtual PC and use this VHD to boot with. It should probably continue to load Windows XP and install them on the VHD...probably.

    Only thing is that you should change some BCD entries to boot totally from the VHD:

    Copy your VHD file you have created from a Virtual PC and have started installing XP, which you stopped before it got to the second part of the installation, to C:\winxp.vhd

    open an elevated command prompt and type:

    bcdedit /create {ntldr} /d "My winxp VHD"

    bcdedit /set {ntldr} device vhd=[C:]\winxp.vhd

    bcdedit /set {ntldr} path \ntldr

    bcdedit /displayorder {ntldr} /addlast

    This could probably boot XP from VHD. Please post back results.

    EDIT: I tried everything...It seems Windows 7 is using its own hardware abstraction layer to boot from VHD, so I believe you cannot boot XP...probably not even Vista...Win7 only..
    Last edited by limneos; 25 Feb 2009 at 16:43.
      My Computer


  5. Posts : 2,899
    Windows 7 Ult x64(x2), HomePrem x32(x4), Server 08 (+VM), 08 R2 (VM) , SuSe 11.2 (VM), XP 32 (VM)
       #5

    limneos said:
    hello Alan...

    You could try to create a Virtual PC VHD , install Windows XP there, and after the first part of installation (the blue screens),upon the first restart, stop the Virtual PC and use this VHD to boot with. It should probably continue to load Windows XP and install them on the VHD...probably.

    Only thing is that you should change some BCD entries to boot totally from the VHD:

    Copy your VHD file you have created from a Virtual PC and have started installing XP, which you stopped before it got to the second part of the installation, to C:\winxp.vhd

    open an elevated command prompt and type:

    bcdedit /create {ntldr} /d "My winxp VHD"

    bcdedit /set {ntldr} device vhd=[C:]\winxp.vhd

    bcdedit /set {ntldr} path \ntldr

    bcdedit /displayorder {ntldr} /addlast

    This could probably boot XP from VHD. Please post back results.

    EDIT: I tried everything...It seems Windows 7 is using its own hardware abstraction layer to boot from VHD, so I believe you cannot boot XP...probably not even Vista...Win7 only..
    actually the VPC is locked to P3 HAL and so that is why you can boot...
    essetially if you have AMD-V or VT support you can withing reason make a vhd fire up Vmware and then install it from there (as the installer will use the same hal as yours..) of course like dmex said you need to attach it first and then use it as physical disk which should in theory work...:)
    Boot from a VHD using Windows 7
      My Computer


  6. Posts : 4
    windows7
    Thread Starter
       #6

    Hi, thanks I will give it a try
      My Computer


  7. Posts : 4
    windows7
    Thread Starter
       #7

    Only win7 has support for this :-(

    /Allan
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:31.
Find Us