<?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>Diznix Blog &#187; VirtualBox</title>
	<atom:link href="http://diznix.com/tag/virtualbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://diznix.com</link>
	<description>News from Nowhere</description>
	<lastBuildDate>Wed, 16 May 2012 00:32:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>VirtualBox Installations on Scientific Linux</title>
		<link>http://diznix.com/2012/01/16/virtualbox-installations-on-scientific-linux/</link>
		<comments>http://diznix.com/2012/01/16/virtualbox-installations-on-scientific-linux/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 19:39:13 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Scientific Linux]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1712</guid>
		<description><![CDATA[I&#8217;ve mentioned previously that my preferred virtualization platform is VMware Workstation. That remains true &#8230;but VirtualBox does have the distinct advantage of being free-of-charge. So unless I want to insist that my readers find AU$291.50 for VMware&#8217;s offering, it behooves me instead, &#8230; <a href="http://diznix.com/2012/01/16/virtualbox-installations-on-scientific-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve mentioned previously that my <em>preferred</em> virtualization platform is <a href="http://www.vmware.com/a/buylink/231">VMware Workstation</a>. That remains true &#8230;but <a href="https://www.virtualbox.org/wiki/Downloads">VirtualBox</a> does have the distinct advantage of being free-of-charge. So unless I want to insist that my readers find AU$291.50 for VMware&#8217;s offering, it behooves me instead, from time to time, to use the virtualization platform I know we can all afford.</p>
<p>So here is my two-minute recipe guide to getting the latest VirtualBox product installed (for zero dollars!) on Scientific Linux 6.1. (You could always just download the relevant rpm and install it directly, but I prefer to do all my package management via yum wherever possible, so that&#8217;s the approach described here).</p>
<h1>1. Get the gpg key</h1>
<p>VirtualBox is supplied as a bunch of rpm packages which have been digitally signed. By checking the signature, you know no-one&#8217;s messed about with the packages before they reached you. It therefore makes sense to obtain and install the digital key needed to do that signature check. It&#8217;s easy to do, as root, at a command prompt, by issuing these two commands:</p>
<pre>wget http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
rpm --import oracle_vbox.asc</pre>
<h1>2. Create the yum repository</h1>
<p>Again as root, issue this command to create a new, blank repository file:</p>
<pre>gedit /etc/yum.repos.d/virtualbox.repo</pre>
<p>Now paste in these contents to the empty file:</p>
<pre>[virtualbox]
name=RHEL/CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/rhel/6.0/$basearch
enabled=1
gpgcheck=1
gpgkey=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc</pre>
<p>Save the file changes and close down gedit. Just in passing, you might note that I&#8217;ve changed this file from the version which Oracle themselves makes available on the VirtualBox website. Specifically, their <strong>baseurl</strong> uses an environment variable, called <strong>$releasever</strong>, where I have hard-coded in the number <strong>6.0</strong>. The trouble, of course, is that if you are using the latest versions of Scientific Linux or Centos, you&#8217;ll be picking up a releasever of 6.1 or 6.2 &#8230;and no such directory exists on the VirtualBox servers. You&#8217;d need to manually check out <a href="http://download.virtualbox.org/virtualbox/rpm/rhel/">those server&#8217;s directory structure</a> to see if that situation changes over time.</p>
<h1>3. Install the Software</h1>
<p>As root once more, the following one-liner will display all the different versions of VirtualBox that are available for installation:</p>
<pre>yum search VirtualBox</pre>
<p>You might see this sort of output in return:</p>
<pre>Loaded plugins: refresh-packagekit
virtualbox | 951 B 00:00
virtualbox/primary | 4.4 kB 00:00
virtualbox 17/17
============== N/S Matched: VirtualBox ==============
VirtualBox-3.2.x86_64 : Oracle VM VirtualBox
VirtualBox-4.0.x86_64 : Oracle VM VirtualBox
VirtualBox-4.1.x86_64 : Oracle VM VirtualBox</pre>
<p>This shows that Oracle keeps a couple of older versions of the software alive and available, should you need to use them. Most people, though, will really only need the latest version, so pick that from the list and issue an appropriate &#8220;yum install&#8221; command. In my case, given the above output, this command will do the right thing:</p>
<pre>yum -y install VirtualBox-4.1.x86_64</pre>
<p>It&#8217;s a 58MB download or so, and as it&#8217;s installed you might see this message appear:</p>
<pre>Running Transaction
 Installing : VirtualBox-4.1-4.1.8_75467_rhel6-1.x86_64 1/1

Creating group 'vboxusers'. VM users must be member of that group!</pre>
<p>This gives you the clue to the last stage of the installation process&#8230;</p>
<h1>4. Assigning Group Privileges</h1>
<p>The software installation has created a new O/S group, called <strong>vboxusers</strong>, but it won&#8217;t have made your user account a member of that group. That needs to be fixed.</p>
<p>From the Gnome top panel, clieck <em>System &gt; Administration &gt; Users and Groups</em>. Find your user details on the Users tab and double-click the entry. Switch to the Groups tab, scroll down and check the vboxusers group name:</p>
<p><a href="http://diznix.com/wp-content/uploads/2012/01/vbox01.png" rel="lightbox[1712]"><img class="alignnone size-full wp-image-1713" title="vbox01" src="http://diznix.com/wp-content/uploads/2012/01/vbox01.png" alt="" width="411" height="368" /></a></p>
<p>Click [OK] to save the change, and you&#8217;re done, though you&#8217;ll need to log off and back on before the group membership changes take practical effect.</p>
<p>If you prefer doing everything at the command line, just edit /etc/group (as root, of course) and add a <strong>:your-username</strong> entry to the end of the vboxusers line, which will probably be the last line of the file. In my case, for example, the line ended up reading <strong>vboxusers:x:501:hjr</strong> -which simply means that user &#8216;hjr&#8217; is now a member of the vboxusers group. (Again, it&#8217;ll take a log off and fresh log on before the new group membership actually takes effect).</p>
<p>Either way, you&#8217;re now done and can run the VirtualBox program successfully, with the program launcher being found in <em>Applications &gt; System Tools</em>.</p>
<h1>5. USB Support</h1>
<p>The version of VirtualBox installed by the above procedure will be unable to access USB 2.0 devices that might be plugged into your physical host. However, this shortcoming can be fixed by installing the &#8220;Oracle/VirtualBox Extension Pack&#8221;. <a href="http://download.virtualbox.org/virtualbox/4.1.8/Oracle_VM_VirtualBox_Extension_Pack-4.1.8-75467.vbox-extpack">Download it from the VirtualBox website</a> and then just double-click the file when the download completes. You should see the following appear:</p>
<p><a href="http://diznix.com/wp-content/uploads/2012/01/vbox02.png" rel="lightbox[1712]"><img class="alignnone size-full wp-image-1715" title="vbox02" src="http://diznix.com/wp-content/uploads/2012/01/vbox02.png" alt="" width="452" height="278" /></a></p>
<p>Click the [Install] button there, agree to the license, authenticate as root and all should be done in a matter of seconds. You&#8217;re now ready to build and run fully-functional virtual machines.</p>
]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2012/01/16/virtualbox-installations-on-scientific-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>VirtualBox Boot-time BIOS Error</title>
		<link>http://diznix.com/2011/06/09/virtualbox-boot-time-bios-error/</link>
		<comments>http://diznix.com/2011/06/09/virtualbox-boot-time-bios-error/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 05:28:16 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[piix4_smbus]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1030</guid>
		<description><![CDATA[A slightly annoying error message always appears whenever you boot Ubuntu 11.04 Server as a guest O/S in VirtualBox: piix4_smbus 0000.00.07.0: SMBus base address uninitialized - upgrade bios or use force_addr=0xaddr It doesn&#8217;t actually do any harm to the guest &#8230; <a href="http://diznix.com/2011/06/09/virtualbox-boot-time-bios-error/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A slightly annoying error message always appears whenever you boot Ubuntu 11.04 Server as a guest O/S in VirtualBox:</p>
<pre>piix4_smbus 0000.00.07.0: SMBus base address uninitialized - upgrade bios or use force_addr=0xaddr</pre>
<p>It doesn&#8217;t actually do any harm to the guest (as far as I can tell), so one could perfectly well leave it alone. But it&#8217;s possible to get rid of it altogether simply by issuing three commands and editing one configuration file. First:</p>
<pre>sudo nano /etc/modprobe.d/blacklist.conf</pre>
<p>Add the text</p>
<pre>blacklist i2c_piix4</pre>
<p>&#8230;to the end of the file. Finally, issue the commands:</p>
<pre>sudo update-initramfs -u -k all
sudo reboot</pre>
<p>When the machine comes back up after that last reboot, you won&#8217;t see the error message. What this is doing is simply preventing an attempt to load the i2c_piix4 kernel module. VirtualBox doesn&#8217;t emulate the hardware for which this module is actually needed, but Ubuntu doesn&#8217;t know that and tries to load it anyway. Blacklisting the module prevents Ubuntu doing that and thus makes the error disappear.</p>
]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2011/06/09/virtualbox-boot-time-bios-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: diznix.com @ 2012-05-22 18:42:31 -->
