Skip to content

Ubuntu Codenames

With the release of Ubuntu 9.04 about 2 months out, Mark Shuttleworth will be announcing the codename of Ubuntu 9.10 fairly soon. This gets the community excited, as historically, Ubuntu releases have had entertaining codenames with interesting patterns. For example, the first three releases were after badgers: Ubuntu 4.10 “Warty Warthog”, Ubuntu 5.04 “Hoary Hedgehog” and Ubuntu 5.10 “Breezy Badger”. Ubuntu 6.06 was named after a duck, “Dapper Drake”, and it’s been alphabetical since. Currently, we’re on the letter “I”, with the letter “J” to be released for 9.04, which means “K” is the likely candidate for Ubuntu 9.10.

Now, here’s what I would like to see from the community: quit calling the releases after their codenames. Start calling them after their version number. Here’s why. Most people don’t know what version “Feisty Fawn” was without thinking about it, or pulling up Google. For those who have been running Ubuntu, they’ll remember their experience with the codename if it was significant, but the average Ubuntu user doesn’t recall codenames. But, they do recall time, with how long they have been using Ubuntu. So, when I say “I’ve been using Ubuntu since 4.10″, or “Remember Ubuntu 7.04?”, then people will know more specifically what version I am referring to. However, when I say “I’ve been using Ubuntu since Warty”, or “Remember Feisty?”, people will most likely not know what version I’m referring to. Consider the following scenario:

I started with Linux when Red Hat Enigma released. I then moved to Fedora Yarrow, and left around Zod. Now I’m running Debian Etch as a server with Ubuntu Intrepid on my laptop and Hardy on my Desktop.

You get the idea. After all, you don’t refer to OpenOffice.org by it’s codename, or Firefox for that matter. So why refer to Ubuntu by just the codename?

So, when the announcement is made, the Internet will be a buzz about the new codename, and we’ll see image mock ups galore. But, would it be too much trouble to start calling the releases after their version number instead of codename? If you’re going to insist on using the codename, would it be too much trouble to append the version number with it? “Ubuntu Intrepid 8.10″. It would be nice to see the version numbers in blog posts, forums posts, mailing lists, IRC, and even in speech used much more. As long as you’re familiar with the how the version number is compiled, people will feel less alienated and more likely to know what you’re talking about.

With that said, I do enjoy the codenames as much as the next guy, and I even enjoy the wallpaper themes that have surrounded the codename on the past two releases. Further, by default, the codename is used in the repository sources file on every Ubuntu system by default, so, becoming familiar with them is beneficial.

Ubuntu Vs. Fedora Artwork

I’ve had this discussion a couple of times with some friends about which looks better: Ubuntu or Fedora. So, I decided to take a poll from my readers, and see what you think. Which vendor does a better job at artwork? I’ve provided screenshots of the default wallpaper for each release on both distributions. Now, you may be asking, “Why not [insert your favorite distro here]?” Frankly, because if I were to meet everyone’s needs in that regard, this would be a very large post, and it wouldn’t change your biased mind anyway. Also, the discussion my friends and I have had in the past were Ubuntu vs. Fedora, not Ubuntu vs. Fedora vs. Arch vs. Mandriva vs. Debian vs. etc., etc., etc.

Lastly, both distributions have done a solid job in artwork and look-and-feel for their operating system. No doubt. However, there have been some bumpy roads with both as well. For example, I love the latest default wallpapers for the past two releases on both distributions. However, Fedora Core 6 isn’t a solid wallpaper, and neither is Ubuntu 6.06. Those who know me, know I’m not a fan of the Human theme that is default in Ubuntu either. But, the latest Fedora theme isn’t any better in my eyes as well. So, what are your opinions? What do you think about the artwork between the two biggest GNU/Linux distributors? Share you judgments in the comments below.

Click on an image to see an uncropped larger image. All images are in order of release from oldest to newest. Hover your mouse over the image to see the release info.

Fedora:
Fedora Core 1 Screenshot Fedora Core 2 Screenshot Fedora Core 3 Screenshot Fedora Core 4 Screenshot Fedora Core 5 Screenshot Fedora Core 6 Screenshot Fedora 7 Screenshot Fedora 8 Screenshot Fedora 9 Screenshot Fedora 10 Screenshot

Ubuntu:
Ubuntu 4.10 Screenshot Ubuntu 5.04 Screenshot Ubuntu 5.10 Screenshot Ubuntu 6.06 Screenshot Ubuntu 6.10 Screenshot Ubuntu 7.04 Screenshot Ubuntu 7.10 Screenshot Ubuntu 8.04 Screenshot Ubuntu 8.10 Screenshot

25 Random Things About Me

I hate Facebook Application requests, and I think more and more of my family and friends are coming to agreeance. To put it bluntly, I’m not interested in taking the “What kind of [insert random noun here] are you?” quiz. I’m not interested in playing YoVille (although my wife seems to enjoy it). I’m not interested in discovering which of my friends are my relatives (I know that already). So, it’s no surprise then that I got ignored bing “tagged” in “25 Random Things About Me” about seven times so far.

