<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ubuntu on System Overlord</title><link>https://systemoverlord.com/tags/ubuntu.html</link><description>Recent content in Ubuntu on System Overlord</description><generator>Hugo</generator><language>en-us</language><managingEditor>david@systemoverlord.com (David Tomaschik)</managingEditor><webMaster>david@systemoverlord.com (David Tomaschik)</webMaster><lastBuildDate>Mon, 20 Oct 2014 14:19:40 +0000</lastBuildDate><atom:link href="https://systemoverlord.com/tags/ubuntu/index.xml" rel="self" type="application/rss+xml"/><item><title>PSA: Typos in mkfs commands are painful</title><link>https://systemoverlord.com/2014/10/20/psa-typos-in-mkfs-commands-are-painful/</link><pubDate>Mon, 20 Oct 2014 14:19:40 +0000</pubDate><author>david@systemoverlord.com (David Tomaschik)</author><guid>https://systemoverlord.com/2014/10/20/psa-typos-in-mkfs-commands-are-painful/</guid><description>&lt;p&gt;TL;DR: I apparently typed &lt;code&gt;mkfs.vfat /dev/sda1&lt;/code&gt; at some point. Oops.&lt;/p&gt;
&lt;p&gt;So I rarely reboot my machines, and last night, when I rebooted my laptop (for graphics card weirdness) Grub just came up with:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Error: unknown filesystem.
grub rescue&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;WTF, I wonder how I borked my grub config? Let&amp;rsquo;s see what happens when we ls my /boot partition.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;grub rescue&amp;gt;ls (hd0,msdos1)
unknown filesystem
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Hrrm, that&amp;rsquo;s no good. An &lt;code&gt;ls&lt;/code&gt; on my other partition isn&amp;rsquo;t going to be very useful, it&amp;rsquo;s a LUKS-encrypted LVM PV. Alright, time for a live system. I grab a Kali live USB (not because Kali is necessarily the best option here, it&amp;rsquo;s just what I happen to have handy) and put it in the system and boot from that. &lt;code&gt;file&lt;/code&gt; tells me its an &lt;code&gt;x86 boot sector&lt;/code&gt;, which is not at all what I&amp;rsquo;m expecting from an ext4 boot partition. It slowly dawns on me that at some point, intending to format a flash drive or SD card, I must&amp;rsquo;ve run &lt;code&gt;mkfs.vfat /dev/sd&lt;/code&gt;&lt;strong&gt;&lt;code&gt;a&lt;/code&gt;&lt;/strong&gt;&lt;code&gt;1&lt;/code&gt; instead of &lt;code&gt;mkfs.vfat /dev/sd&lt;/code&gt;&lt;strong&gt;&lt;code&gt;b&lt;/code&gt;&lt;/strong&gt;&lt;code&gt;1&lt;/code&gt;. That one letter makes all the difference. Of course, it turns out it&amp;rsquo;s not even a valid FAT filesystem&amp;hellip; since the device was mounted, the OS had kept writing to it like an ext4 filesystem, so it was basically a mangled mess. &lt;code&gt;fsck&lt;/code&gt; wasn&amp;rsquo;t able to restore it, even pointing to backup superblocks: it seems as though, among other things, the root inode was destroyed.&lt;/p&gt;</description></item><item><title>Linode Rocks!</title><link>https://systemoverlord.com/2011/05/18/linode-rocks/</link><pubDate>Wed, 18 May 2011 03:13:28 +0000</pubDate><author>david@systemoverlord.com (David Tomaschik)</author><guid>https://systemoverlord.com/2011/05/18/linode-rocks/</guid><description>&lt;p&gt;
	As you may know, my site is hosted by &lt;a href="http://www.linode.com/?r=680a893e24df3597d32f58cd41930e969027dc06"&gt;Linode&lt;/a&gt;, one of the older Linux VPS providers.  I was excited when Linode &lt;a href="http://blog.linode.com/2011/05/03/linode-launches-native-ipv6-support/"&gt;announced native IPv6 support&lt;/a&gt; in some of their data centers, but then disappointed when I saw "No ETA" for the Atlanta datacenter where my site was hosted.  I had been running my node with Hurricane Electric's IPv6 tunnel service, but I prefer a native solution when I can get it.&lt;/p&gt;</description></item><item><title>Announcing NetStatUI: A PyGTK interface for network statistics</title><link>https://systemoverlord.com/2011/01/22/announcing-netstatui-a-pygtk-interface-for-network-statistics/</link><pubDate>Sat, 22 Jan 2011 18:06:48 +0000</pubDate><author>david@systemoverlord.com (David Tomaschik)</author><guid>https://systemoverlord.com/2011/01/22/announcing-netstatui-a-pygtk-interface-for-network-statistics/</guid><description>&lt;p&gt;NetStatUI is my first significant FOSS release. It&amp;rsquo;s also my first significant Python project and my first use of GTK+. Yes, that&amp;rsquo;s a lot of firsts all at once, so I apologize if I&amp;rsquo;ve done things sub-optimally. I&amp;rsquo;m still learning some of the wonderful niceties of Python (a subject of a later post) and so I may have done some things &amp;ldquo;the other way.&amp;rdquo; NetStatUI is a program to display statistics and information about the IP connections currently on your system. It is an attempt to provide a usable NetStat work-alike for the desktop user. Many new users are shy of the command line, and having a graphical version may be useful.&lt;/p&gt;</description></item><item><title>1 OS, 2 Servers, 5... days?</title><link>https://systemoverlord.com/2010/11/18/1-os-2-servers-5-days/</link><pubDate>Thu, 18 Nov 2010 05:34:09 +0000</pubDate><author>david@systemoverlord.com (David Tomaschik)</author><guid>https://systemoverlord.com/2010/11/18/1-os-2-servers-5-days/</guid><description>&lt;p&gt;At work, we're switching a number of our LAMP stack applications to be hosted on &lt;a href="http://ubuntu.com"&gt;Ubuntu Server&lt;/a&gt;.  Because of its increased stability, we generally run the LTS editions, so we're currently on Lucid Lynx (10.04).  In this particular case, we're moving our &lt;a href="http://drupal.org"&gt;Drupal&lt;/a&gt; CMS hosting over from RHEL 5.4 to Ubuntu Server on two new servers to be configured for high availability.  Turns out it took 5 days to do what would normally be done in a half a day.&lt;/p&gt;</description></item><item><title>Android Development on Ubuntu 10.04</title><link>https://systemoverlord.com/2010/06/15/android-development-on-ubuntu-1004/</link><pubDate>Tue, 15 Jun 2010 03:56:26 +0000</pubDate><author>david@systemoverlord.com (David Tomaschik)</author><guid>https://systemoverlord.com/2010/06/15/android-development-on-ubuntu-1004/</guid><description>&lt;blockquote&gt;&lt;p&gt;If you've been trying to use the Android SDK on Ubuntu 10.04, you might be getting an error like:&lt;/p&gt;
