<?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>Laney's blog &#187; lenny</title>
	<atom:link href="http://orangesquash.org.uk/tag/lenny/feed/" rel="self" type="application/rss+xml" />
	<link>http://orangesquash.org.uk</link>
	<description>YASB</description>
	<lastBuildDate>Sun, 29 Aug 2010 23:28:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Now running Lenny (and a workaround for a Grub bug)</title>
		<link>http://orangesquash.org.uk/2009/02/16/now-running-lenny-and-a-workaround-for-a-grub-bug/</link>
		<comments>http://orangesquash.org.uk/2009/02/16/now-running-lenny-and-a-workaround-for-a-grub-bug/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 18:58:05 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MOTU]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/?p=47</guid>
		<description><![CDATA[. o O (WordPress 2.7.1 is pretty sexy) Congratulations on mankind for reaching the splendid milestone that is 1234567890 seconds since 1970 began. Who&#039;d have thought we&#039;d make it this far? But really, congratulations on the Debian team for releasing Lenny (I even have one package uploaded there)! The point of this post is mainly [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><em>. o O (WordPress 2.7.1 is pretty sexy)</em></p>
<p>Congratulations on mankind for reaching the splendid milestone that is 1234567890 seconds since 1970 began. Who&#039;d have thought we&#039;d make it this far?</p>
<p>But really, congratulations on the Debian team for releasing Lenny <small>(I even have one package uploaded there)</small>! The point of this post is mainly to point people upgrading their Xen DomUs of a bug that I encountered and how to fix it (thanks to <a href="http://strugglers.net/~andy/blog/">Andy Smith</a>).</p>
<p>When doing the upgrade I got this message:</p>
<blockquote><p><code>laney@cripps:~$ sudo dpkg --configure -a<br />
Setting up linux-image-2.6.26-1-xen-686 (2.6.26-13) ...<br />
update-initramfs: Generating /boot/initrd.img-2.6.26-1-xen-686<br />
Searching for GRUB installation directory ... found: /boot/grub<br />
warning: grub-probe can't find drive for /dev/sda1.<br />
grub-probe: error: Cannot find a GRUB drive for /dev/sda1.  Check your<br />
device.map.</code></p>
<p><code>dpkg: error processing linux-image-2.6.26-1-xen-686 (--configure):<br />
subprocess post-installation script returned error exit status 1<br />
dpkg: dependency problems prevent configuration of linux-image-2.6-xen-686:<br />
linux-image-2.6-xen-686 depends on linux-image-2.6.26-1-xen-686; however:<br />
Package linux-image-2.6.26-1-xen-686 is not configured yet.<br />
dpkg: error processing linux-image-2.6-xen-686 (--configure):<br />
dependency problems - leaving unconfigured<br />
dpkg: dependency problems prevent configuration of linux-image-xen-686:<br />
linux-image-xen-686 depends on linux-image-2.6.26-1-xen-686; however:<br />
Package linux-image-2.6.26-1-xen-686 is not configured yet.<br />
dpkg: error processing linux-image-xen-686 (--configure):<br />
dependency problems - leaving unconfigured<br />
Errors were encountered while processing:<br />
linux-image-2.6.26-1-xen-686<br />
linux-image-2.6-xen-686<br />
linux-image-xen-686</code></p></blockquote>
<p>This is apparently a bug in grub-probe when dealing with Xen virtual machines. A post by Andy <a href="http://lists.bitfolk.com/lurker/message/20080529.142153.954fedf4.el.html">here</a> gives the magic incantation to fix it:</p>
<blockquote><p><code>sudo sh -c "echo '(hd0) /dev/sda' &gt; /boot/grub/device.map &amp;&amp; cd /dev &amp;&amp; mknod sda b 202 0"</code></p></blockquote>
<p>(you might need to change sda to xvda depending on what your error says).</p>
<p>A quick <code>dpkg --configure -a</code> later and everything is hunky-dory. Now in a sexy Lenny system in which everything seems to just work, just like the marketing says. Some Apache and MySQL warnings to fix up, but nothing too major. Yet.</p>
<p>(on a side-note &#8211; I got MOTU recently. Breakage coming to an Ubuntu near you. Yay!)</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2009/02/16/now-running-lenny-and-a-workaround-for-a-grub-bug/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
