Introduction
Welcome, intrepid sysadmin or home-lab tinkerer! Ever wished your computer had a clone so you could experiment without fear of data loss? Enter
Clonezilla Live, the Swiss Army knife of disk imaging. This tutorial will guide you—step by step and with a sprinkle of humor—through installing and using Clonezilla Live to clone, backup, and restore Linux OS installations like a pro.
Why Clonezilla Live?
- Free and Open Source: No hidden fees, no vendor lock-in, and you can even read the code if you’re brave enough.
- Efficiency: Uses partclone to copy only used blocks—no more dragging along empty space.
- Versatility: Supports a wide range of file systems: ext2/ext3/ext4, btrfs, FAT, NTFS, and many more.
- Multicast: Clone dozens of machines at once—perfect for classrooms or cloning your entire gaming rig fleet.
Prerequisites
- A working computer with internet to download Clonezilla Live.
- An empty USB stick (>= 1 GB) or a blank DVD.
- Rufus (Windows) or dd (Linux/macOS) to create bootable media.
- Your wits about you—and maybe coffee, in case something goes sideways.
1. Download Clonezilla Live
Head over to the official site:
https://clonezilla.org/clonezilla-live.php
. Choose the stable release. Pick the architecture matching your machine: amd64 for modern 64-bit, i686 for older 32-bit.
2. Verify the ISO Integrity
Always check the checksum to ensure you didn’t download a gremlin-infected ISO. On Linux/macOS, run:
sha256sum clonezilla-live-.iso
Compare with the checksum on the download page. If they match, you’re golden. If not, try again or check your router: sometimes it likes to play tricks.
3. Create Bootable Media
On Windows (using Rufus)
- Download Rufus from
https://rufus.ie. - Insert your USB stick, launch Rufus, select the Clonezilla ISO, and click Start.
- Wait until Rufus proclaims success. Don’t pull the plug mid-process unless you like surprises.
On Linux/macOS (using dd)
sudo dd if=clonezilla-live-.iso of=/dev/sdX bs=4M status=progress sync
Replace /dev/sdX with your USB device. Use lsblk or diskutil list to find it. One wrong letter and you’ll clone your root drive instead!
4. Boot into Clonezilla Live
- Plug in the USB or insert the DVD.
- Reboot your machine and enter the BIOS/UEFI menu (F2, DEL, ESC or whatever your motherboard manual says).
- Set USB/DVD as the first boot device.
- Save and exit—if all goes well, you’ll be greeted by the Clonezilla Live menu.
5. Basic Cloning Workflow
Clonezilla offers two main modes:
- Device-image: Create an image file on an external drive.
- Device-device: Directly clone one disk to another.
5.1 Creating an Image
- Select device-image rarr choose local_dev rarr pick your external HDD/USB.
- Navigate to a folder or create a new one (e.g., my_backups).
- Choose saveparts (backup partitions) or savedisk (entire disk).
- Follow prompts: compression (gzip/lzo/zstd), check image, etc.
- Pat your back for making a backup and maybe do a little happy dance.
5.2 Restoring an Image
- Select device-image rarr local_dev rarr your backup folder.
- Choose restoredisk or restoreparts.
- Pick the target disk/partition (be careful!).
- Confirm operations (Clonezilla will remind you that this will overwrite data).
- Wait patiently while Clonezilla works its magic.
5.3 Direct Disk-to-Disk Clone
- Select device-device rarr beginner mode.
- Choose disk_to_local_disk.
- Select source disk rarr target disk.
- Confirm, cross your fingers, and let the clone commence.
6. Advanced Options
| Option | Use Case | Tip |
|---|---|---|
| -icds | Skip checking destination disk size | Handy when targeting larger disks. |
| -scr | Skip write cache | Speeds up restores, but beware of risks. |
| -rescue | Attempt recovery of unreadable sectors | Slow but sometimes saves the day. |
For a full list of options, consult the manual:
Advanced modes guide
.
7. Troubleshooting Tips
- “Can’t find live directory”: Probably a bad USB. Recreate it with a different USB or use Rufus’s dd mode.
- Clonezilla crashes mid-job: Check your RAM with memtest86 . Defective sticks love to ruin your fun.
- Restored system won’t boot: Run sudo update-grub or reinstall GRUB from a chroot.
8. Best Practices
- Store images on a separate physical drive or network share.
- Tag images with dates and descriptions (e.g., ubuntu20.04_2024-06-15).
- Periodically test your backups! A backup that doesn’t restore is like a parachute that never opens.
- Use checksums or md5sum on images for long-term integrity checks.
Conclusion
You’ve now graduated from Clonezilla 101! Whether you’re mass-deploying lab machines or safeguarding your precious data, Clonezilla Live is your trustworthy companion. Remember: with great power (to clone disks) comes great responsibility (don’t overwrite the wrong drive!). Clone wisely, restore safely!
For more info and community support, visit the official site:
https://clonezilla.org.
Leave a Reply