2009年5月7日星期四

Clonezilla: Sheer awesomeness

Clonezilla: Sheer awesomeness

I was going to start by saying that building a Crux system is a long and tedious process. But really, no matter what software you're using, building a system to your liking takes time and effort.

But for someone like me, who swaps out systems sometimes once or twice in the course of a few days, building and rebuilding, installing and reinstalling … it can be very time consuming.

So I took some advice and looked into Clonezilla, and I really like what I found. Now I have a way of flashing an entire system — an entire hard drive, really — to a file or a folder, and switching between systems in a matter of minutes.

It's fantastic stuff. I have an entire, updated and customized Jaunty system stashed on my modular drive, alongside a custom-compiled Crux system. Time to back up a system is under 10 minutes for a 60GB 7200rpm system drive, writing to a 120GB 5400rpm modular drive. Writing out that entire hard drive again takes even less time.

And the time saved over installing and reinstalling is huge. Consider that a fresh Crux 2.5 system, installed today from the release ISO, needs almost every core package updated and recompiled — including some giants, like gcc. I don't know about your system, but at 1GHz, gcc takes me more than three hours to build.

So not only does it save me time on an installation, but it also means I can corrupt an entire system (which I consider to be fun) with any manner of oddball packages or profiles, and restore a fresh one in a matter of minutes. No, seriously: I can go berzerk and wreck an entire Ubuntu system in any fashion I please, and 10 minutes later, it's back. It's a queer, but impressive form of immortality.

There are some downsides to Clonezilla. First of all, it's not exactly point-and-click backup and restore. If you discount yourself as a beginner or fear anything ungraphical, this will be very intimidating for you. Everything is dialog-driven, meaning the menus and selections are reminiscent of the Ubuntu alternate installation. If you don't like that, look for something else.

And you need to know a little bit about your hardware, or at least enough to recognize where you put your backups, and make sure you're restoring them properly.

On the other hand, I have used only the default options throughout my entire learning experience with Clonezilla, and I have yet to wreck anything irreparably (fingers crossed there). So long as you keep your focus and don't split your attention between Clonezilla and YouTube ( :roll: ), you'll come out a winner. And I only mention this because, like any other tool of this magnitude, the potential is there to really ruin your day.

But the benefits far outweigh the risks. And if I understand the Clonezilla home page correctly, there are a lot of nifty tricks that you can do with Clonezilla that fall way beyond my needs. I'll let you read up on it and decide if it's useful to you; half of the things they talk about I don't even know what they are.

In any case, I offer a very strong recommendation, on the grounds that it will save you a lot of time reinstalling, or preserving a "clean" system, or switching between systems, like I do. A very big smilie for the Clonezilla people: :D