locked
Bootable VHD

    Question

  • Will be on MSDN a bootable VHD of Windows 8 Developer Preview for download? And some upgrade of Boot Manager. Bootable VHD created from ISO doesn't work.
    Thursday, September 15, 2011 8:34 AM

Answers

All replies

  • You do seem to need an updated Boot Manager.   I accomplished this as follows:

    1. create/mount/partition/format a VHD under Win7 with diskpart
    2. extract the ISO to a scratch directory (I used 7zip, but any number of tools will work)
    3. apply the extracted sources/install.wim to the VHD with imagex from the Win7 AIK
    4. burn a scratch DVD from the ISO
    5. boot from the DVD and Shift-F10 to get a Win8 command prompt
    6. use diskpart from there to mount the premade VHD
    7. use bcdboot from there to update the boot manager and create a boot loader entry pointing at the mounted VHD
    8. reboot, choose your new Win8 boot option, and complete the OOBE
    Thursday, September 15, 2011 9:04 AM
  • I've made a Virtual machine under Hyper-V for a first test.

    Now I would like to run Win8 on my desktop, using the VHD that I've create under Hyper-V.

    When I try to boot this VHD files I have a error on winloader.exe.

    Anyone know what can I do ? Should I make a "fresh" install? Is there no way I can repair the boot of Win8 then I can load it on my desktop ?

    Thursday, September 15, 2011 9:55 AM
  • Try to enable detect hal on the Win8 VHD image so it will requery all the hardware during the boot.

    bcdedit /set {guid} detecthal Yes

    Source: http://technet.microsoft.com/en-us/library/gg318051(WS.10).aspx


    • Edited by MCCZ Thursday, September 15, 2011 10:12 AM
    Thursday, September 15, 2011 10:12 AM
  • I've allready done that :(
    Thursday, September 15, 2011 10:20 AM
  • Hi. I have written a guide how to create a bootable VHD here:

    http://www.pitorque.de/MisterGoodcat/post/Installing-Windows-8-Developer-Preview-as-bootable-VHD.aspx

    It's similar to what Blake described but much simpler; setting this up only takes little time.

    Hope this helps,

    -Peter


    • Edited by Peter Kuhn Thursday, September 15, 2011 10:34 AM
    • Marked as answer by Václav Dajbych Thursday, September 15, 2011 3:41 PM
    Thursday, September 15, 2011 10:33 AM
  • I decided not to risk finding out if the Win7 version of bcdboot would correctly pick up the Win8 boot manager if pointed at an applied Win8 root.   Looks like your test proves it does.   That is great news and will certainly make the process faster.

    As far as "much simpler"?   Depends on whether you are a command line geek and already have the AIK installed or not, I suppose.  ;) 

    Your version is certainly much more complete and clear than my little bullets though.  Thank you for the great write-up. 

    Thursday, September 15, 2011 11:06 AM
  • Yes, the "much simpler" part mostly referred to the usage of Win 7's bcdboot, which spares you from creating a boot media and doing that from the Win 8 command line. And yes, if you already have imagex, the advantage of not using AIK of course also disappears :).

     

    Thursday, September 15, 2011 11:17 AM
  • Or you could just use VBoot...  http://vmlite.com/index.php?option=com_content&view=article&id=51&Itemid=148
    Don't know if it'd be compatible with VHDs with Win 8 on it... definitely not any VHDXs...

    Thursday, September 15, 2011 11:34 AM
  • Hi. I have written a guide how to create a bootable VHD here:

    http://www.pitorque.de/MisterGoodcat/post/Installing-Windows-8-Developer-Preview-as-bootable-VHD.aspx

    It's similar to what Blake described but much simpler; setting this up only takes little time.

    Hope this helps,

    -Peter


    Thanks for your guide.

    I'll try this to see if I can load my "Hyper-V Win8" VHD.

    Thursday, September 15, 2011 12:20 PM
  • Hi. I have written a guide how to create a bootable VHD here:

    http://www.pitorque.de/MisterGoodcat/post/Installing-Windows-8-Developer-Preview-as-bootable-VHD.aspx

    It's similar to what Blake described but much simpler; setting this up only takes little time.

    Hope this helps,

    -Peter



    Thank you, it works perfectly. I just don't see blue boot manager, but the old DOS style one.
    Thursday, September 15, 2011 3:46 PM
  • Which selection screen you see depends on which OS you set as your default choice.   Make Win8 the default and you'll see the pretty blue screen.   Make Win7 the default and you get the old text mode one.
    Thursday, September 15, 2011 4:14 PM