<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Quick Fixed VHD Creation Tool</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2009/03/25/quick-fixed-vhd-creation-tool.aspx</link><description>A while ago I talked about why it takes so long to create a virtual hard disk , and a lot of people came back and said that in controlled environments they were willing to take the security risks / implications involved in order to have quick creation</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Quick Fixed VHD Creation Tool</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2009/03/25/quick-fixed-vhd-creation-tool.aspx#9511101</link><pubDate>Thu, 26 Mar 2009 18:27:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9511101</guid><dc:creator>Aitor Ibarra</dc:creator><description>&lt;p&gt;Ben - many, many thanks for this. Most of my fixed vhds are created on &amp;quot;virgin&amp;quot; disks - meaning there's no data on them, so need to over-write &amp;nbsp;empty space with zeroes. This will slash provisioning time without the compromise of using a dynamic vhd.&lt;/p&gt;
</description></item><item><title>re: Quick Fixed VHD Creation Tool</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2009/03/25/quick-fixed-vhd-creation-tool.aspx#9511331</link><pubDate>Thu, 26 Mar 2009 20:07:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9511331</guid><dc:creator>Hyper User</dc:creator><description>&lt;p&gt;This is a great tool. Would this feature be available in a future version of Hyper V Manager? Say as an option with the necessary warning?&lt;/p&gt;
</description></item><item><title>re: Quick Fixed VHD Creation Tool</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2009/03/25/quick-fixed-vhd-creation-tool.aspx#9536924</link><pubDate>Wed, 08 Apr 2009 01:54:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9536924</guid><dc:creator>Gavin Raymen</dc:creator><description>&lt;p&gt;Awesome. This will be a massive timesaver.&lt;/p&gt;
</description></item><item><title>re: Quick Fixed VHD Creation Tool</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2009/03/25/quick-fixed-vhd-creation-tool.aspx#9541700</link><pubDate>Fri, 10 Apr 2009 01:50:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9541700</guid><dc:creator>Jim L</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I posted this on the vhdtool webpage:&lt;/p&gt;
&lt;p&gt;&amp;quot;I just tried this tool, using the command line above for creating a 10GB fixed VHD. On the host, I got a 10GB .vhd. I use a partitioning tool, Bootit NG (&lt;a rel="nofollow" target="_new" href="http://www.terabyteunlimited.com"&gt;http://www.terabyteunlimited.com&lt;/a&gt;) which can boot from floppy and do things like resizing partitions. So, I pointed a VMC to the new VHD, and booted with a Bootit NG floppy image, which took me to Bootit NG. I had intended to use Bootit NG to resize a partition, but when I look at the VHD in Bootit NG &amp;quot;Partition Work&amp;quot;, instead of a 10GB &amp;quot;HD0&amp;quot;, I had an ~130GB &amp;quot;drive&amp;quot;! Is it because this tool doesn't zero out the data and so Bootit NG is getting confused about the partition sizes? Any ideas about why this might be?&amp;quot;&lt;/p&gt;
&lt;p&gt;I also posted about the problem on Terabyte Unlimited's support newsgroup, and the response I got was:&lt;/p&gt;
&lt;p&gt;&amp;quot;BING just uses what the BIOS reports.&amp;quot;&lt;/p&gt;
&lt;p&gt;so, apparently, with a VHD created using vhdtool, the VPC guest's BIOS is reporting, in my case, 130GB.&lt;/p&gt;
&lt;p&gt;Any idea why that might be and how to work around the problem?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
</description></item><item><title>re: Quick Fixed VHD Creation Tool</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2009/03/25/quick-fixed-vhd-creation-tool.aspx#9541766</link><pubDate>Fri, 10 Apr 2009 02:25:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9541766</guid><dc:creator>Jim L</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I just tried it again. &amp;nbsp;I used this command to create the VHD:&lt;/p&gt;
&lt;p&gt;P:\foo&amp;gt;VhdTool.exe /create &amp;quot;p:\foo\foo.vhd&amp;quot; 10737418240&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: Creating new fixed format VHD with name &amp;quot;p:\foo\foo.vhd&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: Attempting to create file &amp;quot;p:\foo\foo.vhd&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: Created file &amp;quot;p:\foo\foo.vhd&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: Set the file length&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: Set the valid data length&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: VHD footer generated.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: VHD footer appended.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: VHD header area cleared.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: Complete&lt;/p&gt;
&lt;p&gt;P:\foo&amp;gt;dir&lt;/p&gt;
&lt;p&gt; Volume in drive P is WD120GB&lt;/p&gt;
&lt;p&gt; Volume Serial Number is EC15-9FC3&lt;/p&gt;
&lt;p&gt; Directory of P:\foo&lt;/p&gt;
&lt;p&gt;04/09/2009 &amp;nbsp;06:52 PM &amp;nbsp; &amp;nbsp;&amp;lt;DIR&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/p&gt;
&lt;p&gt;04/09/2009 &amp;nbsp;06:52 PM &amp;nbsp; &amp;nbsp;&amp;lt;DIR&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;..&lt;/p&gt;
&lt;p&gt;04/09/2009 &amp;nbsp;06:52 PM &amp;nbsp; &amp;nbsp;10,737,418,752 foo.vhd&lt;/p&gt;
&lt;p&gt;So, the foo.vhd is 10GB on the physical drive.&lt;/p&gt;
&lt;p&gt;When I boot into the BING from floppy, BING shows HD0 with an empty area of 130552 MB of free space.&lt;/p&gt;
&lt;p&gt;If I go to the VPC guest's BIOS at boot, it says:&lt;/p&gt;
&lt;p&gt;Device &amp;nbsp; &amp;nbsp;: Hard Disk&lt;/p&gt;
&lt;p&gt;Vendor &amp;nbsp; &amp;nbsp;: Virtual HD&lt;/p&gt;
&lt;p&gt;Size &amp;nbsp; &amp;nbsp; &amp;nbsp;: 136.9GB&lt;/p&gt;
&lt;p&gt;LBA Mode &amp;nbsp;: Supported&lt;/p&gt;
&lt;p&gt;Block Mode: 128Sectors&lt;/p&gt;
&lt;p&gt;PIO Mode &amp;nbsp;: 4&lt;/p&gt;
&lt;p&gt;Async DMA : MultiWord DMA-2&lt;/p&gt;
&lt;p&gt;So, it definitely looks like the guest's BIOS thinks that it's a 130GB drive.&lt;/p&gt;
&lt;p&gt;Any ideas how to fix this problem?&lt;/p&gt;
</description></item><item><title>re: Quick Fixed VHD Creation Tool</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2009/03/25/quick-fixed-vhd-creation-tool.aspx#9542231</link><pubDate>Fri, 10 Apr 2009 06:28:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9542231</guid><dc:creator>Jim L</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I created a smaller VHD so that I could see it in a hex editor:&lt;/p&gt;
&lt;p&gt;P:\foo&amp;gt;VhdTool.exe /create &amp;quot;p:\foo\foo.vhd&amp;quot; 13631488&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: Creating new fixed format VHD with name &amp;quot;p:\foo\foo.vhd&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: Attempting to create file &amp;quot;p:\foo\foo.vhd&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: Created file &amp;quot;p:\foo\foo.vhd&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: Set the file length&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: Set the valid data length&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: VHD footer generated.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: VHD footer appended.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: VHD header area cleared.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status: Complete&lt;/p&gt;
&lt;p&gt;and then I used VPC2007's VHD wizard to create the same size VHD, foo1.vhd.&lt;/p&gt;
&lt;p&gt;Looking a foo.vhd vs. foo1.vhd, it looks like the &amp;quot;Disk Geometry&amp;quot; in the footer is different:&lt;/p&gt;
&lt;p&gt;foo.vhd (created by vhdtool.exe):&lt;/p&gt;
&lt;p&gt;0x34D3103F&lt;/p&gt;
&lt;p&gt;foo1.vhd (created by VPC2007 wizard):&lt;/p&gt;
&lt;p&gt;0x01870411&lt;/p&gt;
&lt;p&gt;Why is the &amp;quot;Disk Geometry&amp;quot; in the footer in the VHD created by vhdtool.exe different?&lt;/p&gt;
</description></item><item><title>re: Quick Fixed VHD Creation Tool</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2009/03/25/quick-fixed-vhd-creation-tool.aspx#9542302</link><pubDate>Fri, 10 Apr 2009 07:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9542302</guid><dc:creator>Jim L</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;BTW, I just tried another test, creating a 5GB+ VHD, then installed Win2K. &amp;nbsp;Disk Management (in Computer Management) sees Disk 0 as a 127.49GB drive!!&lt;/p&gt;
&lt;p&gt;So, it's not just Bootit NG that thinks that the vhdtool-created VHD is a 130GB drive... &amp;nbsp;Win2K Disk Management also sees a 130GB drive :(...&lt;/p&gt;
</description></item><item><title>re: Quick Fixed VHD Creation Tool</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2009/03/25/quick-fixed-vhd-creation-tool.aspx#9542313</link><pubDate>Fri, 10 Apr 2009 07:08:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9542313</guid><dc:creator>JIm L</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm wondering, has anyone actually used vhdtool.exe to create a VHD, and then installed, say, Win2K on the VHD, and had Win2K report the &amp;quot;correct&amp;quot; disk size?&lt;/p&gt;
</description></item></channel></rss>