Fine. I’ll give in. :)

Well, on my previous blog that used to run under my family name, I blogged 101 things about me. Well, seeing as though that blog is no longer, I’m willing to put them back up here, except just using the top 25 instead of all 101. Also, I’m not going to “tag” anyone on Facebook, because I won’t read them anyway, and I find the application requests annoying. However, my blog syndicates to Facebook notes, so if you’re interested, you’ll see this post under my profile and read it there.

With that, here we go:

  1. I suffer from obsessive compulsion disorder in Mathematics and Geometry. For example, I count tiles in the floor as I walk. I won’t step on right angles, or even imaginary lines that form from a phsyical right angle. A stack of cards has to form a perfect rectangle. I calculate Pi in my head in different number bases. And so forth.
  2. I count in binary on my fingers, not in base 10. This means you’ll probably be offended when I’m on the number 4 or 5.
  3. I type in the Dvorak Simplified Keyboard layout, not the standard “QWERTY” layout that is seen on all keyboards.
  4. I also type on a Das Keyboard Ultimate, the greatest keyboard manufactured to date.
  5. I have played the viola, cello, string bass, bass guitar, standard guitar, drums and saxaphone. I still play the piano.
  6. My political views place me slightly left on the communism to neo-liberalism scale , which means I’m more left than the standard US Democratic party. I lean towards the anarchist side of libertarian to authoritarian scale, rather than fascist. This puts me in roughly the same political views as that of Ralph Nader and Dennis Kucinich. Take your test here: http://www.politicalcompass.org/test.
  7. I’m so allergic to cats, that while serving a mission for the LDS church, I was in an apartment where a lady had 5 cats, and no ventilation. In 15 minutes, my throat had nearly closed shut, I had broken out in hives and my eyes were swollen shut. My companion had to lead me home, where I downed allergy medicine like it was going out of style. I was approaching Death’s door.
  8. Oh yeah, I’m Mormon.
  9. I also served my LDS mission in the Greater Toronto Area, in Ontario, Canada. Initially, I was called to serve in Montreal, Canada, but they switched me to the Toronto East mission 2 months into my training area. I didn’t know why until the next point below.
  10. I met Keri, my lovely wife, while serving my mission in Toronto. She was a sister missionary in the same mission as I was. Her mom set us up when we got home, and 5 months later, we were married.
  11. I have one child, a daughter, who was adopted. She’s currently 15 months old, and a bundle of joy.
  12. I am anti-proprietary software. Most readers of my blog recognize this. This means that I don’t run Windows, I don’t play MP3s, I don’t use Microsoft Office, and I don’t even run Mac OS X (my wife does though). Yes, there is a world outside of Microsoft and Apple.
  13. I have visited 26 of the 50 states, dipped my toes in both the Atlantic and Pacific oceans, and have visited two other countries (Canada and Germany) and one other continent (Europe).
  14. I currently own 6 computers, all which are operational and serve at least one function. Because of their power consumption, I take an aggressive stance to preserving power as much as possible (turning the monitors off after 10 min of inactivity, hibernation after 20 minutes of inactivity, etc.).
  15. Every bulb in my house is a compact fluorescent. I’m saving 80% of the electricity in light bulbs compared to the previous home owner.
  16. I am the organist for my church. I love it, and hope I don’t get another responsibility.
  17. By profession, I am a Red Hat Enterprise Linux, Solaris and HP-UX system administrator. By hobby, I am a Debian and Ubuntu system administrator and Python programmer.
  18. I find women who use Unix-like operating systems sexy, just like other guys who find women driving motorcycles or trucks sexy. Guess what? My wife uses a Unix-based operating system. My wife is sexy.
  19. I believe in ghosts (not in the traditional sense of poltergeists or what the movies think they are), UFOs (although I don’t believe they’ve visited us yet, despite all the “sightings” and Area 51) and dinosaurs (although I have a different view of their existence).
  20. I am stubborn as a mule, and I come across frank, blunt and slightly offensive when my stubbornness comes out. It’s not intentional, it just happens.
  21. I believe what a person says first through logical thinking and argument, then through authority and ethics, and lastly through emotion.
  22. I studied Latin while serving my LDS mission, and I am studying a language called Lojban- the logical language.
  23. I have a deep personal insecurity that people are talking about me behind my back and criticizing my every move, even if they don’t know me. It plagues my mind in the grocery store, restaurant, school, work, home and everywhere.
  24. I’m usually stuck in second gear, which means I get things done at my own pace. There’s no fire, no emergency to my life. I’m fairly care-free and I stop to enjoy the little things along the way.
  25. I pace when I talk. Whether it’s on the phone, in person or even when talking to myself. Something about pacing and talking- I can’t separate the two as hard as I try, which makes it interesting for public speaking engagements, even in church.

Top Four Alternatives To Ubuntu Linux

