Linux Mint - Quick Review

August 24th, 2008

I had never tried Linux Mint before but had always heard good things about it. Mainly the reason that I never bothered trying it was because I was already fairly familiar with Ubuntu from where it was derived. I was aware of some differences such as obviously Linux Mint uses a different theme, includes some codecs and such as well as a different menu style for Gnome borrowed from SuSE but customized into its own style for Linux Mint.

I had recently installed FreeBSD and as in the past, eventually became tired of the ports system so I decided use that disk space to install something else. I had recently been fairly bored with Operating Systems so I was a bit more flexible with trying out something else. In came the Gnome version of Linux Mint…

The Install

Installation is quite easy, pretty much the same as Ubuntu where you can install it from the live cd boot. It offers custom partitioning which is a must and also adds some extra configurations post install like a small window box for setting up your optional root password and such.

Applications

The usual line up you would expect is here. You get the Gimp for detailed image editing, Brasero for cd/dvd burning, Firefox, Openoffice, Pidgin, Transmission (for torrents), Rhythmbox for audio, Totem for video and a host of other Administrative configuration tools. Linux Mint adds a few extras as well in their control center such as Envy for propritary drivers and also a tool for managing Windows Wireless drivers which I personally think should be default on any distro wanting to gain mass acceptance.

Package Management

Mint comes with its own method of updating but also includes Synaptic which is great to have some variety but could be confusing to newer users who may not know which one to use. I know Ubuntu has both Synaptic and also the Update Manager which are both great tools, but it might be better to combine them into one since they can do some of the same things. Of course its up to the user to decide which is best and choice is always nice, but perhaps having a one time wizard after the install to configure your preference would be a good idea. Having said all that, I’ve had Linux Mint installed for a couple weeks at least and using Synaptic I have noticed that there have not been many updates at all. I will need to look into this more, but I would have thought that there would have been more package updates at least for the applications.

Stability and Performance

Overall, I have found Linux Mint very stable and actually it is faster than I expected. I would definitely say it is faster than Ubuntu even. This was rather surprising to me as I had a preconceived notion that it would be slower if anything since it had some of its own tools added and had a reputation for being more complete out of the box after the install.

Longevity

A lot of times I install distros and then later on, I will install something else over top of it. I don’t plan on doing this with Linux Mint. I am interested in seeing how well it gets maintained, updated and enhanced.

Overall

If you are considering installing a new distro and want something easy with good performance, Linux Mint is definitely worth a look. The only concern I have with it compared to Ubuntu is longevity. I hope it continues to be maintained. Canonical has proven that they are here to stay with offering 5 years of support for each of their LTS versions of Ubuntu. I hope Linux Mint can enjoy the same kind of long term success.

UFC 87 - Seek and Destroy - Results

August 10th, 2008

Last night the UFC displayed an event that had all the makings of a great PPV which looked great as usual in HD. All that was left was for the fighters to come through and put on a good show and they did just that.

Here is a quick rundown…

The main event was Georges St. Pierre in his first title defense since regaining the welterweight championship from Matt Serra. GSP started off against Fitch very aggressive and did a lot of damage in the first round. Despite all of the talk about Fitch being tough, surely a lot of observers including myself were surprised that Fitch made it out of the first round. Not only did Fitch make it out of the first, he endured 5 full rounds of beatings until GSP was awarded with a unanimous lopsided decision. Fitch commented in a post fight interview saying that GSP was essentially too fast for him and after the first round, he had vision problems which plagued him for the remainder of the onslaught. After the fight, BJ Penn entered the Octagon and seemed extremely eager to set up a rematch between himself and GSP. GSP of course obliged but it will up to the UFC. BJ will need to move up to welterweight as he has done in the past. GSP vs Penn may be one of the biggest draws in UFC history if it comes to fruition.

