<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx</link><description>Hello, In my previous post i.e. Windows 7: Boot from VHD First Impression: Part 1 we seen creating and attaching the VHDs. Using the Disk Management or Diskpart utility we can attach the existing VHDs. In this part we will actually cover the boot from</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>从VHD文件启动计算机</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3185531</link><pubDate>Mon, 19 Jan 2009 09:01:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3185531</guid><dc:creator>喻勇(Frank Yu)的技术博客</dc:creator><description>&lt;p&gt;/*以下内容根据 Aviraj Ajgekar 的博客文章编译和修改。*/ 之前的文章提到了Windows 7对VHD文件的内建支持，从此以后VHD文件的地位得到了提升:-) 它可以被操作系统认为是一块物理的硬盘进行管理和读写。&lt;/p&gt;
</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3194396</link><pubDate>Thu, 29 Jan 2009 18:13:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3194396</guid><dc:creator>Memnoch</dc:creator><description>&lt;p&gt;I follow yours instructions on your blog and i would know how you can directly attach the created vhd to Hyper-v&lt;/p&gt;
&lt;p&gt;I tried it and the boot manager is missing&lt;/p&gt;
&lt;p&gt;Maybe have i missed one step ?&lt;/p&gt;
</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3195262</link><pubDate>Sat, 31 Jan 2009 18:02:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3195262</guid><dc:creator>aviraj</dc:creator><description>&lt;p&gt;Make sure you are attaching the VHD, which was already created with Hyper-V and not the the one that was created using imagex method.&lt;/p&gt;
&lt;p&gt;VHD created in hyper-v already contains primary 200 mb system active partition containing bootmgr. In case of VHD created with imagex, we are just extracting files onto the single partition.&lt;/p&gt;
</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3238317</link><pubDate>Sun, 10 May 2009 10:51:52 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3238317</guid><dc:creator>rkmuralikrishnan</dc:creator><description>&lt;p&gt;Thanks a useful post and i have some problem regarding that.&lt;/p&gt;
&lt;p&gt;I am using Windows 7 as base os and i am try to install the Windows server 2008.&lt;/p&gt;
&lt;p&gt;First i created a vhd using diskmgmt.msc and then using imagex it applied the same as mentioned in the above.&lt;/p&gt;
&lt;p&gt;I found the boot entry while booting but it go for repair console.&lt;/p&gt;
&lt;p&gt;Aviraj previous blogger explained it i understood that.&lt;/p&gt;
&lt;p&gt;But is there is any way to do this i.e. without hyperv ?&lt;/p&gt;
</description></item><item><title>Less Virtual, More Machine - Windows 7 and the magic of Boot to VHD</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3244330</link><pubDate>Fri, 22 May 2009 02:20:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3244330</guid><dc:creator>ASPInsiders</dc:creator><description>&lt;p&gt;NOTE: This is some advanced stuff and you may lose a finger. No warranty express or implied. There's&lt;/p&gt;
</description></item><item><title>Utilizing Virtualization and boot-from-vhd for making a dual-boot laptop </title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3249161</link><pubDate>Tue, 02 Jun 2009 05:37:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3249161</guid><dc:creator>Virtual Machine Management</dc:creator><description>&lt;p&gt;I received my brand new Dell Latitude E4300 laptop today and I wanted to make sure i could boot both&lt;/p&gt;
</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3254497</link><pubDate>Sun, 14 Jun 2009 06:13:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3254497</guid><dc:creator>Pugalenthi</dc:creator><description>&lt;p&gt;I guess you need to change the guid brackets to flower brackets in these 2 lines...&lt;/p&gt;
&lt;p&gt;C:\&amp;gt;bcdedit /set &amp;lt;guid&amp;gt; device vhd=[driveletter:]\&amp;lt;directory&amp;gt;\&amp;lt;vhd filename&amp;gt;&lt;/p&gt;
&lt;p&gt;C:\&amp;gt;bcdedit /set &amp;lt;guid&amp;gt; osdevice vhd=[driverletter:]\&amp;lt;directory&amp;gt;\&amp;lt;vhd filename&amp;gt;&lt;/p&gt;
&lt;p&gt;So this should be edited as...&lt;/p&gt;
&lt;p&gt;C:\&amp;gt;bcdedit /set {guid} device vhd=[driveletter:]\&amp;lt;directory&amp;gt;\&amp;lt;vhd filename&amp;gt;&lt;/p&gt;
&lt;p&gt;C:\&amp;gt;bcdedit /set {guid} osdevice vhd=[driverletter:]\&amp;lt;directory&amp;gt;\&amp;lt;vhd filename&amp;gt;&lt;/p&gt;</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3261867</link><pubDate>Tue, 07 Jul 2009 13:29:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3261867</guid><dc:creator>Gopi</dc:creator><description>&lt;p&gt;Could we have the VHD's on an External HDD.. &lt;/p&gt;
&lt;p&gt;Coz'.. There was blue dump error when tried with external hdd on Windwos Server 2008 R2..&lt;/p&gt;</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3267226</link><pubDate>Thu, 23 Jul 2009 00:06:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3267226</guid><dc:creator>Mark Wilson</dc:creator><description>&lt;p&gt;Thanks for this information - but hae you any idea how I can make this boot from a USB stick? &amp;nbsp;I have it working with the bootloader on C: and my VHD on the USB drive but can't seem to get the BCD configured correctly for the USB drive to be the only disk in the system.&lt;/p&gt;</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3273814</link><pubDate>Sat, 15 Aug 2009 18:37:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3273814</guid><dc:creator>aviraj</dc:creator><description>&lt;p&gt;Not yet supported on USB drive&lt;/p&gt;
</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3273984</link><pubDate>Sun, 16 Aug 2009 21:57:44 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3273984</guid><dc:creator>Undying</dc:creator><description>&lt;p&gt;Do I get in trouble if I use this stuff on a SSD (is TRIM-Command trough a VHD &amp;quot;Container&amp;quot; supported?)&lt;/p&gt;</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3278815</link><pubDate>Thu, 03 Sep 2009 02:44:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3278815</guid><dc:creator>David Broussard</dc:creator><description>&lt;p&gt;Having a bit of trouble with the last step. &amp;nbsp;After configuring everything, I reboot my Windows 7 box and it tells me that there is an error in the Boot Loader and it has to be fixed by an adminsitrator. &amp;nbsp;If I select the VHD, it instead just boots to Windows 7.&lt;/p&gt;</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3279279</link><pubDate>Fri, 04 Sep 2009 22:28:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3279279</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;This entire process can be made way way more simple:&lt;/p&gt;
&lt;p&gt;* You need to download the following 3 files and run the script:&lt;/p&gt;
&lt;p&gt;* YOU WILL FIRST NEED the program ImageX.exe Here is a shortcut to get the 32 or&lt;/p&gt;
&lt;p&gt;64 bit versions (WITHOUT the need to download the 1 GB Developer's kit iso from&lt;/p&gt;
&lt;p&gt;Microsoft and burn it to cd to extract it.) &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.tipandtrick.net/2008/imagex-600118000-x86-and-x64-for-windows-server-2008-and-vista-sp1-standalone-download/"&gt;http://www.tipandtrick.net/2008/imagex-600118000-x86-and-x64-for-windows-server-2008-and-vista-sp1-standalone-download/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;* Second, You'll need to download &amp;quot;Wim2vhd.scr&amp;quot; &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://thelazyadmin.com/blogs/thelazyadmin/archive/2009/02/10/create-a-bootable-windows-7-vhd.aspx"&gt;http://thelazyadmin.com/blogs/thelazyadmin/archive/2009/02/10/create-a-bootable-windows-7-vhd.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;* I STRONGLY recommend that you create a folder name VHD and put ImagX.exe,&lt;/p&gt;
&lt;p&gt;Wim2Vhd.scr and COPY BcdBoot.exe and BcdEdit.exe &amp;nbsp;(from your \windows\system32&lt;/p&gt;
&lt;p&gt;folder) into it - then go to the command prompt in the VHD folder, verify you&lt;/p&gt;
&lt;p&gt;have those 4 files and THEN run the script. &lt;/p&gt;
&lt;p&gt;As you will find (on that web page) the command line ( you run from the command prompt) is:&lt;/p&gt;
&lt;p&gt;cscript wim2vhd.wsf /wim:X:\sources\install.wim /sku:ULTIMATE /vhd:C:\Win7Ultimate.vhd /size:40960 /disktype:Fixed&lt;/p&gt;
&lt;p&gt;This command won't work &amp;nbsp;until you change the X to C because install.wim is on&lt;/p&gt;
&lt;p&gt;your C: drive by default. Make sure the path to install.wim is correct before&lt;/p&gt;
&lt;p&gt;you run the script. Install.wim also on the Windows 7 cd.&lt;/p&gt;
&lt;p&gt;NOTE the VHD file size is 40 gb in the example. Windows VHD only needs 7 gb for&lt;/p&gt;
&lt;p&gt;Win 7 BUT you need space for installing programs and downloading files, so I&lt;/p&gt;
&lt;p&gt;changed mine to 20 gb. The file size can be set to dynamic, rather than fixed...&lt;/p&gt;
&lt;p&gt;and it will expand if/when needed HOWEVER, you system will be VERY SLOW when/if&lt;/p&gt;
&lt;p&gt;it has to expand the file size. This is not recommended - but keep in mind that&lt;/p&gt;
&lt;p&gt;you can not increase the size of a fixed VHD once it has been created.&lt;/p&gt;
&lt;p&gt;* Here is the exact command I copied and pasted to the command prompt in my VHD folder:&lt;/p&gt;
&lt;p&gt;cscript wim2vhd.wsf /wim:C:\sources\install.wim /sku:ULTIMATE /vhd:C:\vhd\Win7Ultimate.vhd /size:20960 /disktype:Fixed&lt;/p&gt;
&lt;p&gt;Note I also put the Win7ultamate.vhd file in the VHD folder rather than the root&lt;/p&gt;
&lt;p&gt;drive in the example. This makes it easier to find, backup, and increment.&lt;/p&gt;
&lt;p&gt;* When your VHD file is ceated you can finish the process with this handy tool:&lt;/p&gt;
&lt;p&gt;VHD Mount for Windows 7 -- adds all VHD related action like Mount, Un-mount,&lt;/p&gt;
&lt;p&gt;Boot from VHD images right in your Right Click Context menu. After you run it,&lt;/p&gt;
&lt;p&gt;just right click on any VHD image and select &amp;quot;add to boot menu.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="https://brentf.com/blog/software/misc/VHDMount.exe"&gt;https://brentf.com/blog/software/misc/VHDMount.exe&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3280499</link><pubDate>Fri, 11 Sep 2009 04:00:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3280499</guid><dc:creator>Michael Connell</dc:creator><description>&lt;p&gt;I have Win7 Ultimate as a host OS and am trying to boot a WinServer 2008 Enterpize VHD. I followed all of the instructions outlined in the blog. Everything goes smooth up until I attempt my first boot into the Win 2008 VHD. I am then greeting with a dialog telling me that my Boot Configuration is Corrupted (Error 0x490). &lt;/p&gt;</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3281551</link><pubDate>Thu, 17 Sep 2009 08:36:08 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3281551</guid><dc:creator>realtebo</dc:creator><description>&lt;p&gt;what are the locate=custom parameters into VHD config?&lt;/p&gt;
&lt;p&gt;Are they needed? How to locate this value for my VHDs ?&lt;/p&gt;
&lt;p&gt;And ... why don't you explain this ?&lt;/p&gt;</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3283438</link><pubDate>Sun, 27 Sep 2009 15:46:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3283438</guid><dc:creator>aviraj</dc:creator><description>&lt;p&gt;Boot From VHD is only supported by Windows 7 and Windows Server 2008 R2. No downlevel OS support. That means you cannot boot Windows Vista or Windows Server 2008 using Boot From VHD option&lt;/p&gt;
</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3287424</link><pubDate>Sat, 17 Oct 2009 03:40:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3287424</guid><dc:creator>8675309</dc:creator><description>&lt;p&gt;i tried using boot 7 from vhd but it fragments to quickly so both it &amp;amp; vista are slow to boot&lt;/p&gt;</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3293476</link><pubDate>Thu, 12 Nov 2009 19:11:43 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3293476</guid><dc:creator>Daren</dc:creator><description>&lt;p&gt;Portlock Leap Frog, makes it very easy to setup a VHD for booting or an existing VHD, even if you only have Vista or XP. Portlock Leap Frog will upgrade the boot manager to support VHD boot.&lt;/p&gt;</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3294221</link><pubDate>Mon, 16 Nov 2009 21:19:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3294221</guid><dc:creator>Raymond </dc:creator><description>&lt;p&gt;In your demonstration , in the middle of it .... you say&lt;/p&gt;
&lt;p&gt;If you have Windows Server 2008 running Hyper-V, launch the virtual machine running Windows 7 or Windows Server 7 aka Windows Server 2008 R2 and the run the following command&lt;/p&gt;
&lt;p&gt;c:\windows\system32\sysprep&amp;gt;sysprep /generalize /shutdown&lt;/p&gt;
&lt;p&gt;--------------------------&lt;/p&gt;
&lt;p&gt;and then you say&lt;/p&gt;
&lt;p&gt;Once the image is applied to particular drive in our case X:\. Detach the X: Drive from the Disk Management. Now your VHD file is ready to boot.&lt;/p&gt;
&lt;p&gt;--------------------------&lt;/p&gt;
&lt;p&gt;My confuse is if I shutdown my windows 7 by sysprep , then how can I detach the X: ?&lt;/p&gt;
&lt;p&gt;--------------------------&lt;/p&gt;
&lt;p&gt;In the above&lt;/p&gt;
&lt;p&gt;&amp;quot;launch the virtual machine running Windows 7&amp;quot;&lt;/p&gt;
&lt;p&gt;I don't understand what is &amp;quot;the virtual machine&amp;quot; mean. I'm using an DVD installed Windows 7 , how can I sysprep it ?&lt;/p&gt;
&lt;p&gt;If you won't mind , make this clear for me, thanks&lt;/p&gt;</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3294579</link><pubDate>Wed, 18 Nov 2009 01:49:49 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3294579</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;This is very nice post. I followed steps and was able to boot into the VHD properly. &lt;/p&gt;
&lt;p&gt;I am having trouble with Graphics. Detected adaptor is shown as Standard VGA adaptor. Why this is happening and how to solve this?&lt;/p&gt;</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3295068</link><pubDate>Thu, 19 Nov 2009 12:34:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3295068</guid><dc:creator>aviraj</dc:creator><description>&lt;p&gt;@Raymond&lt;/p&gt;
&lt;p&gt;You are confusing with the process.&lt;/p&gt;
&lt;p&gt;Preparing VHD file using Windows 7 or Windows Server 7 Media &lt;/p&gt;
&lt;p&gt;-In this we are manually creating VHD, applying OS files using ImageX and then detach.&lt;/p&gt;
&lt;p&gt;Preparing the VHD file using Windows Server 2008 Hyper-V&lt;/p&gt;
&lt;p&gt;-In this we are actually working on the VM, then installing Windows 7 and syspreppint the OS. They copying that VHD frm the Hyper-V based VM to boot from VHD scenario.&lt;/p&gt;
</description></item><item><title>re: Windows 7: Boot from VHD First Impression: Part 2</title><link>http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx#3295070</link><pubDate>Thu, 19 Nov 2009 12:36:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3295070</guid><dc:creator>aviraj</dc:creator><description>&lt;p&gt;@sam&lt;/p&gt;
&lt;p&gt;You need to download and install display drivers in order to get the graphics.&lt;/p&gt;
&lt;p&gt;In the Boot from VHD scenario we are accessing the hardware directly from the computer. So we need to install the appropriate drivers.&lt;/p&gt;
&lt;p&gt;I suggest you can use Windows Update for display drivers.&lt;/p&gt;
</description></item></channel></rss>