I can’t sleep, so what do I do? Hit the Google Machine, and begin wasting time, hoping I’ll get sleepy, and go back to bed. During my time wasting, I come across an old article (5 months old) about the top four alternatives to Ubuntu Linux. Of course, everyone who reads the article are going to have differing opinions, and I don’t know anything about Matt Hartley, the journalist behind the piece. However, I have disagreements with the distributions he picked.

The first choice, openSUSE (it’s not “openSuSE”), wouldn’t be my first pick- maybe second or third, but it would still make the list. However, PCLinuxOS I thought was an odd choice. PCLinuxOS is based on Mandriva, the company with a failing business model. The only thing PCLinuxOS has going for it, is the plethora of non-Free Software applications they bundle, making the transition from Windows a breeze. Other than that, it’s just a run-of-the-mill-everyday-linux-distro. Nothing special. Certainly nothing on par with Ubuntu. It had its rise to popularity just about half a year ago, but it seems to be slipping, as packages aren’t fully tested, and the common experience overall is an unstable one.

What would have been my second choice? Fedora. Although I too am a heavy Debian/Ubuntu fan, and prefer DPKG to RPM, Fedora is an innovative distribution. In fact, I would reorder the list, and put Fedora first. Its only drawback is the focus on system administration over the desktop. However, they haven’t neglected the desktop, and have turned out an overall pleasant experience. Fedora is more bleeding edge than Ubuntu, which could also be seen as a good and bad thing. Good, in that you’ll be able to test newer software before others, bad in that this newer software will probably break something, and you get to figure out how to fix it. But hey, you’re learning your operating system, right?

The other choice I found really odd was Freespire. I think the author chose this distribution, because he didn’t want to put Debian on the list, but couldn’t find a good enough Debian desktop replacement other than Freespire. Freespire is a dead distro. They haven’t seen a release since September of 2007, and their parent distro, Linspire has had a bumpy road in the past, such as getting into a court battle with Microsoft over their previous name “Lindows”. Kevin Carmony also was president and CEO up until June 2007, where he abandoned ship, and joined the Ubuntu community. In fact, Carmony himself, has noticed that Linspire is dead, after being sold to Xandros. Freespire was a very poor choice to put on the list, mainly for the fact that the users won’t be able to find updates or support for this desktop choice.

Rather, he should have stuck with his gut feeling, and picked Debian. Debian has always been a rock-solid desktop, and from the looks of the upcoming release of Lenny, will continue to be so. The Debian developers do all they can to package the software in a manner that is most compatible with the majority of hardware out there. I’ve personally run Debian on my laptop and on my desktop, as well as countless VMs. There are so many advantages to Debian as a desktop, it’s really quite silly that it didn’t make the list. Plus, because of the Ubuntu community, Debian is growing, whether it be disgruntled Ubuntu users that switch to Debian, or Ubuntu working with upstream Debian to make it more popular, Debian is becoming a top choice among users. However, Debian has a few scars, and even a couple open wounds. Debian holds true to the Free Software ideals, which means they don’t believe in shipping proprietary software. This results in Debian not working with as much hardware as distributions that do ship with it. It also means a lighter selection of software applications and codecs. Now, Debian has remained practical, and you can enable the non-free repositories to get access to that software, but it’s not enabled for you, which means a new user is unlikely to know about it.

Lastly, Linux Mint was a good choice. I’ll agree with this one as well. Linux Mint is a fork of Ubuntu Linux, where greater usability is top priority. DVD playback, Win32 codecs, browser plugins, Java, Flash, and other software is bundled by default, and makes for a good comfortable choice for someone coming from the Windows camp, and wishing to not do a lot of work.

So, those would be my picks, in order of first Fedora, then Debian, then openSUSE and then lastly Linux Mint. it also seems that Distrowatch agrees with me, although our orders might be a bit mixed.

Don’t Run Internet Explorer

I’ve said it before, and I’ll say it again:

The ONLY purpose Internet Explorer serves, is to download Mozilla Firefox.

I subscribe to Bruce Schneier, leading expert on security. His articles and publications are always well written, and he brings so much to the table in terms of security. Well, the latest entry on his blog is a link to an interview done with an Adware programmer. As you read the article, it’s clear that Internet Explorer has some serious flaws, and these programmers are taking clear advantage of them. One might even go so far to say that Microsoft is aware of the holes, and turning a blind eye as they have an opportunity to make money on security software. At any event, IE is a serious security flaw, and anyone or any company even halfway serious about malware should take a second look at the flagship browser, and find an alternative.

Of course, we’ve been saying this to family and friends over and over and over until we’re blue in the face, but they aren’t listening. Maybe this article is good ammunition to have at your disposal. Good read.

Operating Systems- A Baby Board Book

After about 4-5 hours last night, and early this morning, I finished creating a board book for my 15-month old daughter. Of course, what better topic to choose than that of operating systems? So, I settled with GNU/Linux, UNIX and other operating systems as the main categories for the book, and it turned out great! The goal of the book is to teach her operating systems that she can easily point at. Believe it or not, toddlers catch on fast to this game.