Similarly, Brock Lesnar was equally dominant over Heath Herring. Lesnar opened the first round with a flying knee and later connected on a punch that sent Herring not only to the ground but head over feet toward the cage. Herring’s vantage point upon his vision returning to normal would have seen Lesnar charging toward the vulnerable Herring. What a sight that must have been even for a veteran of over 40 fights like Herring! Lesnar continued a dominating performance for the duration, focusing on his smothering wrestling scoring a unanimous 30-26 decision. Lesnar could be the answer to the sometimes dull heavyweight division. Lesnar has personality evidenced by his head nodding along with the crowd chanting for him during the battle as well as his excitement of watching his own replays after the fight. Although Lesnar was completely effective in nullifying any offense strategized by Herring, he obviously is very young in his MMA career at 2-1 and needs to work on some techniques. Lesnar had numerous opportunities to put in hooks while on top and never did so. It was quite possible he could have choked out or arm barred Herring but instead Lesnar used his amateur wrestling skills to smother Herring and beat him mercilessly. While this may look intimidating to some MMA competitors watching, Lesnar will need to become more well rounded as surely he is aware and working on.

Kenny Florian vs Roger Huerta was almost a carbon copy of the GSP vs Fitch fight. It was very obvious that Florian was the far more cerebral and technical fighter while Huerta revealed that he was limited to being a brawler. Huerta will have a great future, but needs to learn more technique.

Also on the card:

Demian Maia defeated Jason MacDonald by a choke in the third round.
Tamdan McCrory beat Luke Cummo by unanimous decision in what Joe Rogan called “The Battle of the Geeks”
Cheick Kongo proved too much for Dan Evenson with a TKO victory at 4:55 of the third round.
Rob Emerson disposed of an over aggressive Manny Gamburyan at 12 seconds of the first round with strikes.

check the UFC website for more results.

Overall I went 7 out of 10 on my picks.

Operating System Boredom

July 19th, 2008

It seems that once again I’m going through one of my phases where I am getting antsy with operating systems lately. Here are the two main culprits:

Ubuntu  - I’ve done several installs for people lately on newer systems and they just work. Even webcams are working instantly right after installing ‘Cheese’.

Arch Linux - I’ve had Arch installed on several boxes at home for about 5 years. It runs solidly. I use custom kernels (2.6.26) and use 32 bit and 64 bit. I don’t need nor want to make any drastic changes to them.

I’m not saying this is a bad thing, in fact it is quite good, but it does take away the challenge I used to enjoy.

So, when I get into the mood to break something and then try to fix it, I think of using Ubuntu Alpha releases but as mentioned in an earlier post, even those don’t cause me any issues anymore.Moreso than fixing things I’d like to try something that offers some unique value in doing things differently.

I do try out some different distros here and there but I am not really finding anything unique enough to pique my interest. Recently I’ve tried OpenSolaris (just because) and it was a disaster and pretty much unusable (very slow package manager, missing common packages I wanted). I did an upgrade and it wouldn’t boot afterwards.  I also tried OpenSuSE 11, Mandriva Spring and Mint. That’s the story with Linux lately. At one time I did set up a box in only command line and I currently use a custom built Linux router as well. What else is there? ;)

OK, so there is OSX. I’ve used OSX86 and it is a decent OS. I really don’t have anything negative to say about it. I do miss a lot of things that I have in Linux when I use OSX but I understand that it is a designed in a specific manner so I can’t criticize the product but perhaps the concept but I’m not even going to do that. The truth is that it’s decent enough, but doesn’t provide me with anything really interesting and innovative in terms of configuration and such. Also, I am of the belief to truly get the full OSX experience, one needs to switch over to it fully which I am not prepared to do right now and likely never.

In terms of Windows, I’ve made my comments on Vista already and I’m pretty tired of XP. In fact, I would be all over using Vista at work if the opportunity presented itself (assuming Linux was not an option either).

So, where does that leave things now? If anyone has any suggestions, I’m open to trying something out, but I’d like to try something that is unique somehow and offers some kind of benefit or optimization. I’ve tried just about every desktop environment and window manager as well.

The Death of the Swap Partition?

July 15th, 2008

The Death of Swap?

