<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Re-sizing a VirtualBox Virtual Disk Image File</title>
	<atom:link href="http://www.modhul.com/2008/10/21/re-sizing-a-virtualbox-virtual-disk-image-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.modhul.com/2008/10/21/re-sizing-a-virtualbox-virtual-disk-image-file/</link>
	<description>Experiences of a UK BizTalk Consultant</description>
	<lastBuildDate>Wed, 10 Mar 2010 09:16:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jul</title>
		<link>http://www.modhul.com/2008/10/21/re-sizing-a-virtualbox-virtual-disk-image-file/comment-page-2/#comment-1276</link>
		<dc:creator>Jul</dc:creator>
		<pubDate>Tue, 02 Mar 2010 03:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/?p=317#comment-1276</guid>
		<description>Hi All,
I&#039;ve tested on 2008 R2, and I&#039;ve also encountered with the &quot;BOOTMGR is missing error&quot;. Just wanted to share how i resolve the issue and the image is working perfectly fine for me. The following steps from http://www.binarywar.com/ resolves my issue:-

1. Put in the 2008 R2 installation cd
2. In the System Recovery Options dialog box, click Command Prompt
3. Type Bootrec /RebuildBcd, and then press ENTER. 
4. If the Bootrec.exe tool runs successfully, it presents you with an installation path of a Windows directory. To add the entry to the BCD store, type Yes. A 
5. Next, I booted the server from a Windows 7 ISO and ran the Startup Repair option.
6. After running the startup repair, on the first boot, do let the check disk run. After which, you are able to logon to your Windows 2008 R2 server as per normal with your storage size enlarge.

Hope this helps for those with 2008 R2. :)</description>
		<content:encoded><![CDATA[<p>Hi All,<br />
I&#8217;ve tested on 2008 R2, and I&#8217;ve also encountered with the &#8220;BOOTMGR is missing error&#8221;. Just wanted to share how i resolve the issue and the image is working perfectly fine for me. The following steps from <a href="http://www.binarywar.com/" rel="nofollow">http://www.binarywar.com/</a> resolves my issue:-</p>
<p>1. Put in the 2008 R2 installation cd<br />
2. In the System Recovery Options dialog box, click Command Prompt<br />
3. Type Bootrec /RebuildBcd, and then press ENTER.<br />
4. If the Bootrec.exe tool runs successfully, it presents you with an installation path of a Windows directory. To add the entry to the BCD store, type Yes. A<br />
5. Next, I booted the server from a Windows 7 ISO and ran the Startup Repair option.<br />
6. After running the startup repair, on the first boot, do let the check disk run. After which, you are able to logon to your Windows 2008 R2 server as per normal with your storage size enlarge.</p>
<p>Hope this helps for those with 2008 R2. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boyan Boychev</title>
		<link>http://www.modhul.com/2008/10/21/re-sizing-a-virtualbox-virtual-disk-image-file/comment-page-2/#comment-1270</link>
		<dc:creator>Boyan Boychev</dc:creator>
		<pubDate>Sun, 14 Feb 2010 20:09:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/?p=317#comment-1270</guid>
		<description>Hi all,

If your root partition is lvm type and you are using LVM try this out:
--------------------------------------------------------------------------------------------------------------------------------------------
Use LiveCD with dd and fdisk utilities:
----------------------------------------
1) dd if=/dev/hda of=/dev/hdb # /dev/hda - old disk with smaller size, /dev/hdb - new disk with bigger size
2) fdisk -u /dev/hdb
3) Steps from 2) to 6) (incl.) described here - http://www.linuxquestions.org/questions/fedora-35/lvm-partition-resizing-666683/#post3281556
4) Shutdown the Virtual machine and remove the old disk and the LiveCD from the virtual CDROM
 
After the shutdown, boot the system normally (only with the new disk and without the LiveCD):
---------------------------------------------------------------------------------------------
5) pvdisplay -v # Checks the PV name (e.g. /dev/hda2)
6) pvresize --verbose /dev/hda2
7) vgdisplay -v # Checks the Free PE (e.g. 384)
8) lvextend -l+384 /dev/VolGroup00/LogVol00
9) resize2fs /dev/VolGroup00/LogVol00
10) Наздраве!
--------------------------------------------------------------------------------------------------------------------------------------------

Tested with VM:
CentOS release 5.4 (Final)
kernel-2.6.18-164.11.1.el5
lvm2-2.02.46-8.el5_4.2