The layout of the book has 3 main categories, with each of their respective operating systems beneath it. Then, the title of each page is the main branch of which many operating systems are based on. For example, in the “GNU/LINUX” category, there is the “Debian” branch, which you will find Knoppix and Ubuntu, among others. I wanted to grab the largest branches of each category, then get the most popular systems that are still in active development from each branch. I wasn’t interested in “dead” systems. I also didn’t want to repeat operating systems in multiple categories, so I kept it as unique as possible. I did the best I could, although I’m sure I overlooked some more popular systems than what I chose. Here’s my breakdown:

GNU/LINUX

  • Debian: CrunchBang, KNOPPIX, Linspire, MEPIS, Ubuntu and XandrOS.
  • Fedora: Blag, CentOS, LinuxXP, Red Hat, TurboLinux and Yellow Dog Linux.
  • Slackware: Austrumi, DeLi Linux, Frugalware, GoblinX, Slax and Vector Linux.
  • Independent: Arch Linux, Gentoo Linux, GoboLinux, Linux From Scratch, Sorcerer and openSUSE.

UNIX BASED

  • AT&T: AIX, HP-UX, MINIX, OpenSolaris, SCO and SGI IRIX.
  • BSD: DragonFly BSD, FreeBSD, Mac OS X, NetBSD, OpenBSD and PCBSD.

Other

  • Other: Haiku OS, GNU HURD, Plan 9 from Bell Labs, PureDarwin, IBM OS/2 Warp and Microsoft Windows.

Yes, SCO Unix and Microsoft Windows are listed. As either a company or an operating system, they have had a profound effect on the operating system market as a whole. Further, this book isn’t about Free operating systems, but as a light educational resource for operating systems in general. Pictures are worth a thousand words, so here they are (in the last picture, my daughter is nicknamed “Boo” as she was born on Halloween 2007):


First, the board book. You can find blank board books all over the Internet. The ones that my wife and I have are 5″ square with 10 inner pages, an outer cover page and back page, which brings the total to 12 complete pages that you can print and stick to the book. The paper I printed on 8 1/2″ x 11″ white shipping label sticky paper. After printing, cut the paper as necessary, peel the protective backing from the shipping label and apply it to the book. You can use my template here, if you wish (ODT). I used the GIMP for my image manipulation, and found most of my images off of Distrowatch. There are a few SVG icons used from the Tango icon set, many were Googled, and some made by hand. The font used for the cover and three main categories is “URW Chancery L Italic” and the font on the back cover is “Liberation Mono”.

The images are PNG files, and if you wish, can be downloaded here: Front cover, page 1, page 2, page 3, page 4, page 5, page 6, page 7, page 8, page 9, page 10, back cover. All are licensed under the public domain. Individual logos licensed as appropriate by their respective owners.

For those geek readers of my blog, you’ll probably notice a couple oddities about the book. First, MEPIS was initially based on SUSE, then Debian and now Ubuntu. It’s currently a Debian-like distro, so that’s where it sits. CentOS isn’t based on Fedora, but Red Hat Enterprise Linux, however, it’s such a major Red Hat-like distribution, than I couldn’t overlook it. MINIX isn’t a AT&T System V derived UNIX, but a UNIX-like system written from scratch. It pulls almost entirely from the System V philosophy, so I put it there. With the BSDs, some will say that Mac OS X isn’t a BSD-based UNIX, but a hybrid of many UNIX like technologies, including Mach. Because most of the userspace tools on OS X are pulled from FreeBSD, it seems a good fit. Lastly, I know that OS/2 Warp is no longer in active development, but I was having a hard time filling the “Other” category with six systems. I could have chosen Palm, but I was looking for operating systems that could be installed on a desktop, laptop or server, rather than embedded, mobile or otherwise. Also the “Other” page isn’t alphabetical like the others. Oh well.

Now that this book has been realized, I have some other ideas for baby board books that will “geek it up” for my daughter, including programming languages, Internet browsers and protocols (that should be interesting). Feel free to use my template here for my operating systems book, and modify as you see fit. The template file itself is also under the public domain.

Identi.ca- Twitter For Geeks

Yesterday, Evan released version 0.7.0 of the Laconica microblogging software. He also pushed it out as an update to the growing Identica. There have been some new features added to the site, and I’ll be covering them here.

