<?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>info.michael-simons.eu &#187; VirtualBox</title>
	<atom:link href="http://info.michael-simons.eu/tag/virtualbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://info.michael-simons.eu</link>
	<description>Just another nerd blog</description>
	<lastBuildDate>Wed, 08 Feb 2012 10:26:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>From Parallels Desktop to VirtualBox</title>
		<link>http://info.michael-simons.eu/2008/01/07/from-parallels-desktop-to-virtualbox/</link>
		<comments>http://info.michael-simons.eu/2008/01/07/from-parallels-desktop-to-virtualbox/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 09:54:59 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://info.michael-simons.eu/2008/01/07/from-parallels-desktop-to-virtualbox/</guid>
		<description><![CDATA[For backup and testing purpose i keep a virtualized version of my webserver running under Parallels Desktop for Mac on my mac. Recently Dell had some very convenient offers on their PowerEdge machines and i could barely resist to buy one, but finally, i managed to: cut the crap, i don&#8217;t want to have even [...]]]></description>
			<content:encoded><![CDATA[<p>For backup and testing purpose i keep a virtualized version of my webserver running under <a href="http://www.parallels.com/en/products/desktop/">Parallels Desktop for Mac</a> on my mac.</p>
<p>Recently Dell had some very convenient offers on their PowerEdge machines and i could barely resist to buy one, but finally, i managed to: cut the crap, i don&#8217;t want to have even more boxes standing around at home.</p>
<p>But i was thinking again: Whats better than one backup? Redundant backups <img src='http://info.michael-simons.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So i downloaded a copy of <a href="http://www.parallels.com/en/products/workstation/">Parallels Workstation</a> to install it on my PC at work. Equipt with a DVD and my image file from Parallels Desktop, i fired up the PC Version and after fiddling around with some pathes i can confirm that the Parallels Desktop 3.x vms are compatible with Parallels Workstation 2.x vms, at least a vm with a Debian OS inside.</p>
<p>But to me, performance was poor. My mac is a 2Ghz Core2Duo Mac Book with 3GB Ram, my Pc is a 2.66 Core2Duo Dell with 2GB Ram and Parallels Workstation was way slower on the PC than unter OS X. In addition: I didn&#8217;t want to spend another 50$ for Parallels (i already bought versions 2 and 3 for Mac, should be enough), so i thought about alternatives on my PC running Windows XP as host.</p>
<p>I already knew about <a href="http://fabrice.bellard.free.fr/qemu/">QEMU</a> which in contrast to Parallels and VMWare is a processor emulator and not a virtualization tool and therefore must be slower. I recommend the <a href="http://www.davereyn.co.uk/download.htm">QEMU Manager</a> for Windows Users, as this thingy already contains the kqemu virtualization extension.</p>
<p>Installation is dead simple and to my surprise, it was enough to convert my Parallels extending image with the Parallels Image Tool to a plain disk which i could use without further changes with QEMU.</p>
<p>Debian is very stable against the few &#8220;hardware&#8221; changes. The only problem i had that Debian wouldn&#8217;t find my eth0 device although the Realtek 8139too module was loaded. Solutions: The ethxxx devices are bound to the hardware (mac) address. I could look up the mac address in the Parallels configuration file, add this number in the QEMU config and voila, everything was up and running.</p>
<p>Somewhat complicated is bridged networking with QEMU. First you need the TAP-Win32 driver which is brought to you by the great <a href="http://openvpn.net/">OpenVPN</a> project. The most simple way to install is through <a href="http://openvpn.se/">OpenVPN Gui for Windows</a>.</p>
<p>After install add a new TAP device through the startmenu entry and then, the clou: There are some howtos which recommend enable bridged networking through the Internet Connection Sharing facilities of windows but it&#8217;s much simpler than that: Under network connections, select your default LAN Connection, the tap device, right click and choose bridge networks.</p>
<p>After that, change the network mode in your QEMU vm from user networking to tap networking and you&#8217;re ready to go.</p>
<p>Performance was quite good (at least at Parallels speed) but i guessed, there was room for more so i look for VMWare. Unfortunately, the QEMU image tool qemu-img.exe repeatedly crashed while converting my Parallels Image to the vmdk format so this was a dead end for me.</p>
<p>Although the Parallels image worked fine with QEMU and later on also in our <a href="/2007/12/12/installing-oracle-vm-server/">Oracle VM Server</a> as a hw virtualized XEN machine, i was not content and i looked out for <a href="http://www.virtualbox.org/">VirtualBox</a> which is available under a GPL license without USB support which i don&#8217;t need, but is able to use Intel VT-x and AMD-V technology. </p>
<p>I needed to convert the Parallels image from a raw disk format to innoteks vdi format, following the steps explained <a href="http://liquidat.wordpress.com/2007/11/23/howto-transform-a-qemu-image-to-a-virtualbox-image/">here</a>.</p>
<p>All the tools mentioned there are also available under a Windows installation of QEMU and Virtualbox. Commands as follow:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">qemu-img.exe convert foobar.hdd foobar.bin
VBoxManage.exe convertdd foobar.bin foobar.vdi</pre></div></div>

<p>For bridged networking unter VirtualBox the same applies as to QEMU without the need for OpenVPN, you can add a TAP device right from within VirtualBox . If you already have the bridged described above, you can add the VirtualBox interface with a right click to that bridge. Also, to have Debian not change the eth number, add the same mac address in the network tap of VirtualBox.</p>
<p>All this said and done, booting the system was blazing fast and also the backup of my <a href="http://dailyfratze.de">Daily Fratze</a> project which is pulled via rsync from my server, runs extremly smooth and i have absolutely no hassle setting up Ruby on Rails, RMagick and MySQL under the Windows &#8220;Operating System&#8221; but can use Debian or any other distro with a sane environment. </p>
<p>After fiddling around with both VMWare and VirtualBox, i&#8217;d prefer VirtualBox over VMWare Server (which is also available for free {i.e. for giving VMWare your personal data}). VirtualBox has less overhead then VMWare Server, is simple to configure and as i said, amazingly fast. </p>
<p>When the OS X version leaves beta, i&#8217;ll switch from Parallels on my Mac to VirtualBox, at least for my server live backup, so i can make it redundant with the one some kilometres away (call me paranoid if you like) at my workplaces PC.</p>
<p class="akst_link"><a href="http://info.michael-simons.eu/?p=138&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_138" class="akst_share_link " rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://info.michael-simons.eu/2008/01/07/from-parallels-desktop-to-virtualbox/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.479 seconds -->