Firstly, my initial disclaimer is that while there will be technical information in this article, it is also based on opinion and personal experience and therefore if anything, it is a personal account of the usefulness or lack thereof of a swap partition and thoughts, ideas and assertions are welcome.

When I first started using Linux many years ago (maybe 6 now), one its distinct unique qualities was the use of a Swap partition. Initially, I didn’t ask too many questions as I was eager to leave behind the OS that had caused me frustration over the past years. As time went on and I gained more experiences with Linux, I continually would use a swap partition on any new installs and would be asked by anyone for whom I created a set up about the reason for creating this swap partition.

In basic terms I was always told that the purpose of the swap partition was mainly to allow the system access to more memory if your RAM was used up. Therefore, this was useful on systems with low amounts of memory or on machines where there would be a lot of RAM usage thus causing it to be fully used and therefore require additional memory which swap would provide.

Even with older machines or ones lacking RAM, I observed that swap was barely used. Typically on systems with at least 1GB of RAM, I never see any swap used. I suppose this could happen if there was a great deal of memory usage due to intense audio, video, compiling or some other kind of processing.

Newer machines will often have 2 CPU cores and at least 1GB of ram and usually I recommend that at least 2GB of RAM is a decent amount for a newer machine. Considering the processing power and inexpensive nature of adding more RAM, what happens to swap? Swap once had a purpose on older machines but now it seems that it is not only becoming unnecessary but also a burden perhaps?

Swap can have some negative affects as well. With the size of new hard drives these days using up 512mb or 1GB or swap space is certainly not an issue but if you like to use all Primary Partitions like me, then all of a sudden out of the gate you are down 1 of 4 Primary Partitions used on a hard drive (I’ve heard there are ways around this but I am not including using third party software to create more Primary Partitions). So, for example, you are building a custom machine where you want several Primary partitions for a particular reason such as:

swap

/boot (to store your kernel and boot settings)

/ (your root filesystem)

/home (a separate home partition to keep your personal files on their own or even to share it with another distro installed on the same machine)

/var (separate log files or perhaps used for package building)

/usr (holds the majority of your application executables and global application settings in /usr/share)

/opt (could be used for applications you compile youself placed in a different directory other than /usr/ to keep them separated)

Clearly, partitioning is a personal choice and the decision is based upon your specific usage. However; if you use a swap partition, all of a sudden you are losing 1 primary partition. So, unless you create logical or extended partitions, it could be that one of your planned partitions is negated.

Swap Partition Pros:

May help speed up older machines lacking memory

May help speed up machines that require an industrial amount of processing (high tech audio, video or compiling) while performing other tasks

Makes your install ‘feel’ more like nix :)

Swap Partition Cons:

Uses up space and a primary partition

Disk Thrashing over time can damage your hard drive

Accessing the hard drive to use virtual memory is slower than RAM

Alternatives:

If you don’t want or need to use a swap partition, you can instead use a swap file. I am not going to post any links on how to do this right now, but if you do a web search for it, you can find lots of examples.

Although I do not plan on changing any of my current long running configurations as my swap partitions are typically the first partition in my table, I do not plan on using them anymore on any new systems - especially any that I plan on which I have multiboot configurations. I have one now where I can share the swap partition, but more than once I have wished that I did not create the swap partition in the first place. To me, there does not seem to be a need to use such a thing on a dual core machine with 4GB of RAM, better yet, it seems like a waste of a primary partition.

Upgrading to the Next Ubuntu Alpha or Beta as Safely as Possible

July 14th, 2008

intrepid ibexInitially I was going to write about how smooth even the Alpha upgrades were for Ubuntu even compared to full release versions of other distros, but instead I think I will do something more helpful - give people some tips on how to upgrade to the Alpha releases and move through the Betas without breaking their systems (at least not permanently anyway).