First, however, last night, Levi and I were chatting away in #utah on Freenode about the protocols Twitter and Identica use. Levi was frustrated that Twitter has built a crappy protocol that really doesn’t do much than make noise. If you want to get any signal out of the noise, such as follow specific hashtags, you have to use a separate protocol on top of Twitter, such as RSS. I agreed that the implementation is severely flawed. The ONLY way to follow hashtags is through RSS. There is no mechanism built into the Twitter protocol to do so. As such, it could be said that hashtags themselves are a design flaw in microblogging. Furthermore, you will only see the hashtags of those you are following, not those you aren’t. This probably makes sense, in that you don’t want a flood of text from people you don’t know, especially when hashtags are not “opt-in”. However, it shows another flaw in the design- you’ll never see a broader discussion about that topic. Lastly, if you’re using the web interface, and not a Twitter “client” of some sort, there is no way other than RSS to see all the posts for that hashtag, despite who you’re following. As it sits, Twitter is broken. But we knew that already. After all, they ditched their Jabber bot, and they’ve had more birds and whales than tweets.

Enter a solution from the Laconica microblogging software. Yesterday, with the new release of the software, a new feature has been announced that’s been all the buzz- groups. Groups are like hashtags. They represent a topic at hand that someone wants to discuss. However, they address the failing problem with hashtags- using the protocol to follow discussion. First off, groups are opt-in, which means you find a group, then click the link to join the group. Then, when you want to post something to the group, you precede it with the bang. Say I joined the group Ubuntu, and I wanted to post a message about a new installation, I could do something similar to ‘installing !ubuntu now’. The great thing about groups, is even if people aren’t directly subscribed to my posts, they will see my posts directed to the group, and vice versa. I may only be subscribed to five people on the site, but if I belong to the Ubuntu group, then any message with ‘!ubuntu’ in it, will get delivered to me. No additional protocol to keep track of. Perfect, seamless integration. Now, groups still do have RSS feeds, so you can follow the posts to the group in your RSS reader if you wish, but it’s not necessary. One thing to point out, however, is that if you’re not a member of a group, then you can post your message to the group, even if you precede it with the bang symbol. You must be subscribed to the group.

Showing !ubuntu and !thinkpad groups and #archlinux hashtag in an Identi.ca post.

Anyone can create a group (that hasn’t already been created) and anyone can join a group. At the moment, there are no private groups or invite-only groups, although I’m sure we’ll see something like this in the future. Also, creating a group doesn’t make you some account god. Instead, you can change the picture for the group, or the group details, but that’s it. No banning users from the group, or kicking existing users out (again, I’m sure this functionality will be added later). However, when you create or join a group, you’ll notice that there are some hiccups right now. As it sits, only JPEGs will be rendered for the group logo, and they’re extremely pixelated. It seems that the software is resizing the image to really small, probably to save space, then zooming the small image as necessary for the group logo, which causes the pixelation.

Looking at the groups page, what I find interesting is the groups with the most members and the groups with the most posts. It’s fairly easy to see that Identica is a service for geeks. Or, at least geeks are creating groups. No mention of a group ‘gardening’ or ‘parishilton’ or ‘nascar’. Instead, we see things like ‘ubuntu’, ‘xmpp’ and ‘archlinux’. Probably the GPL license of the Laconica microblogging software that is drawing the geek crowd. However, at nearly 40,000 users strong, Identica is becoming an alternative player. People like Robert Scoble and Lawrence Lessig are on Identica, and other big names. With the Laconica team innovating, such as groups replacing hashtags, I bet the draw will only continue to increase.

Of course, the best part of the Laconica software is federation. Want to run your own microblogging site, yet follow others under their own domain? No ploblem! Just like XMPP, Laconica can federate across domains, making it completely decentralized.

Ubuntu US Meeting Tonight

Quick reminder for the US Teams Mentoring Project. There will be a meeting in #ubuntu-us on irc.freenode.net. The time is scheduled for 8pm EST, and will probably last about an hour, maybe more depending on who shows up. The agenda can be found on the wiki page. All are welcomed to attend. See you then.

Saving Some Quid, And The Planet Too

I’ve always been one for reducing my carbon footprint on the environment. Politics aside, I think we can all agree that CO2 emissions on the atmosphere is more harmful than good. As a result, I’ve been conscious of my contributions. So, when my wife and I bought our home, I began setting out what I could do to do my part. First thing first, was replacing the incandescent light bulbs with compact fluorescents (CFLs). However, I wasn’t a fan of doing a total replacement, mainly for the fact that spending all that money up front, would take some time to get back in power consumption savings. So, as time went on, I’ve been replacing bulb for bulb as they burned out. Well, I haven’t had a bulb burn out on me in a couple of years, and I’ve been getting anxious to get them all replaced, so tonight, I went to my local hardware store, and purchased the last remaining replacements.

When my wife and I bought this home, the previous owner must’ve liked a bright house, as just about every bulb in the home was 100 watts. There were a couple 60 and 75 watt bulbs here and there, but the vast majority were 100 watts. Well, I don’t care for such a brightly lit home for a couple of reasons. First, for the small home we own, there just isn’t a room that needs that amount of light. Second, being exposed to very bright light for extended periods of time gives me headaches, so dimming the rooms down is a must. So, instead of replacing the 100 watt incandescent bulb with a CFL equivalent, I brought each bulb down to the 60 watt replacement, which is only a 13 watt CFL bulb.

