Tuesday, November 30, 2010

Black Stool And Red Wine

Bitlocker Boot from VHD

Windows 7 editions Enterprise and Ultimate include the option to boot from a VHD. Windows Server 2008R2 has this feature.
This is interesting if we need to run an operating system on our team differently, especially if we use it for testing, because a VHD can be easily retrieved.

The same tools that are set up standard hard drives (Disk Management and Diskpart), are used to working with HDV. We can create and attach a VHD drive from Disk Mangement.


From Diskpart can create a partition, format it, assign the drive letter and check the partition as active.


can use Disk Management or Diskpart, I did some work with a tool and others with the other, to show both in operation. We can not install an OS on a VHD from an optical drive or an ISO image, it must be done from a WIM image, new image formats from Windows Vista and Windows 2008. That is why the boards are using imagex.exe, which is part of MDT 2010 or from a WDS server if you have installed and configured on our network. In this case we use imagex to be the only way to do it with only one team.

To perform this test we used a Windows Server 2008R2 DVD. Syntax imagex is very simple.


"/ apply" indicates that applies an image to an HD or HDV

"z: \\ sources \\ install.wim" is the location of the image of Windows 2008 R2 which is in the DVD

"1" indicates that the first image within all who are in the wim file in our case Windows Server 2008 R2 Standard (Full Instalation).

"w: \\" is the drive letter of the VHD where the operating system installed.

After installing the operating system, you must modify the boot sector of Windows 7 so you can choose between loading from the HD or from the VHD. The most simple is to use a free graphical tool called EasyBCD 2.0 .


Advantages:
1. We use all hardware resources to our HDV system.
2. Direct access to real hardware devices, making it an optimal way to test hardware in a different operating system or new drivers.
3. When you copy the VHD, we have a complete copy of our laboratory.

Disadvantages:
1. If we are testing other operating systems different from our HD, we must find the drivers.
2. We can only run one operating system to perform a boot from a VHD at a time, although we can set VHD several at once and start alternately either.
3. HDV is not easily portable to another computer, unless you have the same hardware.
4. The installation is a bit more complex than using physical or virtual teams.

As an introduction this is the starting point to build a laboratory in our computer without modifying the Windows 7 that already have installed.


To learn more ... http://www.microsoft.com/virtualization

0 comments:

Post a Comment