Sagas from the software trenches in the continuing battle between quality, price and time…
by Hugo Häggmark
You might have read and tried the scripts from my first blog about creating a bootable vhd in Creating a bootable vhd the easy way, and in this blog post I’ll continue where I left with some information about my usage of difference discs and bootable vhd’s.
First of all I started by creating a bootable vhd with my script with the following options:
Name | Type | Size |
---|---|---|
Base2k8r2.vhd | Expandable | 80 000 Mb (Remember that you need this much free space on your disc even if the vhd doesn’t have the size from start) |
This left me with a vhd-file that took about 7Gb on my internal disc. I restarted my machine to make sure that my bootable vhd was working correctly.
After the health-check and some customizations like folder options in explorer I opened up a command prompt and entered shutdown /r /f , this way I don’t have to enter a reason to restart my Windows Server 2008 R2 OS
Back in Windows 7 I took these steps to create a difference disc to keep my base disc clean:
WARNING this will delete a boot entry, make sure you enter the GUID to the entry where the device/osdevice points the path of your bootable vhd. Entering the wrong guid could make your computer UNBOOTABLE.
When I get some time I’ll try to automate these steps into a handy batch-file or application. I hope you found this post interesting.
Cheers!
Hugo
tags: Bootable VHD - Development Environment - SharePoint