I’ve kept track of all the bulbs in the house as I’ve been replacing them, as I’ve been curious to watch my electricity consumption. When we purchased the house, we had 4180 watts of installed bulbs. After tonight, we’re now totaling 1028 watts. That is a 75% decrease in electricity for light bulbs. And at an average of $3 per CFL, it hasn’t been too expensive of an investment. I’m confident that I could squeeze an additional 200-300 watts out, if I really tried, by replacing the fluorescent tubes in my kitchen and garage with lower wattages. When not in a room, the lights are also turned off to save electricity.

Of course, there’s more to your overall wattage consumption than light bulbs. I recently replaced a 19″ CRT monitor with a 19″ LCD. I’ve also turned on aggressive power saving preferences in all my computers, turning the monitors off after 10 minutes of inactivity, and hibernating after 30 minutes of inactivity. I’ve turned the brightness down 50% on all monitors as well, which mainly was just to avoid the headaches. I’ve programmed the thermostat such that when we’re away from the home, I reduce turning on the AC or heater, and when we’re home, I’ve set it such that we can endure slight warmth during the summer or slight cold during the winter. The fridge and freezer are turned up a degree or two, and Christmas lights have been replaced with LED lights. Anything and everything I can do to save the last little bit of electricity, I do. If I were to stay in this home permanently, I’d invest in solar panels on the roof, to take advantage of the energy from the sun to power most of my home. Lastly, I drive a car that gets 42/35 mpg, and my wife drives one that gets 35/28 mpg. The only thing I wish I could replace is our 50 gallon water heater with a tankless water heater.

It feels good to minimize our CO2 emissions as best we can while remaining practical and affordable. It also feels good to be saving my hard earned cash. Now, the only question that’s left, is what are you doing to minimize your footprint on the environment?

New Blog Feed

For those subscribing to my blog via RSS/Atom, I’ve moved my feeds from the Feedburner servers to Google, seeing as though Google acquired them some time ago. As such, the URI for my feed has changed. You will be automatically forwarded to the new feed, however, if you would like you can update it now in your reader. It’s http://feeds2.feedburner.com/pthree. Planet Ubuntu has already been updated, with Planet OpenID and Utah Open Source Planet to be notified.

Thanks.

What Are We? 12?

I’ve grown more and more accustomed to that phrase. Being on IRC, blogs, forums, mailing lists, and other forms of digital social gathering, it still never ceases to amaze me the responses that come out of people these days. Case in point? The tragic ending to what should have been a happy one. I’m referring to the news story that WKOW 27 in Madison, WI ran concerning a girl in college who dropped out, because Ubuntu was installed on her Dell laptop, and she couldn’t install some software programs. WKOW, by the way, has run a follow up on the piece, showing the initial reaction of the Ubuntu community.

When I first read the story, I admit that I thought she was looking for a scapegoat to drop out, and Ubuntu on a laptop was the perfect excuse. Then, I started reading the comments, and I was floored by the community’s reaction. Almost immediately, I found myself defending her and Ubuntu comment after comment. After letting the emotion settle for a bit, I re-read the article, this time paying attention to the smaller details:

  1. A Dell representative recommended that she stay with Ubuntu over Windows. This is a serious win for the Ubuntu community! When an OEM is recommending a Free operating system over a non-free, things are on the upswing for that OS.
  2. A Verizon representative said that they would send out a technician to get her Ubuntu install online. This is another serious win for the Ubuntu community! Verizon is willing to support Ubuntu as an operating system for their software.
  3. Lastly, the school said that Windows and Microsoft Office was not required for her courses, which means Ubuntu and OpenOffice.org would fit the bill nicely. Three out of three!

So, I ask: Why the backlash? One thing we need to understand as technical users, is the average user doesn’t think to pull up Google to troubleshoot his or her problem. If something doesn’t work as expected, such as putting the Verizon CD in Ubuntu, then it’s broken to them. They’re not going to pull up Google, and figure out how to make it work. They might call a family member if they have a computer expert in the family, but even then, the computer is still broken. Having just purchased a brand new laptop from Dell, and things not working as expected, she has every right to be upset.

Yet, everything came out positive for her, and the community responds the way it does. This story should have been a positive one for our distribution. Instead, it turned into a heated attack against her, and the news agency. Whether or not these attackers are Ubuntu users or Windows users or Mac users, it matters not. What matters to me is the maturity level of the response. Which brings me to the title of my post:

“What are we? 12?”

Look at the details of the article. Look at how three organizations were willing to handle her specific case. She looked for support, and got it! Dell, Verizon and her school should be touted as heroes! They came to her rescue, and then we respond the way we do. I found our response unfortunate, sad, and very disappointing. Linux won’t succeed on the desktop if these are the cards we play.

Rescue LILO On LVM With Ubuntu

I was faced with an interesting challenge tonight. But first, why I was faced with the challenge to begin with.

