Making a Windows 7 virtual disk bootable to use with native VHD boot?

Discussion in 'Windows 7' started by Gremo, May 5, 2012.

  1. Gremo

    Gremo MDL Member

    Feb 19, 2011
    106
    25
    10
    #1 Gremo, May 5, 2012
    Last edited by a moderator: Apr 20, 2017
    I've created and attached a vdisk file using this command:

    Code:
    diskpart
    create vdisk file="C:\Windows 7.vhd" type=fixed maximum=15360
    sel vdisk file="C:\Windows 7.vhd"
    attach vdisk
    create partition primary
    active
    format fs=ntfs
    assign letter=X
    
    Then i've applied a Windows 7 Ultimate x64 image (D: is mounted ISO letter):
    Code:
    imagex /apply /check D:\sources\install.wim 4 X:
    
    But of course i need to make it bootable in order to use native VHD boot functionality. I remember i need to use bcdedit but i don't know the command to run. Any help would be much appreciated :hug2:
     
  2. Gremo

    Gremo MDL Member

    Feb 19, 2011
    106
    25
    10
    #3 Gremo, May 6, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)