Ubuntu

Use Clonezilla Open Source Imaging Software - an ICTworks Tech Tip of the Day

Clonezilla
As anyone who's participated in a deployment of computers larger than 5 or 10 knows, imaging software is key to quickly rolling out large numbers of identical machines.

Many commercial options like Norton Ghost exist, but with a USD 70 price tag for the personal version and USD 500+ for enterprise features, they're not well suited for the small budgets of ICTD deployments.

Inveneo's imaging solution of choice has long been the Taiwanese open source project Clonezilla.  Clonezilla is feature rich with a clean UI, and has good (if not poorly translated) documentation.

Clonezilla automates a number of complex imaging tasks, and can handle a wide variety of OS and partition types from FAT/FAT32 (Microsoft Windows) to ext3/ext4 (Linux) and more.

In the Inveneo engineering lab, we run Clonezilla SE (server edition) because we do such a wide variety of imaging.

In the field, however, it's much handier to use Clonezilla Live (a version of clonezilla that boots from a CD or USB thumb drive).

If you go the CD route, check out PartedMagic instead of the standard Clonezilla LiveCD.  It bundles Clonezilla with the popular GParted graphical partition editor.  This allows you to perform a huge variety of imaging, backup, and restoration tasks.

Inveneo has found small form factor PCs like the eeeBox and the Fit2 are well suited for rural, low-power deployments.  These PCs, however, don't have room for a built-in CDrom.  It's possible to use an external drive, but that's just one more piece of equipment to lug to the field.

The better option is to put Clonezilla Live on a bootable USB stick.  This is a relatively simple process, with easy instructions on the clonezilla website.  You'll likely want to use the Ubuntu, rather than the plain Debian based install for compatibility with the widest range of hardware.

One important note:  When using a bootable USB drive clonezilla install with the Inveneo R4 server, be sure to set the BIOS option "USB Mass Storage Emulation Type" to "All Fixed Disk" instead of "Auto" to ensure proper detection of the bootable USB drive.  You'll find this option in the system BIOS by pressing F2 at boot and pressing the right arrow a few times to select the BOOT menu.

Happy Imaging!


.

Get ICTworks 3x a week - enter your email address:

andris's picture

Andris Bjornson

Since graduating from Northwestern University with a Physics degree, I have helped build long-distance nonprofit WiFi networks as a volunteer in Nepal, managed communications-hardware deployments for the U.S. Department of State, created a high-volume image archive system for an A-list advertising photographer, and helped tell the story of landmine survivors through documentary multimedia. This multi-disciplinary career path has been my attempt to blend passions for technology, creativity, and global involvement. Outside of work, I am an avid photographer and I try to spend as much time as possible getting to the top of tall things by boot, bike, climbing harness, or ice axe.

Ubuntu on Asus Eeetop

Summary

We are always looking for the latest in low-powered devices and one that caught our eye recently was a touchscreen from Asus, the EeeTop.

bshih's picture

Brian Shih

Brian is a Network Engineer for Inveneo. Brian has over 8 years experience helping people get connected specializing in large-scale IP network architecture and infrastructure design. He has worked with both local and global ISPs to provide businesses with an Internet presence. He holds a BS in Operations Research and a minor in Economics from Columbia University.

In Economic Downturn, African ICT Heats Up

While the Great Recession may be shrinking the appetite for business risk in the developed world, I was struck by the long list of African technology startups compiled by TechMasai. Even better are the comments, where readers take exception that this list of 56 companies is the complete list of startups.

New business even online

They have a good point. This list is only of the startups that TechMasai has heard of. I am sure there are 2-3x as many operating under the radar, and enjoying good profits before others notice their lucrative business models and compete against them.

But its not just little guys who are making moves into the African ICT community. Even massive stalwarts like IBM are now realizing that Africa is a real IT market, with their cloud-computing enabled netbook software partnership with Ubuntu.

I agree with Theresa Carpenter Sondjo that Africa may not be ready for the cloud-computing IBM is thinking of - the connectivity isn't there yet - but I disagree with her about netbooks. These small and cheap laptops are a real alternative to regular computers and the 4P Computing revolution will change the way Africans approach technology.

And its time we all approached African technologists - as partners and employees. Find both at Zebrajobs.com, the first Africa-wide Virtual Job Fair that opens on September 30th 2009. While it too relies on broadband Internet that can be rare or expensive in Africa, its online location is still cheaper and easier to reach than a physical job fair.

See ya there!

Wayan Vota's picture

Wayan Vota

Inveneo

Wayan Vota is a technology expert focused on appropriate information and communication technologies (ICT) for rural and underserved areas of the developing world. He is a Senior Director at Inveneo and is the editor of ICTworks

Ubuntu for eeeBox

Summary

We at Inveneo love the Asus eeeBox for its low power consumption, good performance, small form factor, and durability in rugged environments.  We also love Ubuntu for its intuitive user interface, open source nature, and broad range of available software.

There's only one problem:  out of the box, current versions of Ubuntu don't offer full support for eeeBox hardware.  Most notably, the Realtek RT2860 802.11 wireless card handles network detection properly but has trouble connecting to WPA and WPA2 networks.