Don&#039;t do that on production systems but better create a new partition with fdisk and a new PV, extend the existing VG and LV after that (see http://www.linuxquestions.org/questions/fedora-35/lvm-partition-resizing-666683/#post3281556).

Be sure that you have a backup!!!

Best Regards,

Boyan Boychev
Bulgaria</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>If your root partition is lvm type and you are using LVM try this out:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Use LiveCD with dd and fdisk utilities:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
1) dd if=/dev/hda of=/dev/hdb # /dev/hda &#8211; old disk with smaller size, /dev/hdb &#8211; new disk with bigger size<br />
2) fdisk -u /dev/hdb<br />
3) Steps from 2) to 6) (incl.) described here &#8211; <a href="http://www.linuxquestions.org/questions/fedora-35/lvm-partition-resizing-666683/#post3281556" rel="nofollow">http://www.linuxquestions.org/questions/fedora-35/lvm-partition-resizing-666683/#post3281556</a><br />
4) Shutdown the Virtual machine and remove the old disk and the LiveCD from the virtual CDROM</p>
<p>After the shutdown, boot the system normally (only with the new disk and without the LiveCD):<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
5) pvdisplay -v # Checks the PV name (e.g. /dev/hda2)<br />
6) pvresize &#8211;verbose /dev/hda2<br />
7) vgdisplay -v # Checks the Free PE (e.g. 384)<br />
8) lvextend -l+384 /dev/VolGroup00/LogVol00<br />
9) resize2fs /dev/VolGroup00/LogVol00<br />
10) Наздраве!<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Tested with VM:<br />
CentOS release 5.4 (Final)<br />
kernel-2.6.18-164.11.1.el5<br />
lvm2-2.02.46-8.el5_4.2</p>
<p>Don&#8217;t do that on production systems but better create a new partition with fdisk and a new PV, extend the existing VG and LV after that (see <a href="http://www.linuxquestions.org/questions/fedora-35/lvm-partition-resizing-666683/#post3281556)" rel="nofollow">http://www.linuxquestions.org/questions/fedora-35/lvm-partition-resizing-666683/#post3281556)</a>.</p>
<p>Be sure that you have a backup!!!</p>
<p>Best Regards,</p>
<p>Boyan Boychev<br />
Bulgaria</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Heppleston</title>
		<link>http://www.modhul.com/2008/10/21/re-sizing-a-virtualbox-virtual-disk-image-file/comment-page-2/#comment-1265</link>
		<dc:creator>Nick Heppleston</dc:creator>
		<pubDate>Tue, 09 Feb 2010 20:39:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/?p=317#comment-1265</guid>
		<description>Paul,

Many thanks for the feedback on the OpenSolaris host.

