[current path: main]

Jun 22, 2007

Zen of Linux

A few months ago, I decided it was time to replace the aging distro on my Linux box. So I fired up VirtualBox and tried out a bunch of them. I was looking for an elegant, high performance distro without any bloat. After trying dozens of distros, I found three that were really interesting: ZenWalk, SimplyMEPIS, and Debian Etch.

Yes, I tried Ubuntu, Kubuntu, and Xubuntu. Of the three, only Ubuntu was stable enough for me to use for long periods of time. While Ubuntu is a very nice distro, I found it to be a tad bloated with apps, as well as being one of the slowest performing distros I tried. I didn't bother to find out why.

ZenWalk, a Slackware-based distro, is the ultimate Linux distro for me. It was the fastest distro I tried, by a long shot, perhaps partly because it defaults to the XFS file system instead of ext3. Its "one app per task" policy virtually eliminates bloat. Its package management is quite minimal compared to other distros, though it works perfectly. It has all of the necessary build tools configured and ready to run, and I've been able to download and build new apps easily. The ZenWalk forums are active and friendly, and after using a Red Hat based distro for years, I had forgotten just how easy it is to configure a Slackware-based system. But its the level of polish that really sold it for me. The entire distro uses one clean XFCE theme, with UI and font consistencies throughout all apps. ZenWalk is the best Linux distro I've ever used, and is the one I installed on my Linux box.

SimplyMEPIS is an Ubuntu-based full desktop distro. Unlike ZenWalk, SimplyMEPIS seems to include every modern popular Linux app you could think of. And being based on Ubuntu, you have access to all of the Ubuntu packages via the Synaptic package manager. It does a great job of integrating the apps with its clean, KDE-based desktop, which I prefer to Ubuntu's Gnome desktop. Somehow, SimplyMEPIS is also a bit faster than Ubuntu. If you were considering Ubuntu (or especially Kubuntu), give SimplyMEPIS a shot instead.

If you like the idea of stable package management, minimal bloat, and good performance, Debian Etch is the distro for you. I downloaded the minimal "net install" version of Debian, which installs a simple command line distro. To compare performance with ZenWalk, I formatted the partitions with the XFS file system, and used apt to download packages that matched ZenWalk's default applications (including the XFCE desktop). All in all, I was able to reasonably mimic the elegance of ZenWalk in Debian Etch, and felt that performance was also close. Compared to Xubuntu, Debian Etch was a far nicer alternative.

The beauty of Linux is that there is probably a distro out there made just for you - you don't have to settle for Red Hat or Ubuntu. Just look at the amazing list of available distros over on DistroWatch. For me SimplyMEPIS and Debian Etch are great alternatives to Ubuntu. But ZenWalk is exactly the distro I was looking for.

post time: 01:32 | category: /linux | comments | Share/Save/Bookmark

Jun 20, 2007

GOSK

Need a quick chord or scale reference for guitar? Check out GOSK, aka the Guitar Online Survival Kit.

Very handy!

post time: 00:06 | category: /links | comments | Share/Save/Bookmark

Jun 03, 2007

Migrating XP with gparted

A few years ago, changing out hardware from underneath a Windows install was a sure way to ruin your OS. So when I received the parts for my new machine this week, I decided to try using various migration tools to get my data from the old machine to the new one.

Specifically, I used Microsoft's built-in Backup and Files and Settings Transfer Wizard tools to copy everything to a Linux network share, then restore to a fresh XP install. Surprisingly, these two tools managed to restore more than 90% of my original machine to the new install. And if I hadn't spent an hour or so playing with the new machine, I probably wouldn't have noticed just how screwed up my new system was, and how impossible it was to fix the restored config. The Backup app was interesting, and worth looking at again some day, but I'll never use the Files and Settings Transfer Wizard again.

I decided to take a chance and do a straight image from the old hard drive to the new one. I used the amazing Linux-based gparted live CD, and with a little prep work, everything worked out perfectly. Here's how I did it:

  1. With the original hard drive still in my original machine, I booted Windows and temporarily disabled most of my startup apps, particularly ones that relied on the machine config, such as online backup, virus scan, iTunes, etc. I used the autoruns utility to do this (another highly recommended tool from Mark Russinovich).
  2. I renamed the network name of the old machine, just in case both machines booted up on the network at the same time.
  3. I then properly shut down Windows, which is a critical step before using gparted. Otherwise, gparted will balk at the NTFS settings.
  4. I removed the old hard drive from the old machine and temporarily installed it in the new machine next to the new drive.
  5. I put the gparted live CD in the DVD drive and booted up the new machine.
  6. In gparted, I "copied and pasted" the two partitions from the old drive to the new one, and resized them to fill the new, larger drive. It took gparted about 20 minutes to copy the partitions.
  7. I reviewed the new partitions in gparted and noticed that the main partition (the new C drive) was not marked as bootable, so I set the boot flag.
  8. After removing the gparted CD, I powered down, removed the old drive and rebooted.
  9. WinXP booted up fine, though it took several minutes (presumably to realize it was running on all new hardware). The mouse was not active, so I pressed enter a couple of times to get the login password text box to appear, then logged in.
  10. Several "Found new hardware" dialogs appeared, asking to install new drivers. I tabbed and pressed Cancel on all of them (except for the mouse driver) so that I could use the hardware vendor's installer disks.
  11. When the mouse came to life, I opened up the Add/Remove Programs control panel and uninstalled all apps related to the old hardware (video card, motherboard, and sound utilities). Whenever I was asked to reboot, I clicked "Do not reboot".
  12. I inserted the CDs for the new motherboard drivers and video card drivers, and ran both install apps (clicking the "Do not reboot now" options after each install).
  13. After installing all the new drivers, I clicked the "Restart" button in the "Turn off my machine" dialog, and rebooted the machine. WinXP restarted normally, and booted much faster this time.
  14. I renamed the network name, and fired up autoruns again to re-enable the startup apps. While there, I also deleted any left over entries related to the old hardware.
  15. I rebooted one more time, and that was it! Everything else worked fine, and the WinXP config in the new machine works exactly as it did in the old one (except that it's significantly faster, of course).

I should note that I had to reauthorize the Connected Online Backup software, as well as authorize the new computer in iTunes. Which reminds me, I should also deauthorize iTunes in the old computer. I also presume that Windows Media DRM is probably out of whack, but I don't have (nor plan to have) any Windows Media DRM files.

Every time I fire up gparted, I get more impressed with it. It is a must-have boot CD. And it makes me smile to know that the best way to migrate a Windows install is with a Linux boot disk. :-)

http://gparted.sourceforge.net/

post time: 02:08 | category: /winxp | comments | Share/Save/Bookmark

MikeyP.com

About This Site
Main Page
About MikeyP
Subscribe to Feed