Jump to content











Photo
- - - - -

Deploy vhd on bare pc


  • Please log in to reply
3 replies to this topic

#1 pazhanii

pazhanii

    Member

  • Members
  • 58 posts
  • Location:India
  •  
    India

Posted 11 July 2016 - 01:54 PM

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.


#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 11 July 2016 - 02:48 PM

I am not following you.

What do you mean by (or how exactly) are you deploying  a.vhd with DISM?

 

The result of deploying (or DISM /Apply) is a deployed or "flat" OS. :dubbio: but DISM is used with .wims ...

 

:duff:

Wonko



#3 pazhanii

pazhanii

    Member

  • Members
  • 58 posts
  • Location:India
  •  
    India

Posted 12 July 2016 - 12:28 PM

Sir,

         Really very sorry for wrong description. It was a Wim image not a VHD.

 

I am a service person who install frequent OS in customer PC. It takes really a long time and being idle till all software Installation completes.

 

So i thought of capturing a generalized wim image with all software pre installed, so that I can save time.

 

But don't know how to do it...



#4 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 12 July 2016 - 12:53 PM

I still don't get it, if it's a "normal" .wim applied, then what is the sense of the "customized" BCD with the "locate" action to a .vhd?

 

See if reading this:

http://reboot.pro/to...external-drive/

AND this (tool to automate the install):

http://www.msfn.org/...inntsetup-v386/

helps you.

 

:duff:

Wonko






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users