Cheers, Nick.</description>
		<content:encoded><![CDATA[<p>Paul,</p>
<p>Many thanks for the feedback on the OpenSolaris host.</p>
<p>Cheers, Nick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.modhul.com/2008/10/21/re-sizing-a-virtualbox-virtual-disk-image-file/comment-page-2/#comment-1264</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 09 Feb 2010 15:17:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/?p=317#comment-1264</guid>
		<description>Excellent post, Nick.  Just an FYI, I&#039;m running openSolaris as the host with multiple Windows VMs and this works fine with that configuration as well.</description>
		<content:encoded><![CDATA[<p>Excellent post, Nick.  Just an FYI, I&#8217;m running openSolaris as the host with multiple Windows VMs and this works fine with that configuration as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gnana</title>
		<link>http://www.modhul.com/2008/10/21/re-sizing-a-virtualbox-virtual-disk-image-file/comment-page-2/#comment-1261</link>
		<dc:creator>Gnana</dc:creator>
		<pubDate>Mon, 08 Feb 2010 13:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/?p=317#comment-1261</guid>
		<description>Beautiful! Thank you. Just one addition, when started for the first time windows does a disk scan....</description>
		<content:encoded><![CDATA[<p>Beautiful! Thank you. Just one addition, when started for the first time windows does a disk scan&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ion Freeman</title>
		<link>http://www.modhul.com/2008/10/21/re-sizing-a-virtualbox-virtual-disk-image-file/comment-page-2/#comment-1253</link>
		<dc:creator>Ion Freeman</dc:creator>
		<pubDate>Thu, 04 Feb 2010 21:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/?p=317#comment-1253</guid>
		<description>Actually, they didn&#039;t really turn out to be issues at all.  I copied over hda1 then hda2 -- they didn&#039;t overlap.
Shutting down gparted took far longer than I had expected, with many message list</description>
		<content:encoded><![CDATA[<p>Actually, they didn&#8217;t really turn out to be issues at all.  I copied over hda1 then hda2 &#8212; they didn&#8217;t overlap.<br />
Shutting down gparted took far longer than I had expected, with many message list</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ion Freeman</title>
		<link>http://www.modhul.com/2008/10/21/re-sizing-a-virtualbox-virtual-disk-image-file/comment-page-2/#comment-1252</link>
		<dc:creator>Ion Freeman</dc:creator>
		<pubDate>Thu, 04 Feb 2010 19:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/?p=317#comment-1252</guid>
		<description>I&#039;m having the same issue as Paul. I open gparted on a Windows 7 image to see three partitions, 
unallocated                   1.00 MiB
/dev/hda1   System Reserved 100.00 MiB boot
/dev/hda2                     9.90 GiB 

I feel like I could live without &#039;unallocated,&#039; but I don&#039;t seem to be able to copy both of the others at once, and I&#039;ll take Paul&#039;s word for it that copying them sequentially won&#039;t work. How do I proceed?</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same issue as Paul. I open gparted on a Windows 7 image to see three partitions,<br />
unallocated                   1.00 MiB<br />
/dev/hda1   System Reserved 100.00 MiB boot<br />
/dev/hda2                     9.90 GiB </p>
<p>I feel like I could live without &#8216;unallocated,&#8217; but I don&#8217;t seem to be able to copy both of the others at once, and I&#8217;ll take Paul&#8217;s word for it that copying them sequentially won&#8217;t work. How do I proceed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IPityTheWise</title>
		<link>http://www.modhul.com/2008/10/21/re-sizing-a-virtualbox-virtual-disk-image-file/comment-page-2/#comment-1245</link>
		<dc:creator>IPityTheWise</dc:creator>
		<pubDate>Mon, 01 Feb 2010 01:28:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/?p=317#comment-1245</guid>
		<description>Excellent HOWTO!!!!!!

I forgot to expand the gui of my copied vdi. So I initially had the VDI + 40 Gigs of unallocated space. I went back in, expanded the GUI and voila!!!! Instant resized drive. 

Lesson: READ THE ENTIRE POST FIRST. Don&#039;t skim through it. If you brick your drive(s), you will have wished you had.

AGain, Great HOWTO...thanks a million!</description>
		<content:encoded><![CDATA[<p>Excellent HOWTO!!!!!!</p>
<p>I forgot to expand the gui of my copied vdi. So I initially had the VDI + 40 Gigs of unallocated space. I went back in, expanded the GUI and voila!!!! Instant resized drive. </p>
<p>Lesson: READ THE ENTIRE POST FIRST. Don&#8217;t skim through it. If you brick your drive(s), you will have wished you had.</p>
<p>AGain, Great HOWTO&#8230;thanks a million!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan C</title>
		<link>http://www.modhul.com/2008/10/21/re-sizing-a-virtualbox-virtual-disk-image-file/comment-page-2/#comment-1240</link>
		<dc:creator>Ryan C</dc:creator>
		<pubDate>Tue, 26 Jan 2010 02:28:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/?p=317#comment-1240</guid>
		<description>Nick, 

This post was excellent.  I was linked here from www.ubuntuforums.org, and was happy they knew of this gem.  I just followed the steps one by one (some parts are outdated with the current version of VirtualBox), but all in all, it worked beautifully.  I just rebooted, and was now finally able to finish the XP updates on my virtual install.</description>
		<content:encoded><![CDATA[<p>Nick, </p>
<p>This post was excellent.  I was linked here from <a href="http://www.ubuntuforums.org" rel="nofollow">http://www.ubuntuforums.org</a>, and was happy they knew of this gem.  I just followed the steps one by one (some parts are outdated with the current version of VirtualBox), but all in all, it worked beautifully.  I just rebooted, and was now finally able to finish the XP updates on my virtual install.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xavier</title>
		<link>http://www.modhul.com/2008/10/21/re-sizing-a-virtualbox-virtual-disk-image-file/comment-page-2/#comment-1105</link>
		<dc:creator>Xavier</dc:creator>
		<pubDate>Wed, 06 Jan 2010 18:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/?p=317#comment-1105</guid>
		<description>It worked great!
Thanks...</description>
		<content:encoded><![CDATA[<p>It worked great!<br />
Thanks&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