Fortunately, there's an easy fix.  The guys at Array.org maintain Ubuntu kernel packages to supply the drivers necessary to use the Asus EeePC on the Ubuntu v8.04 (Hardy Heron), Ubuntu v8.10 (Intrepid Ibex), and Ubuntu v9.04 (Jaunty Jackalope) based distributions.  Array.org even has its own Debian style APT repository to make installation quick and easy.

Here's how you make it happen:

Installation<

Basically, this is a quick rehash of Array.org's own install guide.

Install Ubuntu 9.04 Desktop

It doesn't get any easier than this, Head over to ubuntu.com and download the ISO for Ubuntu 9.04 Desktop (you can try the Netbook Remix if you'd like, but we haven't tested it)

You'll need to burn the ISO to CD, configure the BIOS of your eeeBox to boot from CD, and boot from your Ubuntu installer CD.

After installing, you may want to set your eeeBox BIOS back to boot the hard drive first for security reasons.

Install the Array.org kernel packages

Once you've finished installing Ubuntu, start up the eeeBox and log in.  

You'll notice that everything works great...almost.  If you try to join a wireless network by typing in the WPA/WPA2 password, the network status indicator will just keep spinning.  After a while, it will say it couldn't connect and ask you for the password again.

Open a terminal window by choosing ''applications -> accessories -> terminal''

Issue the following two commands to add the array.org APT repository to your repository list

 wget http://www.array.org/ubuntu/array-jaunty.list
 sudo mv -v array-jaunty.list /etc/apt/sources.list.d/  (you'll be asked for your password)

Then, you need to get and install array.org's APT repository key so you know the packages you're installing are genuine

 wget http://www.array.org/ubuntu/array-apt-key.asc
 sudo apt-key add array-apt-key.asc

Finally, update your package lists

 sudo apt-get update

Now you're ready to install the kernel packages

 sudo apt-get install linux-netbook-eeepc

Note that, even though these packages were designed for the Asus eeePC (a laptop) it's completely acceptable to use them on your eeeBox since the hardware is almost identical.

You should also issue one last command

 sudo apt-get remove linux-generic linux-image-generic linux-restricted-modules-generic

This removes the standard generic linux kernel from the list of packages to be automatically updated by APT, but will keep your most recent version of the generic kernel around in case you need it for testing.

According to Array.org:

It's useful to keep this last generic kernel around just incase you encounter an unexpected problem with the netbook kernel need an "official ubuntu" kernel to fall back to.

When the packages finish installing, you should be asked to reboot...if not, manually reboot your eeeBox.

Now, the kernel is installed, but grub doesn't yet know to use the new kernel as its default.  When prompted during the boot process, press <ESC> to enter the GRUB boot menu, and choose the netbook-eeepc option from the menu.  In the next step, we'll fix the GRUB default.

Once Ubuntu finishes booting, connect to your wireless network.  Everything should be working!

Edit your GRUB configuration

(Here is a helpful tutorial on this if you'd like more information)

Open a terminal again and type

 sudo cp /boot/grub/menu.lst /boot/grub/menu.old (this just backs up this important file in case you make mistakes)
 sudo nano /boot/grub/menu.lst

This is the file that tells grub which kernel to boot.

Scroll down until you find the lines that begin with ''title'', Each ''title'' line defines one menu option on the GRUB menu.  The first ''title'' line is number 0.  Count down until you find the menu option for ''netbook-eeepc'' ('''Not''' netbook-eeepc (recovery mode)).  This is the one you want.  In my case, it was the third ''title'' line, which made it menu choice 2.

Scroll back up to the top of the menu.lst file and find the line that begins with the word ''default.''  Change it to read

 default          <menuchoice>

(Where <menuchoice> is the number of the netbook-eeepc kernel in the grub menu)

Save the file by pressing ''<Ctrl-O>'' and then exit by pressing ''<Ctrl-X>''

Reboot

You're done!  Wireless networking should be working.

Untested Alternate Ubuntu / eeeBox Packages

In the course of our search for a quick eeeBox Ubuntu fix, we also came across the following other options.  We don't have any experience with them yet, but we'd love to hear from you if you have an opinion!

andris's picture

Andris Bjornson

Since graduating from Northwestern University with a Physics degree, I have helped build long-distance nonprofit WiFi networks as a volunteer in Nepal, managed communications-hardware deployments for the U.S. Department of State, created a high-volume image archive system for an A-list advertising photographer, and helped tell the story of landmine survivors through documentary multimedia. This multi-disciplinary career path has been my attempt to blend passions for technology, creativity, and global involvement. Outside of work, I am an avid photographer and I try to spend as much time as possible getting to the top of tall things by boot, bike, climbing harness, or ice axe.

ICTWorks Linux Technical Manual

andris's picture

Andris Bjornson

Since graduating from Northwestern University with a Physics degree, I have helped build long-distance nonprofit WiFi networks as a volunteer in Nepal, managed communications-hardware deployments for the U.S. Department of State, created a high-volume image archive system for an A-list advertising photographer, and helped tell the story of landmine survivors through documentary multimedia. This multi-disciplinary career path has been my attempt to blend passions for technology, creativity, and global involvement. Outside of work, I am an avid photographer and I try to spend as much time as possible getting to the top of tall things by boot, bike, climbing harness, or ice axe.

Syndicate content