I think I’ve been testing the Ubuntu releases including all Alphas and Betas since probably Dapper Drake which was released in August of 2006. I do have to mention that I do not currently run Ubuntu as my main OS (Arch is awarded this position), however; I do support what Canonical is trying to do with Ubuntu and like to keep updated on its progress. So, the following are general tips on how to prevent breakage, fix issues and all the while enjoy the fact that you are running the most up to date version of Ubuntu available.

** Quick tip - do not delete your previous kernel and also backup your /etc/X11/xorg.conf to be extra safe

How do you upgrade to the next version when it is in Alpha or Beta?

You can do this in a couple of ways. If you prefer the graphical method, you can press Alt-F2 to bring up a run dialog box and type update-manager -d which will open up your Update Manager (assuming you have it installed) and give you the option to click on the button representing the next version. Another method is to use your terminal and type apt-get dist-upgrade which should find your latest version (although I have not tested this with Alphas so I cannot say for sure). As well, I believe that Synaptic would be able to get you to the next version as well even if it is a development version by allowing that preference.

Possible issue and their remedies:

Missing a dependency
- Sometimes during upgrading, you will get a report that a dependency is missing. This is typically because the mirrors have not finished syncing. Your choices here are to simply wait until all of the packages are available (if you don’t clear your Apt cache then you can just download the missing packages instead of doing the whole lot again) or if you are really impatient, you can browse the various mirrors and try to download the individual packages and then install them using command line (dpkg -i pkgname) or by double clicking on the package icon which should prompt a GUI installer. Usually Apt is pretty good at giving you hints at how to fix the issue if one pops up so this is why I prefer to do these upgrades via the CLI (other than the initial upgrade to the next distro version).

Cannot Stop Service so Upgrade Fails - This has happened to me a few times. I like to run systems very optimized so I tend to eradicate services that I do not need. Although I can use B.U.M. to stop them, sometimes I prefer the old fashioned but more effective method of rc-update.d -f servicename remove which will remove the service from all runlevels and give you nice clear terminal output showing this has been done. While this is great for optimizing your system by ridding it of known unwanted services (ie - laptop services on a desktop), sometimes this causes some confusion when trying to move from one Ubuntu version to the next. I’ve seen Ubuntu try to stop a service and fail (because it was removed from runlevels or perhaps it isnt running) and then leave you in the cold. My solution for this is to simply repeat your original process of installing the service, allowing it to run temporarily and then disabling it after the upgrade. It is a bit tedious but it seems to get the job done.

Nvidia (I don’t use ATI) - I ALWAYS seem to run into an issue with Ubuntu and Nvidia during these upgrades. Between the combination of different kernel upgrades, restricted modules upgrades and the Nvidia driver upgrades, it tends to cause issues every single time I upgrade. I am happy to say that with Intrepid Ibex I only encountered one minor issue with this where I waited for a new repository sync and then my Nvidia driver worked. However, in the past I have had to go to the Nvidia website and manually install the driver. I would then keep testing the various incantations of the Ubuntu packaged Nvidia driver along with the linux-modules-restricted package with the corresponding kernel until it would work. The last time around was the worst as it only seemed to get resolved at Beta 3 if I recall correctly.

Application Issues - Well, these are testing versions of applications so I don’t expect perfection, but I will often get some really nice features that were not available in previous releases.

Xorg Issues - Very rarely but at least once I have had my X server screwed up by doing an upgrade. Nonetheless backing up your previous /etc/X11/xorg.conf as stated above is a good idea. This could mean no access to the proper resolution or even perhaps no access to X itself (dpkg-reconfigure xserver-xorg didn’t work).

That’s about all I can think of for now. Perhaps others have other issues they have run into? Maybe I forgot some that I experience, but these are the most common ones. None of them were showstoppers for me as I was able to fix them all or find a way around them. Not bad for Alphas. It seems it is becoming increasingly more difficult to find broken systems around my place. I used to enjoy playing around with them and getting them to work somehow. Ubuntu appears not to offer this feature (anymore?). For me, that can be a little bit disappointing in the sense that there isn’t much of a challenge, but overall its great because it means that the system is still fairly solid even in its most vulnerable state.