<?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>The HyRax Macrocosm &#187; Virtualbox</title>
	<atom:link href="http://www.serenux.com/tag/virtualbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.serenux.com</link>
	<description>Life, the Universe and Ubuntu.</description>
	<lastBuildDate>Mon, 21 Jun 2010 10:45:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>HowTo: Fix Virtualbox not allowing you to attach USB devices to your virtual machines.</title>
		<link>http://www.serenux.com/2010/01/howto-fix-virtualbox-not-allowing-you-to-attach-usb-devices-to-your-virtual-machines/</link>
		<comments>http://www.serenux.com/2010/01/howto-fix-virtualbox-not-allowing-you-to-attach-usb-devices-to-your-virtual-machines/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 12:29:30 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtualbox]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=677</guid>
		<description><![CDATA[Virtualbox is a great desktop virtualisation tool, but one of its annoying installation niggles is that when you setup and run a virtual machine you can&#8217;t attach any USB devices to it at all because all your USB options in Virtualbox are greyed out. There are a raft of different solutions to this problem out [...]]]></description>
			<content:encoded><![CDATA[<p>Virtualbox is a great desktop virtualisation tool, but one of its annoying installation niggles is that when you setup and run a virtual machine you can&#8217;t attach any USB devices to it at all because all your USB options in Virtualbox are greyed out.</p>
<p>There are a raft of different solutions to this problem out there ranging from adding an extra line to the <em>/etc/fstab</em> file to modifying your udev rules, but the real cause of this problem is simply that your login name does not have <em>permission</em> to access Virtualbox&#8217;s USB driver which interfaces itself between the VM&#8217;s virtual USB hardware and your real USB stack.</p>
<p><span id="more-677"></span></p>
<p>During the initial installation process, Virtualbox sets up a new group called <em>vboxusers</em>, but it doesn&#8217;t put your login name into it. Since using USB in Virtualbox occurs at the device level, your normal user permissions that allow you to run up virtual machines in general are not enough to manipulate Virtualbox&#8217;s USB driver. As a result, you cannot tell Virtualbox to attach a given USB device to your virtual machine.</p>
<p>Like most things, this is easily fixed of course.</p>
<ol>
<li>If your login name is <em>johndoe</em>, all you need to do is jump into a terminal and type in:
<pre><span style="color: #000080;">$ sudo adduser johndoe vboxusers</span></pre>
<p>&#8230;which will add the user <em>johndoe</em> to the <em>vboxusers</em> group.<br />
.</li>
<li>Now close all applications and windows, and log yourself out of Ubuntu. You don&#8217;t need to reboot, but you can if you&#8217;re the kind of person who enjoys the subtle pleasures of watching your PC start up.<br />
.</li>
<li>Log yourself back in again as normal. This will read in your new group membership.<br />
.</li>
<li>Fire up Virtualbox and start your virtual machine(s) as normal. You will now find that you can attach USB devices to all your VM&#8217;s via the Virtualbox <em>Devices</em> menu without any further ado.<br />
.</li>
<li>Pat yourself on the back &#8211; you&#8217;re done. <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p>Until Sun Microsystems modify the deb installer to add the current login to the <em>vboxusers</em> group during install, these instructions should apply to just about any version of Virtualbox sporting the problem, on any Linux distro.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2010/01/howto-fix-virtualbox-not-allowing-you-to-attach-usb-devices-to-your-virtual-machines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New server!</title>
		<link>http://www.serenux.com/2009/09/new-server/</link>
		<comments>http://www.serenux.com/2009/09/new-server/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 05:46:53 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Comment]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtualbox]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=627</guid>
		<description><![CDATA[I finally got around to upgrading the server that serves this very page you&#8217;re reading to Ubuntu Jaunty today, up from Ubuntu Hardy. Yes I know, maybe I should have waited for Karmic, or even Lucid, but the biggest reason why I did this was that I&#8217;ve migrated this server from the little Pentium 4 [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got around to upgrading the server that serves this very page you&#8217;re reading to Ubuntu Jaunty today, up from Ubuntu Hardy. Yes I know, maybe I should have waited for Karmic, or even Lucid, but the biggest reason why I did this was that I&#8217;ve migrated this server from the little Pentium 4 Shuttle XPC that was in use before onto a Virtualbox 3.0.6 headless VM hosted on an Ubuntu Jaunty box running on top of an Intel E5200 CPU.</p>
<p>You&#8217;re probably wondering why I&#8217;d use an E5200 when it doesn&#8217;t have hardware virtualisation features built in? Well, the server consumes very little juice compared to the Pentium 4 (26% less in fact), it&#8217;s more powerful, it&#8217;s cheap, cheerful, produces less ambient heat, is a heck of a lot quieter and there&#8217;s loads of CPU time left over to do other things outside of the VM on the host side.</p>
<p>CPU wise, when the server gets really busy I&#8217;ve seen spikes as high as 50%, but it never exceeds that, so as far as I&#8217;m concerned, it&#8217;s fine. If I ever need this box to do anything more significant, I&#8217;ll upgrade the CPU to something that does have VT-x later on.</p>
<p>If you see anything unusual/missing/dead from today onwards, please let me know in a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2009/09/new-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtualbox 2.1</title>
		<link>http://www.serenux.com/2008/12/virtualbox-21/</link>
		<comments>http://www.serenux.com/2008/12/virtualbox-21/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 00:15:16 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualbox]]></category>
		<category><![CDATA[Virtualisation]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=238</guid>
		<description><![CDATA[Sun&#8217;s ubiquitous virtualisation application Virtualbox has been updated to version 2.1 and brings with it a number of new additions to warrant a major update, with two of the most interesting new features being 3D acceleration support and Networking changes that negate the need for bridging the host adapter to the guest. If you&#8217;ve already [...]]]></description>
			<content:encoded><![CDATA[<p>Sun&#8217;s ubiquitous virtualisation application Virtualbox has been updated to version 2.1 and brings with it a number of new additions to warrant a major update, with two of the most interesting new features being 3D acceleration support and Networking changes that negate the need for bridging the host adapter to the guest.</p>
<p><span id="more-238"></span>If you&#8217;ve already setup previous versions via the Sun repository, then Virtualbox appears in Synaptic as a completely separate application to previous versions. Generally you uninstall the previous version (preserving your config files) and then install the new version, which automatically performs any upgrading that is required of your config files. Thankfully Synaptic can do the job in one hit, uninstalling selected software prior to installing new selections.</p>
<p><a title="Installing Virtualbox 2.1 via Synaptic" href="http://www.serenux.com/~hyrax/snaps/Virtualbox_Synaptic.jpg" target="_blank"><img title="Installing Virtualbox 2.1 via Synaptic" src="http://www.serenux.com/~hyrax/snaps/Virtualbox_Synaptic_thumb.jpg" alt="Click for full size" /></a><br />
(Click for full size)</p>
<p>Once installed, I was presented with the familiar Virtualbox interface. Nothing has changed here. What has changed is largely under the surface and one or two extra Settings options. For starters, under General-&gt;Basic, we have a new checkbox for enabling 3D acceleration. Theoretically this would allow you to play games and use other accelerated applications within a virtual session, as it would be passed through to your host&#8217;s 3D video card to process. At this stage, this feature is highly experimental and only supports OpenGL currently (no Direct3D), and only supports it under specific guest configurations. This will change in due course, but for now is a welcome addition to Virtualbox.</p>
<p><a title="Virtualbox 3D Acceleration option" href="http://www.serenux.com/~hyrax/snaps/VirtualBox_3DAccelerationOption.jpg" target="_blank"><img title="Virtualbox 3D Acceleration option" src="http://www.serenux.com/~hyrax/snaps/VirtualBox_3DAccelerationOption_thumb.jpg" alt="Click for full size" /></a><br />
(Click for full size)</p>
<p>The second great change that I notice is the complete elimination for the need to use network bridges or TUN/TAP devices to give your Virtual Machine a true connection to your network. It&#8217;s now simply a case of telling your VM to use a Host adapter and then pick a Host adapter from the available list. Very cool.</p>
<p><a title="Virtualbox Host networking option" href="http://www.serenux.com/~hyrax/snaps/VirtualBox_HostNetworkingOption.jpg" target="_blank"><img title="Virtualbox Host networking option" src="http://www.serenux.com/~hyrax/snaps/VirtualBox_HostNetworkingOption_thumb.jpg" alt="Click for full size" /></a><br />
(Click for full size)</p>
<p>Other features in this release:</p>
<ul>
<li>Support for hardware virtualization (VT-x and AMD-V) on Mac OS X hosts</li>
<li>Support for 64-bit guests on 32-bit host operating systems (experimental)</li>
<li>Added support for Intel Nehalem virtualization enhancements (EPT and VPID)</li>
<li>Experimental LsiLogic and BusLogic SCSI controllers</li>
<li>Full VMDK/VHD support including snapshots</li>
<li>New NAT engine with signiﬁcantly better performance, reliability and ICMP echo (ping) support</li>
</ul>
<p>&#8230;and the usual array of bug fixes.</p>
<p>So how does it run?</p>
<p>After initial installation, I ran up my VM install of Windows XP MCE 2005 without changing any of the VM settings and shortly after boot commenced I was met with as Blue Screen of Death. Oh dear, however I wasn&#8217;t completely surprised either &#8211; Windows will complain over the smallest of changes.</p>
<p>Not fussed, I figured I&#8217;d just do a fresh installation of XP Professional with SP3. I decided to give the VM 2GB RAM, 128MB video memory, enabled the SATA controller, enabled 3D acceleration and give it a network card that went through the Host&#8217;s Eth0 adapter (no NAT).</p>
<p>During the graphical component of the installation process, I got this&#8230;</p>
<p><a title="WinXP BSOD" href="http://www.serenux.com/~hyrax/snaps/Virtualbox_XpInstallBSOD.jpg" target="_blank"><img title="Windows XP Professional BSOD during installation" src="http://www.serenux.com/~hyrax/snaps/Virtualbox_XpInstallBSOD_thumb.jpg" alt="Click for full size" /></a><br />
(Click for full size)</p>
<p>Oh dear again&#8230;</p>
<p>So I shutdown the VM and started disabling options one at a time in a bid to see if it was one of the new features that was killing the installation process. I started with the obvious: 3D acceleration. I switched it off and began the install process again. Bang: BSOD again.</p>
<p>OK, so I reduced memory to 1GB and video RAM to 32MB, then restarted the installation process from scratch again. Bang: BSOD again!</p>
<p>Fine, I switched the network config back to a NAT-based setup and restarted the installation process yet again. I made absolutely sure that we were not installing over the top of the old install and that the drive was properly formatted instead of quick-formatted. Another BSOD. What&#8217;s the go here?</p>
<p>I decided to go hard-core. I disabled everything that wasn&#8217;t really necessary: SATA controller, network, audio and USB. This time, when I restarted installation, it successfully got through to the first stage of the graphical installer prompting for the regional and language options! I shutdown the VM.</p>
<p>I changed the VM settings again, re-enabling components one at a time until I got a failure. After some trial and error, I finally had the VM BSOD again when the SATA controller was enabled! Looks like there are some bugs that need to be sorted out there. I left that disabled and continued installing Windows without incident.</p>
<p><a title="Vitualbox WinXP installled" href="http://www.serenux.com/~hyrax/snaps/Virtualbox_FreshXP_Begin_VBGE_Setup.jpg" target="_blank"><img title="Fresh WinXP install, and beginning the Virtualbox Guest Additions installation" src="http://www.serenux.com/~hyrax/snaps/Virtualbox_FreshXP_Begin_VBGE_Setup_thumb.jpg" alt="Click for full size" /></a></p>
<p>Once the Virtualbox Guest Additions were installed, I immediately looked for something OpenGL related &#8211; the screensavers. The OpenGL screensavers such as the FlowerBox ran and rendered well, though there was a slight amount of choppyness to them, but nothing serious. At this stage I figured that the OpenGL works, so when they iron out the bugs, this may get smoother.</p>
<p>I decided to dare to test something a bit more complex, on the expectation that the VM would crash or lockup &#8211; an OpenGL GAME. Since the screensaver suggested that the translation was slow, I decided to go old school and install the original Quake on my XP VM, using ProQuake to render the GL version of it. This is where I got a virtual slap in the face&#8230;</p>
<p>Quake in OpenGL runs perfectly &#8211; fast and smooth! In whatever resolution I throw at it!</p>
<p><a title="Quake running in OpenGL under WinXP virtualised with Virtualbox" href="http://www.serenux.com/~hyrax/snaps/Virtualbox_QuakeGL.jpg" target="_blank"><img title="Quake OpenGL in a virtual session" src="http://www.serenux.com/~hyrax/snaps/Virtualbox_QuakeGL_thumb.jpg" alt="Click for full size" /></a> <a title="Quake running in OpenGL under WinXP virtualised with Virtualbox" href="http://www.serenux.com/~hyrax/snaps/Virtualbox_QuakeGL2.jpg" target="_blank"><img title="Quake OpenGL in a virtual session" src="http://www.serenux.com/~hyrax/snaps/Virtualbox_QuakeGL2_thumb.jpg" alt="Click for full size" /></a><br />
(Click for full size)</p>
<p>I discovered the same with just about every other OpenGL title I threw at it, including Serious Sam 2 and Doom 3 &#8211; all ran at fluid full speed, at whatever resolution. Great stuff, but I did discover one bug &#8211; only in Serious Sam 2, for some reason 10 minutes into gameplay, the video card would just stop &#8211; the monitor would switch off and the machine would lock. I could only get it back by resetting the physical host, and even then the video card still did not initialise again until I power cycled the PC. This wasn&#8217;t a one-off either. I managed to reproduce the bug three times in an hour. But this is a new feature, it&#8217;s off by default because it is experimental, and I have to say that it&#8217;s so far a resounding success. With time, the bugs will be ironed out and we will quite literally be one step closer to banishing the concept of dual-booting Windows on PC&#8217;s for games! I look forward to Sun&#8217;s implementation of DirectX translation.</p>
<p>Outside of all this, I also found that VM&#8217;s generally boot up a bit quicker (especially Win XP guests &#8211; hellishly quick) and that tiny things such as the icons at the bottom-right of each VM window provide slightly clearer information about what is currently being employed.</p>
<p>So 2.1 is indeed a big step up. Sun have made great strides with Virtualbox, and even better still it remains a free (as in beer) product! I can&#8217;t wait for the next release!</p>
<p><strong>EDIT: If you&#8217;d like to see Serious Sam 2 and ProQuake in action in Virtualbox 2.1, I&#8217;ve knocked up a video and stuck it up on YouTube <a title="Video Demo of OpenGL 3D Accelerated Gaming in Virtualbox 2.1" href="http://au.youtube.com/watch?v=XiZyigv_aRc" target="_blank">here</a>.</strong></p>
<div class='wp_likes' id='wp_likes_post-238'><a class='like' href="javascript:wp_likes.like(238);" title='' ><img src="http://www.serenux.com/wp-content/plugins/wp-likes/images/like.gif" alt='' border='0'/>Like</a><span class='text'></span>
<div class='unlike'><a href="javascript:wp_likes.unlike(238);">Unlike</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2008/12/virtualbox-21/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: Install the Virtualbox Guest Additions drivers in Ubuntu Intrepid 8.10 Beta.</title>
		<link>http://www.serenux.com/2008/10/installing-the-virtualbox-guest-additions-drivers-in-ubuntu-intrepid-810-beta/</link>
		<comments>http://www.serenux.com/2008/10/installing-the-virtualbox-guest-additions-drivers-in-ubuntu-intrepid-810-beta/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 13:06:56 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtualbox]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=61</guid>
		<description><![CDATA[Having a play with the Beta of Ubuntu Intrepid 8.10 Beta under Virtualbox (2.0.2 at the time of writing), I noticed that the installation of the Virtualbox Guest Additions don&#8217;t appear to work in the usual manner. You&#8217;d reboot after installing them and, well, nothing new happens &#8211; no VBox video and mouse driver in [...]]]></description>
			<content:encoded><![CDATA[<table border="0">
<tbody>
<tr>
<td>Having a play with the Beta of Ubuntu Intrepid 8.10 Beta under Virtualbox (2.0.2 at the time of writing), I noticed that the installation of the Virtualbox Guest Additions don&#8217;t appear to work in the usual manner. You&#8217;d reboot after installing them and, well, nothing new happens &#8211; no VBox video and mouse driver in operation.</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/ubuntu-810-logo.jpg"><img title="Ubuntu Intrepid Ibix 8.10 Logo" src="http://www.serenux.com/wp-content/uploads/2008/10/ubuntu-810-logo.jpg" alt="Ubuntu Intrepid Ibix 8.10 Logo" width="116" height="106" /></a></td>
</tr>
</tbody>
</table>
<p><span id="more-61"></span></p>
<p><span style="color: #ff0000;"><strong>EDIT: 26th Oct 2008 &#8211; Virtualbox 2.0.4 now has added support for Ubuntu Intrepid. If you are using Virtualbox 2.0.4, you should not have to perform any of the actions in this HowTo.</strong></span></p>
<p><span style="color: #ff0000;"><strong>EDIT2: 29th october 2008 &#8211; While Virtualbox 2.0.4 now happily installs the correct video driver support for Ubuntu Intrepid, I&#8217;ve noticed that it still fails to install the GA mouse support. To fix this, just copy &amp; paste only the &#8220;Input Device&#8221; section from the guide below into your /etc/X11/xorg.conf file and restart X.</strong></span></p>
<p><span style="color: #ff0000;"><strong>EDIT3: These instructions will also work for subsequent Betas or new releases of Ubuntu where the video driver works, but not the mouse driver until Virtualbox is updated to support that new release of Ubuntu (eg: this was tested in Ubuntu Jaunty successfully as well which suffers the same problem Intrepid did before Virtualbox provided official support for it).<br />
</strong></span></p>
<p>Having a closer look at the issue, basically the new xorg.conf file is VERY sparse and is normally where the Virtualbox GA video driver would be specified, so to fix this I tried listing it manually by editing the xorg.conf as follows:</p>
<pre><span style="color: #333399;">$ sudo gedit /etc/X11/xorg.conf</span></pre>
<p>&#8230;then on lines 21 to 23, comment out the existing &#8220;Device&#8221; listing by placing a hash at the start of the line as follows:</p>
<pre><span style="color: #333399;">#Section "Device"
#    Identifier    "Configured Video Device"
#EndSection</span></pre>
<p>&#8230;then scroll right to the bottom of the file and add the following lines:</p>
<pre><span style="color: #333399;">Section "InputDevice"
    Identifier   "Configured Mouse"
    Driver       "vboxmouse"
    Option       "CorePointer"
EndSection

Section "Device"
    Identifier    "Configured Video Device"
    Driver        "vboxvideo"
EndSection</span></pre>
<p>Save your changes and then exit out of the text editor.</p>
<p>Now just reboot Intrepid and viola &#8211; you now have working Virtualbox video and mouse driver! Yay! Brown Ibex goodness for everyone. <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class='wp_likes' id='wp_likes_post-61'><a class='like' href="javascript:wp_likes.like(61);" title='' ><img src="http://www.serenux.com/wp-content/plugins/wp-likes/images/like.gif" alt='' border='0'/>Like</a><span class='text'></span>
<div class='unlike'><a href="javascript:wp_likes.unlike(61);">Unlike</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2008/10/installing-the-virtualbox-guest-additions-drivers-in-ubuntu-intrepid-810-beta/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
