<?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>Bashton Blog &#187; ubuntu</title>
	<atom:link href="http://blog.bashton.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bashton.com</link>
	<description>Bashton Ltd</description>
	<lastBuildDate>Tue, 13 Apr 2010 05:30:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Running an Ubuntu Hardy Xen domU under a CentOS dom0</title>
		<link>http://blog.bashton.com/2008/running-an-ubuntu-hardy-xen-domu-under-a-centos-dom0/</link>
		<comments>http://blog.bashton.com/2008/running-an-ubuntu-hardy-xen-domu-under-a-centos-dom0/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 08:10:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[rhel]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://blog.bashton.com/2008/running-an-ubuntu-hardy-xen-domu-under-a-centos-dom0/</guid>
		<description><![CDATA[As pretty much always with Linux there&#8217;s more than one way to do this, but here&#8217;s how I got a nicely working para-virtualized Ubuntu Hardy domU running under a CentOS 5.2 dom0:

Install hardy under an HVM using the standard ISO
Boot into your new hardy install and run sudo apt-get install linux-image-xen  (make sure you [...]]]></description>
			<content:encoded><![CDATA[<p>As pretty much always with Linux there&#8217;s more than one way to do this, but here&#8217;s how I got a nicely working para-virtualized Ubuntu Hardy domU running under a CentOS 5.2 dom0:</p>
<ul>
<li>Install hardy under an HVM using the standard ISO</li>
<li>Boot into your new hardy install and run <code>sudo apt-get install linux-image-xen </code> (make sure you have universe enabled)</li>
<li>Add appropriate settings to your /boot/grub/menu.lst &#8211; here&#8217;s what I added:</li>
</ul>
<p><code><br />
title           Ubuntu 8.04.1, kernel 2.6.24-19-xen<br />
root            (hd0,0)<br />
kernel          /vmlinuz-2.6.24-19-xen root=/dev/mapper/dsk-root ro<br />
initrd          /initrd.img-2.6.24-19-xen</code></p>
<ul>
<li>Add a console on xvc0: <code>sed -e 's/tty1/xvc0/' /etc/event.d/tty1 | sudo tee /etc/event.d/xvc0</code></li>
<li>Power off your Ubuntu VM</li>
<li>On your CentOS dom0, alter the Xen VM configuration file to boot using pygrub, very basic example below:</li>
</ul>
<p><code><br />
bootloader = '/usr/bin/pygrub'<br />
memory = 1024<br />
name = "ubuntu-test"<br />
vif = [ '' ]<br />
disk = [ 'phy:/dev/san1/ubuntu-test,xvda1,w']</code></p>
<ul>
<li>Restart your Hardy VM and enjoy massively improved performance</li>
</ul>
<p><strike>One thing missing from the para-virtualized VM is VNC support &#8211; you have to use the console via the &#8216;xm console&#8217; command.</strike></p>
<p>The procedure should be similar for Citrix XenServer, although it will involve some messing with the xe vm-param-set command rather than editing the config file.  When I have a chance I&#8217;ll document this too.</p>
<p><strong>Update, 30/9/08:</strong></p>
<p>To enable a VNC console, do the following as well as the above:</p>
<ul>
<li>Add the framebuffer drivers into the initramfs</li>
</ul>
<p><code>echo "fbcon" | sudo tee -a /etc/initramfs-tools/modules<br />
echo "vga16fb" | sudo tee -a /etc/initramfs-tools/modules<br />
sudo sed -ie 's/^blacklist vga16fb$/#&#038;/' /etc/modprobe.d/blacklist-framebuffer</code></p>
<ul>
<li>Re-generate the initramfs</li>
</ul>
<p><code>sudo update-initramfs -u -k all</code></p>
<ul>
<li>Alter your grub menu.lst to include the boot options console=tty1 vga=normal (best done via the defoptions line, I tend to remove <em>quiet</em> and <em>splash</em> from here too)</li>
</ul>
<p>Reboot, and you can now use a VNC console as well as the Xen <em>xm console</em> command.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bashton.com/2008/running-an-ubuntu-hardy-xen-domu-under-a-centos-dom0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux Server Distribution Comparison</title>
		<link>http://blog.bashton.com/2008/linux-server-distribution-comparison/</link>
		<comments>http://blog.bashton.com/2008/linux-server-distribution-comparison/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 08:51:18 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.bashton.com/2008/linux-server-distribution-comparison/</guid>
		<description><![CDATA[I&#8217;ve just put up an long-ish article I&#8217;ve written comparing five different server distributions.  I fully realise that by doing so I&#8217;m opening myself up to hundreds of flames from outraged fans of &#60;insert OS here&#62;, all complaining that I&#8217;ve treated their pet distro unfairly.
Given that I&#8217;ll probably be accused of bias anyway, I better [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just put up an long-ish article I&#8217;ve written <a href="http://bashton.com/linux-distribution-comparison/" title="Linux distro comparison">comparing five different server distributions</a>.  I fully realise that by doing so I&#8217;m opening myself up to hundreds of flames from outraged fans of &lt;insert OS here&gt;, all complaining that I&#8217;ve treated their pet distro unfairly.</p>
<p>Given that I&#8217;ll probably be accused of bias anyway, I better declare mine: the server that is serving you this page runs Ubuntu, as does the one running the main Bashton site. Many of our internal-facing servers run CentOS. My desktop runs Ubuntu, and my laptop runs Debian. Other staff have their own bias of course (particularly those who are Debian developers..), but as it was just me writing the article I don&#8217;t see that as relevant.</p>
<p>Please make your comments here and hopefully we can start some form of a useful debate, rather than the &#8216;distro X is the best&#8217; discussions these things usually descend into.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bashton.com/2008/linux-server-distribution-comparison/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