I had been teaching Linux to system administrators for more than a year before taking my current job as a system administrator myself. During a couple of the courses, the students had the chance to learn about the boot procedure from pressing the power button to the login screen and everything in between. This meant getting a deep, personal understanding of your MBR, the Linux kernel and the System V init scripts.

During the lecture on the MBR, I always lectured how GRUB is the defacto standard, and LILO has basically been replaced. I would then teach the students possible situations that they might face should their MBR be corrupt or missing, and how to fix it. Of course, fixing it meant troubleshooting, and learning to use the rescue media that ships with your distribution, be it RHEL or SLES. Well, I never thought that I would face the situation personally on my own machine, as I tend to be much more careful with my own machines than someone else’s (like a training center).

First, when I installed my desktop, I wanted to take advantage of LVM. I have two disks in the machine, so talking total advantage of the space was important. LVM fits the bill nicely. However, I didn’t plan well enough, and put my boot partition on a logical volume. This means that GRUB doesn’t get installed by default, and instead, you get LILO. Further, this also means that there is no nice pretty splash screen while booting, but it’s back to the old kernel and init script output. Oh well. This system remains up 90% of the time anyway, so no big deal.

Then, earlier today, I thought to myself “GRUB 2 is supposed to handle the boot partition on a logical volume”. I surely would rather have GRUB than LILO, plus I miss the slick boot splash screen. So, I pulled up a terminal, installed the ‘grub2′ package, and all it’s dependencies, ran ‘grub-install /dev/sda’, then rebooted to a black screen saying it couldn’t find my boot partition. GREAT! Here I am, thinking this would be no sweat, and I’m left without a bootable computer. No worries, I thought. I’ve taught my students over, and over, and over again on getting them out of this jam, surely I can do it myself. So, I grabbed an Ubuntu LiveCD, and went to work.

First thing first. I need to make a decision about GRUB or LILO. Do I want to figure out why GRUB puked on me, or should I just stick with LILO, and be done with it? Either way, I need to make a decision. I decide to stick with LILO. So, I boot into the live environment, pull up a terminal, and get to work. As mentioned, every last bit of disk space is on a logical volume. The LiveCD doesn’t come with LVM support by default, so I need to install it, and load the module:

sudo aptitude install lvm2
sudo modprobe dm_mod

Now with LVM installed, and the module loaded, I can mount the volume and get to work. Hold on though. Not so fast. In order to mount the volume, I need to call the volume by device. It’s not there, if I search under /dev. Get back in your terminal to find out why by running ‘lvscan’:

sudo lvscan

This will scan the volumes, detecting any available. Also, ‘lvscan’ will let us know if the volumes are active or inactive. In my case (and same with you if you’re following along with this tutorial), the volumes are inactive. So, we need to make them active:

sudo lvchange -a y /dev/janus/root

/dev/janus/root is my volume that contains my root filesystem, including /boot, which is needed to bring by box into working order. Now with my volume active, I can reference it, and mount it. But that’s not all I need to mount. I need to mount /proc for the kernel, and mount /dev for all the correct devices that the kernel sees on my system. So, back into the terminal we go:

sudo mount /dev/janus/root /mnt
sudo mount -t proc none /mnt/proc
sudo mount -o bind /dev /mnt/dev

Okay. We’re getting there- slowly, but surely. Now that everything is mounted, it’s time to change to that filesystem, and start fixing stuff. This is done with the ‘chroot’ command. I won’t go into vast details about the ‘chroot’ command. Basically, it just changes your root filesystem to the directory you specify. In this case, we’re going to change our root filesystem to /mnt, where my logical volume is mounted that holds the actual filesystem that resides on my disk, not the LiveCD:

sudo chroot /mnt

Cool. Our prompt should show that we are on the ‘/’ filesystem, meaning that any files we alter, we’re altering on disk. So, back at the beginning of the post, I mentioned that I installed GRUB, and it failed to boot, so I decided to stick with LILO, rather then figure out why it failed (I can do that later). I uninstalled LILO when I installed GRUB, so I need to reinstall. Remember, that because we ran ‘chroot’ just now, we are now operating on disk, as that’s where we reside. So, installing any packages will be persistent across boots. If this is the first time you’re installing LILO, then you’ll need to take an extra step. If you’re just rescuing an existing LILO system as I am, it won’t be needed. The extra step is to run ‘liloconfig’ to create /etc/lilo.conf. Otherwise, just run ‘lilo’ itself, then reboot:

sudo aptitude install lilo
sudo liloconfig # Answer yes to everything
sudo lilo

LILO should now be installed in the MBR of the disk, and you should have a bootable box at this point. So, the only things left to do are leave the chrooted evironment and reboot, hoping everything works. If you received any warning about LILO when installing to the MBR, ignore them. If you receive any FATAL errors, you won’t have a bootable box, and will have to troubleshoot further from there.

exit
sudo reboot

At this point, my box booted fine, and I’m typing this post right after the rescue. Everything is in place. I hope this finds some help for someone who is in a similar boat that I was just in fixing their LILO on LVM.

