Dear all,
I would like to deploy a generalized vhd of windows 7, 8, 10 on bare machine C: partition. (Mostly windows 7).
What I have tried is,
Boot a win PE and create a partition on bare machine C:
Then deploy the generalized VHD on the partition C: using DISM
Here I struck.
How to create a new bcd store, boot files and other things to make it bootable.
Plz list out all the commands of bcd to make it work....
Below are the commands found but its for copying a generalized vhd and booting it.
What i am trying is deploying from vhd to partion and booting it.
Can anyone modify it to my need?
cd v:windowssystem32
bootsect /nt60 c: /force /mbr
bcdboot v:windows /s c:
bcdedit /store c:bootbcd /copy {default} /d "Windows7 VHD boot (locate)"
bcdedit /store c:bootbcd /set {new_guid} device vhd=[locate]windows7.vhd
bcdedit /store c:bootbcd /set {new_guid} osdevice vhd=[locate]windows7.vhd
bcdedit /store c:bootbcd /default {new_guid}
bcdedit /store c:bootbcd /set {new_guid} detecthal on
Edited by pazhanii, 11 July 2016 - 02:12 PM.