Do you know how to setup a Boot to VHD Image?

Updated by Brady Stroud [SSW] 1 year ago. See history

123
<introEmbed body={<> Using Boot to VHD is very similar to dual-booting your machine, except that you do not have to partition your hard drive. It also has performance benefits over using a Hyper-V server for presentations. </>} />

Pre-Requisites

  • The presentation computer running Windows
  • A SysPreped VHD image to be deployed onto the presentation computer
  1. Copy a SysPreped VHD image to the laptop to be used for the presentation.
  2. Open an Administrative command prompt.
  3. Type:
bcdedit /copy {default} /d “Demo-NameOfDemo”

Creating the entry using BCDEdit shows your GUID Figure - Creating the entry using BCDEdit shows your GUID 4. Type:

bcdedit /set <GUID> device vhd=[D:]\VM-DEV-SharePoint_2010_Public_Beta.vhd

**D:** is the drive the VHD is located and VM-DEV-SharePoint_2010_Public_Beta.vhd is the location of your VHD file. Make sure you replace **<GUID>** with the GUID you got in the previous step. 5. Type:

bcdedit /set <GUID> osdevice vhd=[D:]\VM-DEV-SharePoint_2010_Public_Beta.vhd

**D:** is the drive the VHD is located and VM-DEV-SharePoint_2010_Public_Beta.vhd is the location of your VHD file. Make sure you replace **<GUID>** with the GUID you got in the previous step. 6. Type:

bcdedit /set <GUID> detecthal on

Each time you run a BCDEdit command it should return Figure - Each time you run a BCDEdit command it should return "The operation completed successfully" 7. Reboot the computer and now you will have the option to choose between Windows 7 and the new Boot to VHD image.

Acknowledgements

Matthew Hodgkins
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star