<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Spind.net Blog &#187; VirtualBox</title>
	<atom:link href="http://blog.spind.net/tag/virtualbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.spind.net</link>
	<description>Stories from the trenches of System Administration</description>
	<lastBuildDate>Mon, 19 Dec 2011 09:21:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Moving disk images from VMWare to VirtualBox</title>
		<link>http://blog.spind.net/2009/07/02/moving-disk-images-from-vmware-to-virtualbox/</link>
		<comments>http://blog.spind.net/2009/07/02/moving-disk-images-from-vmware-to-virtualbox/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 14:34:39 +0000</pubDate>
		<dc:creator>hc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Fedora11]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blog.spind.net/?p=153</guid>
		<description><![CDATA[I couldn&#8217;t find any updated information on this online, so this is my ultra short guide to converting VMWare disk images to VirtualBox. This is tested with VirtualBox 3.0.0 under Fedora 11. Step one is to concatenate fragmented VMWare images. This might not me necessary in your case, but we&#8217;ll do it anyway. Let&#8217;s assume [...]]]></description>
			<content:encoded><![CDATA[<p>I couldn&#8217;t find any updated information on this online, so this is my ultra short guide to converting VMWare disk images to VirtualBox. This is tested with VirtualBox 3.0.0 under Fedora 11.</p>
<p>Step one is to concatenate fragmented VMWare images. This might not me necessary in your case, but we&#8217;ll do it anyway. Let&#8217;s assume the image you want to convert is called <tt>leopard-fragmented.vmdk</tt>:</p>
<div class="codebox">
vdiskmanager -r leopard-fragmented.vmdk leopard.vmdk
</div>
<p>Now you&#8217;re got a rather huge VMWare disk image file, and we&#8217;ll use <tt>qemu</tt> to convert it into a raw disk image:</p>
<div class="codebox">
qemu-img convert leopard.vmdk leopard.bin
</div>
<p>This will take a while, and you&#8217;ll probably end up with a less-than-huge file since this is the raw file, without any fancy compression. Now you&#8217;ll want to convert this to the VirtualBox disk format, <tt>vdi</tt>:</p>
<div class="codebox">
VBoxManage convertfromraw leopard.bin leopard.vdi
</div>
<p>The <tt>vdi</tt> ended up being around 7GB &#8211; more or less the exact size of the <tt>vmdk</tt> file. The temporary <tt>bin</tt> file was 32GB though. Be sure you&#8217;re got enough room on your disk for this job.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.spind.net/2009/07/02/moving-disk-images-from-vmware-to-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 5 (64) on Sun VirtualBox on Fedora 10 (64)</title>
		<link>http://blog.spind.net/2009/05/21/centos-5-64-on-sun-virtualbox-on-fedora-10-64/</link>
		<comments>http://blog.spind.net/2009/05/21/centos-5-64-on-sun-virtualbox-on-fedora-10-64/#comments</comments>
		<pubDate>Thu, 21 May 2009 14:20:32 +0000</pubDate>
		<dc:creator>hc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://blog.spind.net/?p=141</guid>
		<description><![CDATA[I&#8217;ve been playing around with Sun VirtualBox. Installation of both Windows XP and CentOS 5 went smooth, but installing the guest OS tweaks &#8211; in the VirtualBox world referred to as Additions &#8211; gave me a little trouble on CentOS. It&#8217;s done the same way as on VMWare, by mounting an ISO with the scripts [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing around with <a href="http://www.virtualbox.org/">Sun VirtualBox</a>. Installation of both Windows XP and CentOS 5 went smooth, but installing the guest OS tweaks &#8211; in the VirtualBox world referred to as <em>Additions</em> &#8211; gave me a little trouble on CentOS. It&#8217;s done the same way as on VMWare, by mounting an ISO with the scripts and drivers required. It&#8217;s not as painless as on VMWare though.</p>
<p>For starters, you have to find the ISO yourself &#8211; but I&#8217;ll give you a hint: look in <tt>/usr/share/virtualbox/</tt> <img src='http://blog.spind.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  After mounting the ISO image, a directory popped up. I tried double clicking on <tt>autorun.sh</tt> but nothing ever comes easy, does it? I tried running it in the terminal, and was somewhat enlightened as I realized it was looking in vain for <tt>gksu</tt> &#8211; probably a Gnome frontend for <tt>su</tt>. Luckily there seemed to be another script I could run &#8211; <tt>VBoxLinuxAdditions-amd64.run</tt> &#8211; but it whined about OpenGL direct rendering:</p>
<div class="codebox">
Verifying archive integrity&#8230; All good.<br />
Uncompressing VirtualBox 2.2.2 Guest Additions for Linux Installation&#8230;&#8230;<br />
VirtualBox 2.2.2 Guest Additions installation<br />
Please install the build and header files for your current Linux kernel.<br />
The current kernel version is 2.6.18-128.el5<br />
This system does not seem to have support for OpenGL direct rendering.<br />
VirtualBox requires Linux 2.6.27 or later for this.  Please see the log.<br />
file /var/log/vboxadd-install.log if your guest uses Linux 2.6.27 and you still see this message.<br />
Problems were found which would prevent the Guest Additions from installing.<br />
Please correct these problems and try again.
</div>
<p>Before I ran the script, I made sure the newly installed CentOS was crispy by running <tt>yum upgrade</tt>. I also had a sneaking suspicion that a C compiler was required, so I made sure the system also sported <tt>gcc</tt>. The only thing I personally noticed by reading the message above, was that some missing OpenGL crap prevented the additions to be installed. As I was typing the message in this blog, I also noticed something about kernel headers. Rather embarrassing, but I really didn&#8217;t see it until now. Anyway, obviously the thing needed was kernel goodness, so I ran <tt>yum install kernel-devel</tt>. That seemed to make the VirtualBox additions script more happy and now it seems to be running flawlessly.</p>
<p>So, to summarize &#8211; what to do to make the damned thing work:</p>
<div class="codebox">
$ yum upgrade -y<br />
$ yum install -y gcc kernel-devel<br />
$ ln -s /usr/src/kernels/2.6.18-128.1.10.el5-i686 /usr/src/linux<br />
$ cd /media/VBOXADDITIONS_2.2.2_46594/<br />
$ sh VBoxLinuxAdditions-amd64.run
</div>
<p>I rebooted as I was told to, but mouse integration didn&#8217;t seem to work. Probably due to the kernel being upgraded without rebooting and actually utilizing it. So, I ran the additions script again, rebooted again and woo &#8211; mouse integration seems to work. The clipboard doesn&#8217;t though, and the maching is still creating some really nasty spikes on my CPU graph every three seconds or so:</p>
<p><a href="/uploads/2009/05/VirtualBox-CPUUsage1.png"><img src="/uploads/2009/05/VirtualBox-CPUUsage1-600x497.png" alt="VirtualBox-CPUUsage" title="VirtualBox-CPUUsage" width="600" height="497" class="alignnone size-medium wp-image-146" /></a></p>
<p>It&#8217;s worth mentioning that when I&#8217;m running my Windows XP guest in VirtualBox, the CPU graphs on the host system are nice and flat.</p>
<p>I&#8217;m not entirely pleased, but I think VirtualBox will eventually win me over from VMWare.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.spind.net/2009/05/21/centos-5-64-on-sun-virtualbox-on-fedora-10-64/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

