<?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>Kirrus' Blog &#187; Gutsy</title>
	<atom:link href="http://kirrus.co.uk/tag/gutsy/feed/" rel="self" type="application/rss+xml" />
	<link>http://kirrus.co.uk</link>
	<description>MindDump. Photos. And random ramblings.</description>
	<lastBuildDate>Fri, 03 Feb 2012 16:20:06 +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>Xen Gutsy Links</title>
		<link>http://kirrus.co.uk/2007/11/xen-gutsy-links/</link>
		<comments>http://kirrus.co.uk/2007/11/xen-gutsy-links/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 14:39:47 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Remember This]]></category>
		<category><![CDATA[Gutsy]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=22</guid>
		<description><![CDATA[A post full of links and unsorted info about using Xen on Ubuntu Gutsy Gibbon, so that I don&#8217;t forget. (This lot has taken ~2 days to collect&#8230;) May make a full howto sometime&#8230; probably not though, as my boss knows this stuff better than I. Xen is pretty cool though&#8230; https://help.ubuntu.com/community/Xen (useless for gutsy&#8230;) [...]]]></description>
			<content:encoded><![CDATA[<p>A post full of links and unsorted info about using <span class="link-external"><a href="http://en.wikipedia.org/wiki/Xen">Xen</a></span> on Ubuntu Gutsy Gibbon, so that I don&#8217;t forget. (This lot has taken ~2 days to collect&#8230;) May make a full howto sometime&#8230; probably not though, as my boss knows this stuff better than I. Xen is pretty cool though&#8230;</p>
<p><span class="link-https"><a href="https://help.ubuntu.com/community/Xen">https://help.ubuntu.com/community/Xen</a></span> (useless for gutsy&#8230;)</p>
<p>The Xen console doesn&#8217;t work (xm console &lt;domU&gt;), network works once, and then never again&#8230; Going to paste this here as its in a pastebin, not sure when it will expire&#8230; (Have tweaked slightly, snipped a couple of things out, added couple of things in)<br />
<span class="link-external"><a href="http://rafb.net/p/49Ku5e10.html">http://rafb.net/p/49Ku5e10.html</a></span></p>
<pre id="codemain" class="code">&gt;&gt; OK, I have made a little progress on this.  I mounted my VM image on a
&gt;&gt; loopback and chroot'd to it.  I opened /etc/init.d/hwclock.sh
&gt;&gt; and /etc/init.d/hwclockfirst.sh and added the following to the top of each
&gt;&gt; file:
&gt;&gt;
&gt;&gt;   exit 0

ALSO SEE: http://lists.cvsrepository.org/xen-tools/Jul07/0332.html

sudo xm create -c &lt;/path/to/config/file&gt;

-----------------

# Ever-increasing network device names?

# Just disable the correspondent udev rules by deleting/renaming your
/etc/udev/rules.d/&lt;NUMBER&gt;persistant-net.rules. (number was 70 for us...)

guest# mv /etc/udev/rules.d/{,.}z25_persistent-net.rules

# And then make sure your vif (in your instance config file) contains your mac
# address like:
vif = ['ip=192.168.0.45,mac=&lt;random valid mac addy&gt;']
</pre>
<p>Just be sure to stop the instance (domU), and then restart (re-create) it again when needs be&#8230;</p>
<p>Also, when in the Xen console, try hitting enter before using the escape sequence (CTL +]) if it&#8217;s not working. Sometimes it enters into the console after the &#8220;login:&#8221; prompt has been printed, and doesn&#8217;t seem to pick up that its just had a new connection&#8230;<br />
The ALSO SEE link: <span class="link-external"><a href="http://lists.cvsrepository.org/xen-tools/Jul07/0332.html">http://lists.cvsrepository.org/xen-tools/Jul07/0332.html</a></span></p>
<p>Using Serial console &amp; xen console (serial console conflicts with xen console):<br />
<span class="link-external"><a href="http://phaq.phunsites.net/2007/06/30/xen-console-grabbded-devttys0">http://phaq.phunsites.net/2007/06/30/xen-console-grabbded-devttys0</a></span></p>
<p>/boot/grub/menu.lst stuff, to enable us to use a serial console as well as xen:</p>
<pre>serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal --timeout=2 serial console</pre>
<p>Goes in the top of your menu.lst, outside the automagic sections&#8230;</p>
<pre>## additional options to use with the default boot option, but not with the
## alternatives (These options are not used with the Xen Kernel!)
# defoptions=quiet splash console=ttyS0,115200n8</pre>
<p>For the default kernel, (NOT the xen kernel).<br />
Goes inside the AUTOMAGIC section of your menu.lst, adding to the options already there.</p>
<pre>## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0 console=ttyS0,115200n8 xencons=ttyS9</pre>
<p>Note the xencons=ttyS9. Use a serial port (ttyS&lt;No.&gt;) that doesn&#8217;t already exist.</p>
<p>Your Xen kernel definition should look something like this, after you&#8217;ve run &#8220;update-grub&#8221;:</p>
<pre>title           Xen 3.1 / Ubuntu 7.10, kernel 2.6.22-14-xen
root            (hd0,0)
kernel          /xen-3.1.gz
module          /vmlinuz-2.6.22-14-xen root=/dev/mapper/volume-root ro console=tty0 console=ttyS0,115200n8 xencons=ttyS9
module          /initrd.img-2.6.22-14-xen
quiet</pre>
<p>The guys on irc ##xen @ freenode are really helpful&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2007/11/xen-gutsy-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