&lt;p&gt;No command line parameters provided, launching UI.&lt;br /&gt;
See 'android --help' for operations from the command line.&lt;br /&gt;
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in swt.library.path, java.library.path or the jar file&lt;br /&gt;
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)&lt;br /&gt;
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)&lt;br /&gt;
at org.eclipse.swt.internal.C.&amp;lt;clinit&amp;gt;(Unknown Source)&lt;br /&gt;
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)&lt;br /&gt;
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)&lt;br /&gt;
at org.eclipse.swt.widgets.Display.&amp;lt;clinit&amp;gt;(Unknown Source)&lt;br /&gt;
at com.android.sdkmanager.Main.showMainWindow(Main.java:265)&lt;br /&gt;
at com.android.sdkmanager.Main.doAction(Main.java:249)&lt;br /&gt;
at com.android.sdkmanager.Main.run(Main.java:94)&lt;br /&gt;
at com.android.sdkmanager.Main.main(Main.java:83)&lt;/p&gt;</description></item><item><title>Review: The Art of Community (Jono Bacon)</title><link>https://systemoverlord.com/2009/10/06/review-the-art-of-community-jono-bacon/</link><pubDate>Tue, 06 Oct 2009 21:55:24 +0000</pubDate><author>david@systemoverlord.com (David Tomaschik)</author><guid>https://systemoverlord.com/2009/10/06/review-the-art-of-community-jono-bacon/</guid><description>&lt;p&gt;I had the privilege of receiving an early copy of &lt;a href="http://www.artofcommunityonline.org"&gt;The Art of Community&lt;/a&gt; by Jono Bacon for review.  It's taken a little longer than I had hoped to get through it, but that's by no means a reflection of the book.&lt;/p&gt;
&lt;p&gt;"The Art of Community" tackles a very difficult question in the Open Source world: how do you build a strong community around your project?  Jono addresses this by using anecdotal evidence of good community organization, and discussing the facets that apply to community development.  Jono's varied experiences are shown through anecdotes about the Ubuntu community and other communities he has participated in.  The stories he shares are concise and clear, but demonstrate their points effectively and thoughtfully.  Jono's writing skills are first-rate, with strong points made clearly.  He builds the community idea from grassroots to the enterprise and shows how community participation can help -- and harm -- at each step along the way.  It's obvious that Jono knows what he's talking about, and he communicates it well.  I highly recommend this book for anyone interested in the dynamics of a community or any project leader looking to build from the ground up.&lt;/p&gt;</description></item></channel></rss>