locked
Can I install win8 developer preview in a vhd?

    Question

  • I don't know what has happened.I can install win8 in a vhd and use it well in my notebook, But in other notebook can't install it.
    Tuesday, September 20, 2011 2:26 PM

Answers

  • On Wed, 21 Sep 2011 05:29:53 +0000, zhangzhaowen wrote:

    now I will command bcdedit:

    /bcdedit /copy {current} d "windows 8"

    /bcdedit set {current} device vhd=[d:]\windows8.vhd
    /bcdedit set {current} osdevice vhd=[d:]\windows8.vhd
    /bcdedit set {current} detecthal on

    You can't use the Windows 7 bootloader to boot Windows 8.

    Follow the instructions here:

    http://blog.concurrency.com/infrastructure/dual-boot-windows-8-from-vhd-using-windows-setup/


    Paul Adare
    MVP - Identity Lifecycle Manager
    http://www.identit.ca
    Some programming languages manage to absorb change but withstand
    progress.

    • Marked as answer by zhangzhaowen Wednesday, September 21, 2011 11:01 AM
    Wednesday, September 21, 2011 9:42 AM
  • >>I can see the guider which I had built . But when I choose it and enter it. It is coming loading windows files and starting repairing

    This is normal. I've described it here. You need a new boot manager like Paul said.

    You can run

     BCDBOOT X:\windows

    where X:\Windows is a Windows folder of the mounted Windows Developer Preview setup DVD to overwrite the existing boot manager. But you'd better follow Paul's guide and check this guide as well.


    Well this is the world we live in And these are the hands we're given...
    • Marked as answer by zhangzhaowen Wednesday, September 21, 2011 3:13 PM
    Wednesday, September 21, 2011 11:21 AM

All replies

  • On Tue, 20 Sep 2011 14:26:51 +0000, zhangzhaowen wrote:

    I don't know what has happened.I can install win8 in a vhd and use it well in my notebook, But in other notebook can't install it

    You're going to have to provide more details here such as what you've
    tried, error messages, etc. Posting a screen shot of a working installation
    isn't going to help.


    Paul Adare
    MVP - Identity Lifecycle Manager
    http://www.identit.ca
    I am still waiting for the advent of the computer science groupie.

    Tuesday, September 20, 2011 2:39 PM
  • On Tue, 20 Sep 2011 14:26:51 +0000, zhangzhaowen wrote:

    I don't know what has happened.I can install win8 in a vhd and use it well in my notebook, But in other notebook can't install it

    You're going to have to provide more details here such as what you've
    tried, error messages, etc. Posting a screen shot of a working installation
    isn't going to help.


    Paul Adare
    MVP - Identity Lifecycle Manager
    http://www.identit.ca
    I am still waiting for the advent of the computer science groupie.


    I build a 20GB VHD file use windows7's computer Management. And mount it as a driver in my pc. Next was the cmd comand.

    ImageX /apply I:\sources\install.wim 1 h:

    now I will command bcdedit:

    bcdedit /copy {current} /d "windows 8"

    bcdedit /set {current} device vhd=[d:]\windows8.vhd
    bcdedit /set {current} osdevice vhd=[d:]\windows8.vhd
    bcdedit /set {current} detecthal on

    The next restart the pc.

    I can see the guider which I had built . But when I choose it and enter it. It is coming loading windows files and starting repairing.

    The problem is not in my pc,But other pc have it.I want to know whether I can install win8 in this way.

    Wednesday, September 21, 2011 5:29 AM
  • I may be wrong here, but my understanding of the vhd is that when it is mounted, it is mounted in your OS, meaning only your OS views it as a storage resource and it goes over the head of core-level I/O (BIOS/EFI) and basically does some software trickery.  This means, when you shut down that OS, the vhd is unmounted and is considered just another file in the file system by BIOS or EFI.  Apple's DMG is much the same.  The VHD is bootable to virtual machines because the OS and HyperVisor are there to make sure the file is made available to the guest, but my understanding is that through all of that, the hardware does not know what the VHD is.  To make it truly bootable, you need to put it on a flash drive, dvd or hard drive/SSD.  This physical media will be seen by BIOS/EFI and is truly readable by the hardware.  There are guide on how to do it all over Google and MSDN.

    I could explain it better, but I'd need sharpies, flow charts and an easel.

    Hope that helps!
    -Mike


    EDIT: After re-reading, if you're trying to run it as a VM on both, make sure both have hypervisors on the processor and neither is running an old version of VMWare.  Windows 8 makes use of some snazzy stuff at boot and older vm softwares don't quite have the back-end to do it.  I had to upgrade to WMWare 8 before I could run Windows 8.
    Wednesday, September 21, 2011 5:57 AM
  • On Wed, 21 Sep 2011 05:29:53 +0000, zhangzhaowen wrote:

    now I will command bcdedit:

    /bcdedit /copy {current} d "windows 8"

    /bcdedit set {current} device vhd=[d:]\windows8.vhd
    /bcdedit set {current} osdevice vhd=[d:]\windows8.vhd
    /bcdedit set {current} detecthal on

    You can't use the Windows 7 bootloader to boot Windows 8.

    Follow the instructions here:

    http://blog.concurrency.com/infrastructure/dual-boot-windows-8-from-vhd-using-windows-setup/


    Paul Adare
    MVP - Identity Lifecycle Manager
    http://www.identit.ca
    Some programming languages manage to absorb change but withstand
    progress.

    • Marked as answer by zhangzhaowen Wednesday, September 21, 2011 11:01 AM
    Wednesday, September 21, 2011 9:42 AM
  • Thank you very much,Maybe I got it.
    Wednesday, September 21, 2011 11:02 AM
  • Thanks.

    Wednesday, September 21, 2011 11:03 AM
  • >>I can see the guider which I had built . But when I choose it and enter it. It is coming loading windows files and starting repairing

    This is normal. I've described it here. You need a new boot manager like Paul said.

    You can run

     BCDBOOT X:\windows

    where X:\Windows is a Windows folder of the mounted Windows Developer Preview setup DVD to overwrite the existing boot manager. But you'd better follow Paul's guide and check this guide as well.


    Well this is the world we live in And these are the hands we're given...
    • Marked as answer by zhangzhaowen Wednesday, September 21, 2011 3:13 PM
    Wednesday, September 21, 2011 11:21 AM
  • you need to put it on a flash drive, dvd or hard drive/SSD. 

    Booting from a USB flash drive is NOT supported because of how the USB bus is initialized (it's initialized after the boot stage).
    Well this is the world we live in And these are the hands we're given...
    Wednesday, September 21, 2011 11:23 AM
  • Thank you. It's helpful for me. The solution is not only.

    Wednesday, September 21, 2011 3:12 PM