<?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>-: an everyday story of country folk :-</title>
	<atom:link href="http://blog.mattrudge.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mattrudge.net</link>
	<description>the view from the mattrudge.net tower</description>
	<lastBuildDate>Thu, 13 Dec 2012 12:56:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>System Program Problem Detected on Ubuntu 12.10</title>
		<link>http://blog.mattrudge.net/2012/12/13/system-program-problem-detected-on-ubuntu-12-10/</link>
		<comments>http://blog.mattrudge.net/2012/12/13/system-program-problem-detected-on-ubuntu-12-10/#comments</comments>
		<pubDate>Thu, 13 Dec 2012 12:56:23 +0000</pubDate>
		<dc:creator>Matt Rudge</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[12.10]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[detected]]></category>
		<category><![CDATA[system problem]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.mattrudge.net/?p=664</guid>
		<description><![CDATA[My upgrade to Ubuntu 12.10 was, as usual, a painless experience. The controversial shopping lens integration doesn&#8217;t bother me, and overall the installation went well &#8211; apart from one minor flaw! Every time I logged into the system &#8211; and several times throughout a day&#8217;s usage &#8211; the following dialog would pop up: At first, [...]]]></description>
				<content:encoded><![CDATA[<p>My upgrade to Ubuntu 12.10 was, as usual, a painless experience. The controversial shopping lens integration doesn&#8217;t bother me, and overall the installation went well &#8211; apart from one minor flaw!<span id="more-664"></span></p>
<p>Every time I logged into the system &#8211; and several times throughout a day&#8217;s usage &#8211; the following dialog would pop up:</p>
<p><a href="http://blog.mattrudge.net/wp-content/uploads/2012/12/systemproblem.png"><img src="http://i0.wp.com/blog.mattrudge.net/wp-content/uploads/2012/12/systemproblem.png?resize=300%2C124" alt="Ubuntu 12.10 System Problem" title="Ubuntu 12.10 System Problem" class="aligncenter size-medium wp-image-665" data-recalc-dims="1" /></a></p>
<p>At first, I tried reporting the problem &#8211; which seemed to be something to do with apport &#8211; but the dialog kept popping up. A minor frustration, but it always managed to appear when I was in the middle of typing something important.</p>
<p>The solution was very simple. I remember that Ubuntu crashed one day, while trying to resume from hibernate. It hasn&#8217;t had the problem since, and I dutifully reported the problem. It was after that incident that the dialog began to appear. I was thinking that maybe some system module was corrupted, or perhaps was incompatible with Ubuntu 12.10.</p>
<p>As usual, my imagination had run riot and concocted a far worse situation than actually existed. The perfectly reasonable explanation was that the old crash report hadn&#8217;t been cleared out after I reported it. Solving it was a simple case of opening a terminal window and typing:</p>
<p><code>sudo rm /var/crash/*</code></p>
<p>No more problematic dialog! I love little tweaks like this, although I can&#8217;t guarantee that my imagination won&#8217;t go into overdrive next time I have a problem like this!</p>
<p STYLE="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0439961439391875";
/* Post banner, 468x60 */
google_ad_slot = "4426269627";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattrudge.net/2012/12/13/system-program-problem-detected-on-ubuntu-12-10/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Changing the tty resolution on Ubuntu Server</title>
		<link>http://blog.mattrudge.net/2012/10/02/changing-the-tty-resolution-on-ubuntu-server/</link>
		<comments>http://blog.mattrudge.net/2012/10/02/changing-the-tty-resolution-on-ubuntu-server/#comments</comments>
		<pubDate>Tue, 02 Oct 2012 10:02:45 +0000</pubDate>
		<dc:creator>Matt Rudge</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[resolution]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tty]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.mattrudge.net/?p=658</guid>
		<description><![CDATA[It&#8217;s been a busy few weeks here in the mattrudge.net tower. Firstly a break-in at the house left me bereft of laptop, digital camera, and other devices. Secondly, while in Italy, our rental car was broken into, which relieved me of my remaining gadgets, and finally a high-level hacking decision was evidently taken to bring [...]]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s been a busy few weeks here in the mattrudge.net tower. Firstly a break-in at the house left me bereft of laptop, digital camera, and other devices. Secondly, while in Italy, our rental car was broken into, which relieved me of my remaining gadgets, and finally a high-level hacking decision was evidently taken to bring down the menace of my <a href="http://blog.mattrudge.net/2012/06/22/joining-the-ntp-server-pool-with-ubuntu/" target="_blank">NTP server</a>, since I was knocked off the Internet by a Denial of Service attack! For one issue I had to edit the <a href="https://wiki.ubuntu.com/UbuntuWeeklyNewsletter" target="_blank">Ubuntu Weekly Newsletter</a> from 3G Internet on my phone!</p>
<p>Anyway, that&#8217;s just a moan, and nothing to do with the title of this blog post. Synchronicity is wonderful &#8211; I was just actually looking at how to change the tty resolution on a console-only Ubuntu Server, when the same question popped up on the Ubuntu Forums.<span id="more-658"></span></p>
<p>Ubuntu helpfully sets the console resolution for you &#8211; depending on what graphics card and monitor you have. Sometimes, though, the font can appear almost nanoscopic! Also &#8211; as was the case for me &#8211; you may be putting an older monitor onto the server, which won&#8217;t support such a high resolution.</p>
<p>Many of the answers focus on editing /etc/default/grub, but many of them don&#8217;t work &#8211; or only work for the GRUB selection screen. Here&#8217;s how to change the tty console resolution on Ubuntu 12.04 Server (this method works for everything from 9.10 as far as I know).</p>
<p><code>sudo nano /etc/default/grub</code></p>
<p>Add the following lines &#8211; or uncomment and modify them if they already exist:</p>
<p><code>GRUB_GFXMODE=800x600<br />
GRUB_CMDLINE_LINUX_DEFAULT="915.modeset=0 nomodeset"</code></p>
<p>Save and close the /etc/default/grub file. And finally:</p>
<p><code>sudo update-grub<br />
reboot<br />
</code><br />
When your server reboots, the console resolution will now be 800&#215;600, which is good enough for most old monitors &#8211; and myopic, old sysadmins!</p>
<p STYLE="text-align: center;"></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattrudge.net/2012/10/02/changing-the-tty-resolution-on-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Wine applications over SSH</title>
		<link>http://blog.mattrudge.net/2012/08/25/wine-applications-over-ssh/</link>
		<comments>http://blog.mattrudge.net/2012/08/25/wine-applications-over-ssh/#comments</comments>
		<pubDate>Sat, 25 Aug 2012 12:57:49 +0000</pubDate>
		<dc:creator>Matt Rudge</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[mythbuntu]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[watchtower library]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://blog.mattrudge.net/?p=652</guid>
		<description><![CDATA[The sad and rather sudden demise of Kim&#8217;s netbook has left us considering exactly what kind of device to replace it with. On the one hand, it ran extremely well for four years with a variety of *buntu installations &#8211; most recently Xubuntu; on the other hand, Kim feels that everything she wants to do [...]]]></description>
				<content:encoded><![CDATA[<p>The sad and rather sudden demise of Kim&#8217;s netbook has left us considering exactly what kind of device to replace it with. On the one hand, it ran extremely well for four years with a variety of *buntu installations &#8211; most recently Xubuntu; on the other hand, Kim feels that everything she wants to do could be done with a tablet &#8211; or more specifically an iPad. She does, however, need some native Windows applications, which ran under Wine on the netbook, and for which there&#8217;s no iOS equivalent.</p>
<p>Proving the old adage (which I just made up) of &#8220;where there&#8217;s a geek, there&#8217;s a way&#8221;, I had the idea of installing her Wine applications to our Mythbuntu-based home media centre, and letting her access them via an SSH tunnel.<span id="more-652"></span></p>
<p>On our Mythbuntu 11.10 media centre, this proved to be almost insanely easy! I already had SSH server installed, but if you don&#8217;t then open a terminal window and type:</p>
<p><code>sudo apt-get install ssh</code></p>
<p>I didn&#8217;t have Wine installed, but this is a simple case of just typing:</p>
<p><code>sudo apt-get install wine</code></p>
<p>Next, I installed the Windows applications and tested them on the media centre itself.</p>
<p>From my laptop, running Ubuntu 12.04, I tested to see if I could get a Wine application opening through SSH:</p>
<p><code>ssh -X user@192.168.0.100 'wine notepad'</code></p>
<p>The IP address of my media centre is 192.168.0.100. The &#8220;-X&#8221; switch enables X11 (the graphical user interface) to be forwarded, and the final part &#8216;wine notepad&#8217; is the command I want to run.</p>
<p>After typing in my password, the Wine notepad application popped up on my screen. So far so good!</p>
<p>I knew that the application I wanted to launch had more complex requirements &#8211; including an &#8220;ENV&#8221; command &#8211; so I put all of this into a little shell script called <strong>wtlib</strong> in the home directory of my media centre (guess what I was wanting to run!!) and made it executable. I now ran:</p>
<p><code>ssh -X user@192.168.0.100 ~/wtlib</code></p>
<p>Happily, after a little churning, Watchtower Library 2011 appeared and, over my home wireless network, was perfectly usable.</p>
<p>This works very well for Linux-based machines, since they&#8217;re already running an X Server. Most other devices (Windows PCs, Macs, iStuff) don&#8217;t have built-in X Servers, so we need to get one. There are some available for iOS, and the best of these &#8211; in my humble opinion &#8211; is iSSH.</p>
<p>We don&#8217;t have Kim&#8217;s new iToy yet, but I do have iSSH on my iPhone (there were an awful lot of &#8220;i&#8221;s in that sentence). For €7 from the App Store it isn&#8217;t the cheapest app in the world, but it does have a built-in X Server and DWM (dynamic window manager), so it allows X-based applications to be tunnelled over SSH.</p>
<p>A trivial bit of configuration later, and I had my Wine application running in an SSH tunnel to my iPhone. The iPhone&#8217;s screen size renders it almost unusable, but the speed was good. You just have to keep scrolling backwards and forwards to see anything. In a future version of iSSH they&#8217;re planning on bringing out a window resizing feature, which will be much more helpful.</p>
<p>Yet again I&#8217;m happy about how easy it is with Linux to implement a solution like this. The only cost was the app for the iDevice, but all of the other stuff was freely available and easy to configure.</p>
<p STYLE="text-align: center;"></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattrudge.net/2012/08/25/wine-applications-over-ssh/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Joining the NTP Server Pool with Ubuntu</title>
		<link>http://blog.mattrudge.net/2012/06/22/joining-the-ntp-server-pool-with-ubuntu/</link>
		<comments>http://blog.mattrudge.net/2012/06/22/joining-the-ntp-server-pool-with-ubuntu/#comments</comments>
		<pubDate>Fri, 22 Jun 2012 16:31:03 +0000</pubDate>
		<dc:creator>Matt Rudge</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[ntp]]></category>
		<category><![CDATA[pool]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[time server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.mattrudge.net/?p=645</guid>
		<description><![CDATA[Just in case anyone was wondering, I haven&#8217;t been abducted by Linux-loving aliens. Nor have I inexplicably dropped off the face of the planet. The reasons behind my lack of recent posts are firstly &#8211; a lack of time; secondly &#8211; and happily &#8211; my Ubuntu 12.04 installation has been so unbelievably stable that it [...]]]></description>
				<content:encoded><![CDATA[<p>Just in case anyone was wondering, I haven&#8217;t been abducted by Linux-loving aliens. Nor have I inexplicably dropped off the face of the planet. The reasons behind my lack of recent posts are firstly &#8211; a lack of time; secondly &#8211; and happily &#8211; my Ubuntu 12.04 installation has been so unbelievably stable that it hasn&#8217;t required much tinkering or tweaking at all!</p>
<p>Anyway, this isn&#8217;t a technical problem, nor is it specifically Ubuntu-related, but I think it comes under the category of ubuntu with a small &#8220;u&#8221;; the philosophy of community, mutual support, and giving back when you can. That&#8217;s what I thought when I read the June 21st 2012 news release on www.pool.ntp.org. The full release can be read <a href="http://news.ntppool.org/2012/06/more-servers-please.html" title="NTP Pool News Release" target="_blank">here</a>. The chances are that you&#8217;re already using servers of the NTP project &#8211; even if you don&#8217;t realise it. So I decided to give a bit back and join the pool with my Ubuntu server and static IP. If you want to help out too, then it&#8217;s fairly easy to set up.<span id="more-645"></span></p>
<p>The two main requirements for joining the pool would be 1) an Internet connection with a static IP address, and 2) a machine running ntpd. If you&#8217;re running Ubuntu server (as I am), then ntpd is already installed. For everyone else, open a terminal window and type:</p>
<p><code>sudo apt-get install ntp</code></p>
<p>When ntpd is installed, edit the /etc/ntp.conf file to adjust the servers.</p>
<p><code>sudo nano /etc/ntp.conf</code></p>
<p>The file is pre-populated with ubuntu.pool.ntp.org servers. To join the NTP pool, we need to use stratum 1 or 2 servers with fixed IP addresses. You need about five servers in the list. Locate the servers nearest to you by using this list, and then put them in your ntp.conf file using the following syntax:</p>
<p><code>server hostname</code></p>
<p>So, for example, my ntp.conf file looks like this:</p>
<p><code>server ntp.maths.tcd.ie iburst<br />
server ntp.amber.org.uk<br />
server ntp2c.mcc.ac.uk<br />
server ntp.cis.strath.ac.uk<br />
server ntp2.sandvika.net<br />
</code><br />
The &#8220;iburst&#8221; parameter after the first server tells it to synchronise quickly after startup.</p>
<p>I left the default restrictions in place. These allow anyone to synchronise, but they don&#8217;t allow non-local clients to see the operating system type, or ntpd version number. The default restrictions are:</p>
<p><code>restrict -4 default kod notrap nomodify nopeer noquery<br />
restrict -6 default kod notrap nomodify nopeer noquery</code></p>
<p>Finally, I retrieved the &#8220;leap seconds&#8221; file from the US National Institute of Standards and Technology (NIST) and applied this to my ntpd installation. In case you&#8217;re confused about what a leap second is, then the ntp.org support pages offer the following helpful information:</p>
<blockquote><p>Graceful handling of leap seconds implies applying the leap second locally at the appropriate time, rather than having the clock off by one second until the discrepancy witih sources is noticed and corrected at a later time. ntpd will gracefully handle leap seconds which it knows about in advance, via one of two means. If a leap second file is configured in ntp.conf or acquired via autokey, ntpd will inform clients of the pending leap for one day in advance via the leap field of the NTP packet, and it will be applied locally. Lacking a leapfile, ntpd is at the mercy of its sources to inform it of the pending leap second.</p></blockquote>
<p>So now you know! To apply the file, download it from time.nist.gov using your favourite ftp client. It&#8217;s in the /pub directory and is called &#8220;leap-seconds.nnnnnnnnnn&#8221; where <em>nnnnnnnnnn</em> is a numeric time stamp. At time of writing, the file was called &#8220;leap-seconds.3535228800&#8243;. Once you have retrieved the file, store it in a public path on your server. Then add the following line to your ntp.conf file:</p>
<p><code>leapfile "/path/to/leap-file"</code></p>
<p>So my ntp.conf file reads:</p>
<p><code>leapfile "/pub/leap-seconds.3535228800"</code></p>
<p>Now make sure that TCP and UDP port numbers 123 are open on your firewall and forwarded to your Ubuntu server. Lastly, restart ntpd:</p>
<p><code>sudo service ntp restart</code></p>
<p>You can check to make sure that ntp has synchronised with a peer by typing:</p>
<p><code>ntpq -c lpeers</code></p>
<p>If a peer name appears with an asterisk in the list, then your ntpd service has synchronised with it.</p>
<p>Now all you need to do is <a href="https://manage.ntppool.org/manage" title="NTP Pool Server Management" target="_blank">add your server to the pool</a>. I created a DNS entry, so that ntp.mattrudge.net points to my static IP address, but this isn&#8217;t strictly necessary.</p>
<p>Once your server is added, it will start with an &#8220;availability score&#8221; of -5.0. This will gradually increase as your server is checked over a number of hours for uptime and reliability. When the score reaches 10, then the server will be published in the pool.</p>
<p>So, if you have a few spare CPU cycles and a bit of bandwidth hanging around, then why not get into the spirit of Ubuntu and join the NTP server pool.</p>
<p STYLE="text-align: center;"></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattrudge.net/2012/06/22/joining-the-ntp-server-pool-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Ubuntu 12.04 LTS Upgrade &amp; First Looks</title>
		<link>http://blog.mattrudge.net/2012/04/26/ubuntu-12-04-lts-upgrade-first-looks/</link>
		<comments>http://blog.mattrudge.net/2012/04/26/ubuntu-12-04-lts-upgrade-first-looks/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 22:22:27 +0000</pubDate>
		<dc:creator>Matt Rudge</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[experience]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[libc6]]></category>
		<category><![CDATA[precise pangolin]]></category>
		<category><![CDATA[preparing]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://blog.mattrudge.net/?p=637</guid>
		<description><![CDATA[Despite the graphic below showing that Precise Pangolin was &#8220;almost here&#8221;, my Update Manager window popped up this afternoon to politely advise me that the new release of Ubuntu was, indeed, available and would I like to upgrade to the newest version? Being a sucker for a courteous dialog box, I clicked Upgrade, received proclamations [...]]]></description>
				<content:encoded><![CDATA[<p>Despite the graphic below showing that <em>Precise Pangolin</em> was &#8220;almost here&#8221;, my Update Manager window popped up this afternoon to politely advise me that the new release of Ubuntu was, indeed, available and would I like to upgrade to the newest version? Being a sucker for a courteous dialog box, I clicked Upgrade, received proclamations of doom from <a href="https://plus.google.com/u/0/102826233138862510034" target="_blank">+John Lewis</a>, and waited&#8230;<span id="more-637"></span></p>
<p>&#8230;and waited, and waited, and waited a bit more. The installer told me that it was &#8220;Preparing libc6&#8243;, but it seemed to be doing an awful lot of preparing. I&#8217;ve prepared entire meals in less time than it was taking to prepare libc6. So eventually, I clicked on the <strong>Terminal</strong> dropdown to see what was going on.</p>
<p>The installer was actually waiting for input from me in the terminal window. It had an ncurses window open, and was asking about stopping and restarting certain services. I clicked OK, and OK again on the window that followed. After that the installation was quick and painless. So just a tip if you&#8217;re doing an upgrade through Update Manager &#8211; click on the <strong>Terminal</strong> dropdown <em>first</em> and save yourselves a long wait!</p>
<p>That little niggle aside, I&#8217;m really liking this new release. Most &#8211; if not all &#8211; of Unity&#8217;s rough edges seem to have been smoothed out. Being a &#8220;terminal fiend&#8221; as I was recently called (thank you <a href="https://plus.google.com/116369485563673736422" target="_blank">+Sean Campbell</a>, I like that <img src='http://i1.wp.com/blog.mattrudge.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' data-recalc-dims="1" /> ), I love the new <em>Super</em> key feature (the<em> Windows </em>key on most PCs) &#8211; hold it down and an overlay pops up showing keyboard shortcuts.</p>
<p>The HUD is a really interesting addition too. I know this has had a mixed response from some testers, but it works like this: if you press and hold the <em>Alt</em> key in an application, then that application&#8217;s menus appear at the top of the screen as expected. If you press and quickly release the <em>Alt</em> key, however, then the HUD is activated. This neat little text box allows you to start typing the command you want to carry out from the menus. For example, stab the <em>Alt</em> key and type <em>p</em> &#8211; the HUD will show you the menu commands that match your input (likely File > Print in this example). Just press <em>Enter</em> to select the option &#8211; often it&#8217;s the default.</p>
<p>The HUD uses fuzzy searching and remembers past searches to try and learn from your input. It&#8217;s a really quick way of navigating around applications, and you don&#8217;t even have to remove your hands from the keyboard &#8211; or navigate a series of nested menus to find what you want. Personally, I love it.</p>
<p>I&#8217;m also really liking the new Video lens for the Dash. It searches your local videos, and online sources, which I think is a great way of integrating video searching to the desktop.</p>
<p>Additionally, I&#8217;m happy to say that my Wine applications seem to be behaving better than they did on 11.10. The tooltips in Windows applications would often leave an ugly grey box when they deactivated. It was almost as if the drop shadow remained after the tooltip vanished. Anyway, that has now been fixed, so my Wine applications are a lot more visually pleasing.</p>
<p>Did I mention that my Samsung RF511 now starts up in record time? I thought Oneiric was quick, but Precise is like lightning. And there you have it, folks, conclusive proof than a Pangolin is faster than an Ocelot.</p>
<p>I was quite excited about this Ubuntu release. This was the first time I&#8217;d been involved with the release as part of the server documentation team, so it&#8217;s great to see everything come together. Congratulations to all the developers and teams that put in so much time and effort to make 12.04 LTS such a polished release.</p>
<p style = "{text-align: center;}"></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattrudge.net/2012/04/26/ubuntu-12-04-lts-upgrade-first-looks/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>The Sinclair ZX Spectrum is 30 years old</title>
		<link>http://blog.mattrudge.net/2012/04/23/the-sinclair-zx-spectrum-is-30-years-old/</link>
		<comments>http://blog.mattrudge.net/2012/04/23/the-sinclair-zx-spectrum-is-30-years-old/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 09:29:57 +0000</pubDate>
		<dc:creator>Matt Rudge</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[30 years]]></category>
		<category><![CDATA[anniversary]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[sinclair]]></category>
		<category><![CDATA[zx spectrum]]></category>

		<guid isPermaLink="false">http://blog.mattrudge.net/?p=623</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The first argument should be either a string or an integer in <b>/home/m34801/public_html/blog/wp-content/plugins/jetpack/modules/photon.php</b> on line <b>183</b><br />
It&#8217;s time for a little break in our regular programming. Today, April 23rd, marks the 30th anniversary of the launch of the Sinclair ZX Spectrum &#8211; Britain&#8217;s largest selling home computer of the 1980&#8242;s. The Speccy was my first exposure to an actual computer &#8211; I still remember as a 9-year-old in 1982 when my [...]]]></description>
	<br />
<b>Warning</b>:  array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The first argument should be either a string or an integer in <b>/home/m34801/public_html/blog/wp-content/plugins/jetpack/modules/photon.php</b> on line <b>183</b><br />
			<content:encoded><![CDATA[<p>It&#8217;s time for a little break in our regular programming. Today, April 23rd, marks the 30th anniversary of the launch of the Sinclair ZX Spectrum &#8211; Britain&#8217;s largest selling home computer of the 1980&#8242;s. The Speccy was my first exposure to an actual computer &#8211; I still remember as a 9-year-old in 1982 when my dad brought one home. I clearly remember the smell of the polystyrene inserts as we opened the packaging, and being amazed at what this stylish little black box could do.<span id="more-623"></span></p>
<p><a href="http://www.flickr.com/photos/mattandkim/3836367552"><img class="alignright  wp-image-624" title="ZX Spectrum" src="http://i2.wp.com/blog.mattrudge.net/wp-content/uploads/2012/04/speccy-150x150.jpg?resize=150%2C150" alt="" data-recalc-dims="1" /></a>Perhaps more importantly, the Spectrum introduced me to programming and, I think, laid the basis for  my current involvement with Linux. I started with Sinclair BASIC, an interpreted language built in to the machine, and quickly grasped the fundamentals. Fast forward two years to 1984. Margaret Thatcher and the National Union of Mineworkers were engaged in a vicious power struggle, and my father was on strike with the other miners in Britain. No longer able to afford to buy any games for the Spectrum, I saved up every penny and bought the book &#8220;Mastering Machine Code on your ZX Spectrum&#8221; by Toni Baker. Amazingly by today&#8217;s standards &#8211; where all programming is done from the boxed-in safety of an IDE &#8211; you had to write your own assembler in Sinclair BASIC. Opcodes were firstly written on A4 ruled sheets, and graphics were designed on graph paper from school.</p>
<p>With only 48Kb of RAM (41.5Kb usable) space was at a premium. Programs had to be tight, and no instruction could be wasted in order to get the most out of the 3.5Mhz Zilog Z80 processor. This taught me programming discipline that I still try to use on projects today and, just to put a Linux spin on this post as well, Linus Torvalds (I really don&#8217;t need to tell you who he is, do I?) cut his programming teeth on the successor to the ZX Spectrum, the Sinclair QL.</p>
<p>It&#8217;s not just misty-eyed nostalgic exaggeration when I say that this humble machine, with less computing power than the weakest smartphone, affected my life more than anything else I&#8217;ve ever owned. It taught me fundamentals of computer architecture that are still the same today, and started me on a 30-year journey with computers that I&#8217;m still enjoying today. I hope that projects like <a href="http://www.raspberrypi.org/" target="_blank">Raspberry Pi</a> can create a whole new generation of people who get into programming and computer science for the sheer fun of it, just like my generation did back in the 1980&#8242;s.</p>
<p>Even today, I still own the 48K, rubber-keyed ZX Spectrum (well, two now actually, along with a 128K Spectrum+2 and a 48K Spectrum+), such is the affection that I have for the little machine. So before I do descend into misty-eyed nostalgia, I&#8217;ll finish by saying a huge thank you to Sir Clive Sinclair and the world-changing ZX Spectrum. Happy 30th anniversary.</p>
<p><strong>EDIT:</strong> and a tip of the hat to Google for the doodle at <a href="http://www.google.co.uk" target="_blank">www.google.co.uk</a> today <img src='http://i1.wp.com/blog.mattrudge.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' data-recalc-dims="1" />  screenshot is <a href="http://www.mattrudge.net/files/google-spectrum.png" target="_blank">here</a> in case it&#8217;s gone by the time you read this.</p>
<p>Some Spectrum links:</p>
<p><a href="http://groups.google.com/group/comp.sys.sinclair/" target="_blank">comp.sys.sinclair</a><br />
<a href="http://www.worldofspectrum.org" target="_blank">World of Spectrum</a><br />
<a href="http://en.wikipedia.org/wiki/Zx_spectrum" target="_blank">ZX Spectrum on Wikipedia</a><br />
<a href="http://mattrudge.net/cgc2006/index.html" target="_blank">My CSSCGC 2006 pages</a><br />
My Spectrum Firefox Personas <a href="http://www.getpersonas.com/en-US/persona/109970" target="_blank">here</a> and <a href="http://www.getpersonas.com/en-US/persona/110701" target="_blank">here</a></p>
<p style="text-align: center;"></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattrudge.net/2012/04/23/the-sinclair-zx-spectrum-is-30-years-old/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>It&#8217;s coming&#8230;</title>
		<link>http://blog.mattrudge.net/2012/04/09/its-coming/</link>
		<comments>http://blog.mattrudge.net/2012/04/09/its-coming/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 21:13:36 +0000</pubDate>
		<dc:creator>Matt Rudge</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[precise pangolin]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.mattrudge.net/?p=619</guid>
		<description><![CDATA[I&#8217;ve been using Beta 2 for about ten days now, and it&#8217;s been polished and robust. So, leaving distribution politics aside for a moment, here&#8217;s my favourite six-monthly graphic:]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been using Beta 2 for about ten days now, and it&#8217;s been polished and robust. So, leaving distribution politics aside for a moment, here&#8217;s my favourite six-monthly graphic:</p>
<p><center><a href="http://www.ubuntu.com/"><img src="http://i2.wp.com/www.ubuntu.com/countdown/banner3.png?resize=180%2C150" border="0" alt="The next version of Ubuntu is coming soon" data-recalc-dims="1" /></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattrudge.net/2012/04/09/its-coming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Follow-up to &#8220;Why Linux on the Desktop is Alive&#8221;</title>
		<link>http://blog.mattrudge.net/2012/04/07/follow-up-to-why-linux-on-the-desktop-is-alive/</link>
		<comments>http://blog.mattrudge.net/2012/04/07/follow-up-to-why-linux-on-the-desktop-is-alive/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 17:36:35 +0000</pubDate>
		<dc:creator>Matt Rudge</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[pcworld]]></category>
		<category><![CDATA[response]]></category>
		<category><![CDATA[tony bradley]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.mattrudge.net/?p=612</guid>
		<description><![CDATA[Wow. What a few days it has been. I have to say that I certainly did not expect the reaction that my previous post generated! Call me naive (and that&#8217;s not the worst thing I&#8217;ve been called over the past few days), but I genuinely didn&#8217;t anticipate the amount of views, comments, and discussions on [...]]]></description>
				<content:encoded><![CDATA[<p>Wow. What a few days it has been. I have to say that I certainly did not expect the reaction that my previous post generated! Call me naive (and that&#8217;s not the worst thing I&#8217;ve been called over the past few days), but I genuinely didn&#8217;t anticipate the amount of views, comments, and discussions on other forums that my opinion would cause.</p>
<p>This blog normally trundles along, receiving between 500 to 1,000 views per day, but the <a title="Why Linux on the Desktop is Alive!" href="http://blog.mattrudge.net/2012/04/01/linux-desktop-lives/">&#8220;Linux is alive&#8221;</a> article spiked at twenty times that on the first day! I don&#8217;t want to thrash this subject to death, and I&#8217;m neither apologising nor backtracking on my views, but I want to address just a few of the points that were raised.<span id="more-612"></span></p>
<p><strong>1. &#8220;He is a typical Linux apologist, who treats problems with the operating system as if they don&#8217;t exist&#8221;</strong></p>
<p>Well, since an apologist is someone who argues in defense or justification of something, then I don&#8217;t mind being that! Yes, I use Ubuntu out of choice on my laptop, my media centre, my servers, and my wife&#8217;s netbook; however in my work, I also support Windows, and Mac environments. I am <em>not</em> saying Microsoft/Apple/Google/You (delete as applicable) are evil, but after frustrating times with every version of Windows up to 7, I&#8217;m very happy using Linux.</p>
<p>I don&#8217;t deny that there are issues with the operating system. I just find the attitude that people have towards Linux quite surprising and, I suppose, a little hypocritical. If your new iThing doesn&#8217;t work with Windows, then that&#8217;s Apple&#8217;s fault. If it doesn&#8217;t work with Linux, then that&#8217;s because Linux is not geared for the desktop. Huh? Feel free to point out Microsoft&#8217;s dominant market share here (more on that later), but I think that user outrage needs to be pointed in the right direction. In other words, if some vendors were more supportive, this would lead to a smoother Linux experience with their products. A few years ago, however, while my company was negotiating the Irish distributorship of the now-defunct HP OpenMail-based Samsung Contact, I saw how the large, established software companies viewed enterprise Linux &#8211; and experienced some of their strong arm tactics myself.</p>
<p>Every time I read something about &#8220;Linux must do this because Windows does&#8221;, I get this image of Linux as a cringing, doe-eyed puppy, nipping the heels of Windows users and promising to leap backwards through flaming hoops for them if they&#8217;ll just please stop kicking me. We don&#8217;t need to have this &#8220;forgotten child&#8221; syndrome. Linux is a mature platform, with great support. We don&#8217;t need to apologise for that.</p>
<p><strong>2. My personal favourite &#8211; &#8220;The article was just for page-views &#8211; he probably made a fortune from the advertising.&#8221;</strong></p>
<p>The advertising on this site makes just about enough to cover the cost of hosting (about €40 per year). The &#8220;Donate&#8221; button has been clicked three times since its inception. Over the period of time in question, I made €2.63 from the Google Ads, €0.10 from the Project Wonderful ad, and zero from the Amazon ad or &#8220;Donate&#8221; button.</p>
<p>At exactly 1,200 words, I reckon I made the princely sum of €0.002 per word from the article. You&#8217;re all too smart to click on adverts, you see!</p>
<p><strong>3. Various ad hominem arguments.</strong></p>
<p>After mentioning the &#8220;calm and elegance&#8221; of my Ubuntu installation, there was an animated little discussion saying that I probably use the ugliest theme. Yes- fine, but it doesn&#8217;t matter if I use a lurid, pink, 1970&#8242;s Barbie-in-spandex theme, because I&#8217;m not talking about <em>appearance.</em> I&#8217;m talking about the continual pop-up nags that <em>still</em> appear on Windows &#8211; even though they&#8217;re now aggregated behind an equally irritating speech bubble. I was talking about the ease with which my software is updated through the repositories, and the general speed and lack of fuss with which Linux does its job.</p>
<p>I maintain that if an operating system does its job properly, then you don&#8217;t notice it. My wife never gives thought to what operating system she&#8217;s using&#8230;she just trusts it to do what she wants.</p>
<p>I was also accused of hypocrisy because my comment about the success of Linux not being about the size of its market segment, was twisted together with a sentence in the post that said that Linux on the desktop has millions of users.</p>
<p>I don&#8217;t think the two are mutually incompatible, and the comments were taken out of context. Linux on the desktop will live as long as millions of people use it. It doesn&#8217;t depend on a <em>large</em> market segment, because it&#8217;s not a commercial project. Equally the fact that the majority can be sincerely and deeply wrong is a lesson we still don&#8217;t appear to have learned from history.</p>
<p>The only reason I address these is that I think it&#8217;s easy to miss the point &#8211; and ad hominem attacks just add to the FUD that&#8217;s out there. Like ants crawling on the surface of the Mona Lisa, they can see every tiny imperfection, but miss the beautiful big picture.</p>
<p><strong>4. &#8220;You shouldn&#8217;t criticise a new user&#8217;s opinion&#8221;</strong></p>
<p>I agree with this&#8230;to a point. I wasn&#8217;t trying to criticise Mr Bradley&#8217;s <em>experience</em> with Ubuntu. In fact, his <em>30 Days with Ubuntu Linux</em> article finished quite positively. I like to think I&#8217;m sympathetic to any problems that a new user has, but I took issue with his follow-up article. In this, his stance seemed to have hardened against Linux on the desktop, and he quoted his 9-month old data as proof.</p>
<p>Things move fast in the Linux world &#8211; and IT in general. Unity has also matured a lot &#8211; my 12.04 beta install has proved very robust so far. Additionally, my iPhone syncs with Rhythmbox and updates over the air, so some of the issues he raised 9 months ago are no longer valid. Ubuntu 11.10 was released since his original test, and 12.04 is about to be. Just because Windows Vista might have been woeful, it doesn&#8217;t mean that Windows 7 isn&#8217;t desktop-ready.</p>
<p>Having said that, I&#8217;ve also learned that it&#8217;s easy to get your fingers burned when handling a subject as hot as Linux on the desktop vs Windows! So, in summary:</p>
<ul>
<li>Use whatever operating system makes you happy, and don&#8217;t stress about it; however the &#8220;my distro is better than yours&#8221; arguments don&#8217;t help. Instead they fragment the community and alienate potential new users.</li>
<li>If you&#8217;re going to say that Linux/Windows/Mac OS/Whatever (delete as appropriate) isn&#8217;t ready for the desktop, then at least base your comments on the most recent version.</li>
<li>I welcome discussion about this, but please try to leave emotion at the door. It just adds to the FUD that&#8217;s already out there.</li>
</ul>
<p style="text-align: center;"></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattrudge.net/2012/04/07/follow-up-to-why-linux-on-the-desktop-is-alive/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Why Linux on the Desktop is Alive!</title>
		<link>http://blog.mattrudge.net/2012/04/01/linux-desktop-lives/</link>
		<comments>http://blog.mattrudge.net/2012/04/01/linux-desktop-lives/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 14:24:58 +0000</pubDate>
		<dc:creator>Matt Rudge</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[pcworld]]></category>
		<category><![CDATA[response]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.mattrudge.net/?p=604</guid>
		<description><![CDATA[While helping to edit last week&#8217;s Ubuntu Weekly Newsletter, I came across an article written by Tony Bradley of PC World entitled &#8220;Why Linux on the Desktop Is Dead&#8221;. In it he cited his &#8220;30 days with Ubuntu Linux&#8221; test as proof that Linux on the desktop is not, and will not be a credible [...]]]></description>
				<content:encoded><![CDATA[<p>While helping to edit last week&#8217;s <a href="https://wiki.ubuntu.com/UbuntuWeeklyNewsletter/Issue258" target="_blank">Ubuntu Weekly Newsletter</a>, I came across an article written by Tony Bradley of PC World entitled <a href="https://www.pcworld.com/businesscenter/article/252516/why_linux_on_the_desktop_is_dead.html" target="_blank">&#8220;Why Linux on the Desktop Is Dead&#8221;</a>. In it he cited his &#8220;30 days with Ubuntu Linux&#8221; test as proof that Linux on the desktop is not, and will not be a credible option for users.</p>
<p>I don&#8217;t often use this blog to take exception to things I read (otherwise it&#8217;s probably <em>all</em> I&#8217;d ever do), but in this case, I felt that I had to respond.<span id="more-604"></span></p>
<p>Firstly my own experience of Linux on the desktop has been overwhelmingly positive. All of my hardware works out of the box, and within a few short weeks of having Ubuntu installed, I happily deleted my Windows partition and I&#8217;ve never looked back. That&#8217;s over 5 years ago. Now, it could be argued that as an IT professional, Linux would be more accessible to me; however I&#8217;ve also installed Ubuntu on my wife&#8217;s netbook. She downloads music, browses the web, sends emails, uses productivity packages, prints documents, watches videos, and makes video calls &#8211; and has absolutely no problem with the operating system whatsoever.</p>
<p>So, what were Mr Bradley&#8217;s main issues? I read through the entire 30-days article, and the five things he hated most about his Ubuntu trial were:</p>
<p>1. Inability to sync and update his iPhone</p>
<p>To me this is a weak dislike. This is not Ubuntu&#8217;s or Linux&#8217;s fault. Plus the ability to update iOS over the air has now all but removed the need for me to connect my iPhone to my computer.</p>
<p>2. A dislike of the Banshee music player</p>
<p>There are many more music players in the sea, and writing off an operating system as &#8220;dead on the desktop&#8221; because you don&#8217;t like one application is really grasping at straws. If my reasons for giving up Windows were that I didn&#8217;t like Windows Media Player, then that would be a really petty argument.</p>
<p>3. Difficulties with Wine</p>
<p>Wine can be tricky, I admit; however installing any compatibility layer to run code that&#8217;s native to another operating system is going to be error-prone. Wine does a very good job at providing access to some Windows-only applications, but in my opinion it&#8217;s better to find a Linux alternative, and only go down the Wine route if you absolutely can&#8217;t live without a certain Windows program.</p>
<p>4. The feeling of &#8220;swimming upstream&#8221;.</p>
<p>I really did take issue with this one. As someone who has struggled with (and blogged about) certain vagaries of Microsoft programs and operating systems, this rankled. Ubuntu&#8217;s job is <em>not</em> to be a Linux-based Windows look-alike. Many things are, in fact, easier with Ubuntu &#8211; setting up and publishing websites for one. If there&#8217;s a problem, then a huge community is instantly accessible to provide help.</p>
<p>When you are using a different operating system it is only to be expected that certain things don&#8217;t operate the way you would immediately expect. &#8220;I really hate my new Ford because it doesn&#8217;t look like my old Toyota&#8221; would be a foolish comment, but not when it comes to computer operating systems it seems.</p>
<p>Mr Bradley&#8217;s comment that &#8220;if Ubuntu Linux was a microwave&#8211;I would have to first research obscure types of food uniquely crafted to work with the Ubuntu Linux microwave, then press the magic button enabling the food to be cooked, and search through forums and online help to find the specific way to rewire my microwave to work with that particular food&#8221; is just plain wrong. This is based on his attempts to get his VPN connection working. I don&#8217;t think that it&#8217;s counter-intuitive to type &#8220;VPN&#8221; in to the Ubuntu Software Center if you&#8217;re looking for&#8230;ummm&#8230;a VPN client!</p>
<p>As a 100% Linux user, who occasionally has to use Windows on another PC, I now find the Windows way of doing things to be counter-intuitive, unhelpful, nagging, and awkward. When fixing a friend&#8217;s Windows 7 installation recently, I couldn&#8217;t wait to get away from the busy, irritating, pop-up dialog boxes and back to the calm and elegance of my Linux installation.</p>
<p>5. Linux flamers</p>
<p>True, there are some. Mr Bradley describes them as &#8220;arrogant, self-righteous jerks&#8221;, and there certainly are many of them out there &#8211; in support of whatever operating system or gadget you want to choose. Critically, though, I think many were taking exception to his desire for Ubuntu to be an identical-looking slot-in replacement for Windows. This is never going to be the case &#8211; and shouldn&#8217;t be, either.</p>
<p>A further factual inaccuracy in the 30-days article had to do with the comparative file-sizes of ODT vs DOCX files. Mr Bradley states that his ODT file was 500% larger than the DOCX. That may be true for small files, but as the file size increases, the ODT format becomes much more economical. A 764k DOCX file would be only 438k as an ODT, for example. The article states that  for an organization with thousands upon thousands of files, those KBs will add up, and no organization wants to have to purchase or maintain five times more storage capacity for the exact same data&#8221;. True, but not true &#8211; since the overhead only seems to be an issue with small files.</p>
<p>I suppose I&#8217;m really wondering why the follow-up article was written. The original 30-day test was performed with Ubuntu 11.04 in June of last year. This article was written on March 24th of this year, and didn&#8217;t really seem to add anything to the debate. The headline, though, is certainly attention-grabbing enough and guarantees a few page-views.</p>
<p>While he acknowledges Ubuntu&#8217;s wonderful and knowledgeable users, he also says that &#8220;it’s often difficult to find them through the sea of self-righteous flamers who berate you for not knowing what you’re doing&#8221;. That&#8217;s not true or fair at all &#8211; the Ubuntu Forums are a treasure trove of genuinely helpful folks. These people give their time and expertise for free to help out other users, so occasionally an element of frustration can creep in when a user wants a Windows clone, and acts like you owe them something because they decided to try Linux.</p>
<p>For those of us who get on perfectly happily with Ubuntu &#8220;it doesn’t change the fact that you’re part of a negligible market segment&#8221;. I don&#8217;t recall making <em>any</em> decision in life based on belonging to the biggest market segment. History has proved time and again that the majority can be very sincerely wrong. Also, since Linux is not a commercial project, it doesn&#8217;t actually <em>need</em> a large market share to succeed.</p>
<p>In the end, I just feel frustrated, because I don&#8217;t consider these type of articles to be helpful at all. It seems to be Linux-bashing for the sake of readership figures. I&#8217;m not saying that Ubuntu is better than Windows, but I do feel that, after giving Ubuntu a 30 day trial and only being able to come up with five fairly weak reasons for disliking it, Mr Bradley is drastically exaggerating when he proclaim&#8217;s Ubuntu&#8217;s desktop death. The death or life of an operating system depends on those who use it &#8211; and with tens (possibly hundreds) of millions of desktop users, I think that indicates that Linux on the desktop is very much alive.</p>
<p STYLE="text-align: center;"></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattrudge.net/2012/04/01/linux-desktop-lives/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
		<item>
		<title>Recovering Bad Superblock on ext4</title>
		<link>http://blog.mattrudge.net/2012/03/17/recovering-bad-superblock-on-ext4/</link>
		<comments>http://blog.mattrudge.net/2012/03/17/recovering-bad-superblock-on-ext4/#comments</comments>
		<pubDate>Sat, 17 Mar 2012 20:50:56 +0000</pubDate>
		<dc:creator>Matt Rudge</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bad]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[superblock]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.mattrudge.net/?p=597</guid>
		<description><![CDATA[Shortly after my last post, my aging Dell Studio laptop learned the hard way that gravity can sometimes be a cruel and heartless mistress. I learned a couple of lessons too. Notably that 1) Dell Studio laptops do not bounce and 2) hardwood floors are called that for a reason. After recovering the pieces (well [...]]]></description>
				<content:encoded><![CDATA[<p>Shortly after my last post, my aging Dell Studio laptop learned the hard way that gravity can sometimes be a cruel and heartless mistress. I learned a couple of lessons too. Notably that 1) Dell Studio laptops do not bounce and 2) hardwood floors are called that for a reason. After recovering the pieces (well most of them), sadly the computer would no longer boot, and the screen was beyond repair.</p>
<p>I got myself set up again with a nice, Ubuntu-happy laptop, which I&#8217;ll tell you about in another post. I removed the hard drive from the old Dell and put it in a 2.5&#8243; external USB enclosure to try to try and mount my /home partition for data recovery, which is when I got the dreaded &#8220;Bad superblock on /dev/sdb3&#8243; error.<span id="more-597"></span></p>
<p>Interestingly fsck is happy to tell you that you have a bad superblock, but it doesn&#8217;t tell you either what a superblock is, or how to fix the problem. So, first things first, the superblock is a record of the filesystem details, such as its size, block size, the used and unused blocks, the size and location of the inode tables, and so on. Any time you access a file, the superblock is read.</p>
<p>So, how can you recover a bad superblock? Fortunately for us, backup copies of the superblock are kept at certain offsets on the disk. To find out where the superblock backups are, open a terminal window and type:</p>
<p style="padding-left: 30px;"><code>sudo mke2fs -n /dev/????</code></p>
<p>Where <strong>????</strong> is the partition you want to check, which in my case was <strong>sdb3</strong>. This produces output, like the following:</p>
<p style="padding-left: 30px;"><code>Superblock backups stored on blocks:<br />
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,<br />
4096000, 7962624, 11239424, 20480000, 23887872<br />
</code></p>
<p>These are block numbers, signifying the location of the superblock backups.</p>
<p>To replace the superblock with one from a backup, type the following:</p>
<p style="padding-left: 30px;"><code>sudo e2fsck -y -b block_location /dev/????</code></p>
<p>Replace <strong>block_location</strong> with one of the above numbers and, again, <strong>????</strong> is the partition, so in my case it was <strong>sdb3</strong>.</p>
<p>There was significant corruption on my hard drive, but supplying the -y switch stopped fsck asking for confirmation every time it encountered a bad block.</p>
<p>After running this, I was able to mount the partition and recover my data.</p>
<p STYLE="text-align: center;"></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattrudge.net/2012/03/17/recovering-bad-superblock-on-ext4/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