I Don’t Do Proprietary And I Don’t Tweet- I Dent

Chuck, I read your post regarding Jono and the EFF choosing Twitter over Identi.ca, and ask the same questions you are: “If you’re about Freedom and Liberty, then why choose a proprietary standard when an open one exists?” However, at the bottom of your post, you mention that you don’t mind proprietary software, saying that there are many features which proprietary brings to the table that Free Software does not, even if this is becoming more and more rare. Well, let me refer you to a quote by Eric S. Raymond:

When you tell me I should give proprietary software a fair technical evaluation because its features are so nice, what you are actually doing is saying “Look at the shine on those manacles!” to someone who remembers feeling like a slave.

I use Identi.ca for two reasons: it’s Free Software, licensed under the GPL and it’s based on an Open Standard. I use Jabber for the same reasons. I use everything in my life for those very reasons. Free Software and Open Standards. If the software doesn’t fall under one of those two categories, it doesn’t have a place on my computer. Like Eric S. Raymond, I am anti-proprietary software.

I’m Social Now

Well, after a bit of nagging from family and friends, coupled with a bit of curiosity, I’ve gone social. I’m now part of the Web 2.0 bubble that seems to be all the rage. I have Identi.ca, Facebook, FriendFeed, Last.fm and Ping.fm accounts. Trying to restore Twitter as well (I left Twitter when Identi.ca came online). IRC, Jabber and email wasn’t enough to be considered “cool”. Now it’s “microblogging” and gathering all the possible friends in the universe you can find. Ok, so I’m a bit sarcastic there. I will say that there has been some value in these social apps. I’ve been able to connect to old friends that I haven’t seen or heard of in years, and I’ve been able to keep in contact with family and friends that have moved out of state. So, there’s been some value in it for me.

However, with all these social apps, it’s getting difficult to manage them all. Definitely when trying to update statuses to the accounts. So, a single point of entry would be preferred, that could push my status out to each application once. Ping.fm fits the bill. With Ping.fm, I can update my status to Identi.ca, Twitter, Facebook and FriendFeed with a single message. Because Ping.fm, Identi.ca and FriendFeed all have Jabber bots, I can follow the updates of others through that. Because each service offers sending emails when someone is following my status, or other things, I can pull up the site as needed.

My Jabber client is Bitlbee and runs in Irssi, my IRC client. This way all messaging is managed in a single source. This keeps me from having to go to separate sites in my web browser. The only thing that could improve the setup, is having each of the Jabber bots posting their updates in a MUC room rather than each private messaging me. In fact, if I could join a Jabber MUC that was exclusively built for each bot (an Identi.ca room and a FriendFeed room), that treated posts from those I’m following as a message from that person rather than from the bot, that would be cool.

So, there you have it. I am now a statistic in the Web 2.0 world.

rm -rf /

DISCLAIMER: This works on Debian testing, Debian unstable, Ubuntu 8.04 and Ubuntu 8.10. I have not verified it to work on other systems. If you hose your box, because you gave it a try, and it didn’t work, don’t blame me. You’re the stupid one for trying it out on a production machine. If you’re curious, but unsure, just take my word for it, or install a virtual machine.

I came across an interesting post today, so I thought I’d give it a go on a virtual machine that I didn’t mind thrashing. The subject of the post is in the title, namely as root, running ‘rm -rf /’. Have you tried this on the Ubuntu or Debian? It won’t work:

root@host ~# rm -rf /
rm: cannot remove root directory `/'
root@host ~# echo #?
1

If you’re nervous about running the above command, then pass the interactive switch to rm, (rm -ri /) to force rm to ask you on every last item to remove (you can answer no, or cancel with Ctrl-c). Why is rm refusing to remove the root directory? From the man page:

–no-preserve-root
do not treat ‘/’ specially

–preserve-root
do not remove ‘/’ (default)

Running ‘rm -rf /’ is the same as running ‘rm -rf –preserve-root /’, which of course makes no sense. Has this always been the case for rm? No. First off, Solaris made this a standard in Solaris 10. Second, –preserve-root as default has been the default of Ubuntu since 8.04, as it came upstream from Debian, and I’m guessing further upstream from GNU coreutils (probably v6.10, although I can’t verify).

Preserving root as default prevents easy mistakes, such as missing the assignment of variables:

root@host ~#: FOO="/home/aaron/tmp" rm -rf $FOO/
rm: cannot remove root directory `/'

Notice, I forgot to end my variable statement with a semicolon, so FOO never got assigned, and rm proceeds forth with removing / instead of /home/aaron/tmp like it should have. How about another example:

root@host ~#: rm -rf / tmp/*
rm: cannot remove root directory `/'

In this case, I wish to delete all the contents of the /tmp directory, but I typed too fast, and put a space between / and tmp/*, and thus, rm attempts to remove the root directory which is not what I wanted at all!

Good to see this implemented in the latest versions of Debian and Ubuntu.