How To Install Clonezilla on Fedora 45

Install Clonezilla on Fedora 45

Fedora 45 was announced on November 3, 2026. If you run it on a laptop, a workstation or a lab server, a reliable disk image comes before anything else. Fedora ships fast. A kernel update, a bad DNF transaction or a failing NVMe drive can leave you rebuilding a machine from scratch, and a system image taken beforehand turns that into a short restore.

The first thing to know is that Clonezilla is not a normal desktop application. Most people want to type sudo dnf install clonezilla and be finished. That command may work, or it may not, depending on your repositories. The tool is also designed to run while the disks it copies are not mounted. Imaging the running system from inside itself is the wrong approach, and it is the most common beginner mistake.

This guide covers three ways to get Clonezilla working on Fedora 45. The first is the live USB method, which is the one to trust for real backups. The second is the community package route, which is useful for scripting and for imaging secondary disks. The third is booting the ISO from your own GRUB menu. It then covers a first backup and a restore, performance tuning, security, and the errors that tend to appear at 2 AM.

Clonezilla is a partition and disk imaging tool. It is built on Partclone and a live Linux environment. It saves only the used blocks of a filesystem, which makes images much smaller and faster than a raw dd copy. You will get the most from it if you understand that model before you start.

What “Installing” Clonezilla Means on Fedora

There are two separate things people call Clonezilla.

Clonezilla Live is a bootable image. You write it to a USB stick, boot from it, and work from its text menus. This is the official and recommended way to use the tool.

The clonezilla package is the set of scripts (ocs-sr, ocs-onthefly and related tools) installed into a normal system. It pulls in Partclone and helper utilities. Used from a running OS, it fits imaging a data disk, a second drive or a disk attached over USB.

Fedora’s official repositories do not carry a maintained Clonezilla package that I could confirm for release 45. The community COPR project sergiomb/clonezilla lists builds for Fedora 40, 41 and 42, and a very small x86_64 build for Fedora 43. Fedora 45 is not on that published list. Check the project page before you assume the package exists for your release. For that reason, treat the live USB as the main method and the package as a bonus.

Upstream currently lists two live releases. The stable one is 3.3.5-3, which is Debian-based. The alternative stable one is 20261126-stonking, which is Ubuntu-based. Choose Debian-based stable unless you have newer hardware that needs the Ubuntu kernel. A very new NVMe controller or Wi-Fi chipset is the usual reason.

Before You Touch Anything

A few minutes of preparation here prevents most failures later.

Prerequisites

  • A Fedora 45 machine with sudo access to write the USB stick.
  • A USB stick of 4 GB or more. Everything on it will be erased.
  • A destination for the images. This should be a separate disk, not the one being imaged. An external SSD, a NAS over NFS or SMB, or an SSH server all work.
  • Free space on that destination. Plan for at least the used space of the source disk, and more for a safe margin. Compression usually shrinks images, but never count on it.
  • A note of your layout. Run lsblk -f and save the output. You will want it during a restore.
lsblk -f
sudo blkid
sudo fdisk -l

Fedora Workstation defaults to Btrfs, with subvolumes for root and home. Clonezilla handles Btrfs through Partclone, but it behaves differently from ext4 or XFS. Snapshots and subvolume structures are copied as part of the filesystem’s used blocks, which works for a whole-partition image. It does not work for selectively copying one subvolume. If you need that, btrfs send is the better tool.

Update the Host First

sudo dnf upgrade --refresh -y
sudo dnf install -y curl wget gnupg2 coreutils

An up-to-date host matters because you will use it to verify downloads. A stale GnuPG or a broken CA bundle gives confusing errors during signature checks.

Method 1: Build a Clonezilla Live USB (Recommended)

This is the path that works on every Fedora release, including 45. It also matches how Clonezilla is designed to be used.

Step 1: Download the ISO and Checksums

Go to the official downloads page at clonezilla.org and pick the stable release for your architecture. The page lists the stable 3.3.5-3 build alongside checksum and GPG checksum files. Download the ISO and the matching checksum file into the same folder.

cd ~/Downloads
ls -lh clonezilla-live-*.iso

Step 2: Verify the Download

Skipping verification is a bad habit when the tool will have raw write access to your disks. A corrupted ISO usually just fails to boot. A tampered one is a more serious problem.

sha256sum clonezilla-live-*.iso
grep -i clonezilla CHECKSUMS.TXT

Compare the hash by eye or let the tool do it. Name the checksum file as it appears on the download page, since the exact filename varies by release.

sha256sum -c --ignore-missing CHECKSUMS.TXT

For signature checking, import the Clonezilla signing key as documented on the project site, then verify the signed checksum file. Compare the key fingerprint against the one the project publishes before trusting it.

Step 3: Identify the USB Device Correctly

This is where careers get shortened. Writing to the wrong device overwrites a real disk without warning.

lsblk -o NAME,SIZE,MODEL,TRAN,MOUNTPOINTS

Look for TRAN set to usb and a size that matches your stick. On most systems it appears as /dev/sda or /dev/sdb, but never assume. Your internal NVMe drive is usually /dev/nvme0n1. Unplug the stick, run the command again, and plug it back in. The device that appears is the one you want.

Unmount anything auto-mounted from it:

sudo umount /dev/sdX* 2>/dev/null

Replace sdX with the real name. Do not copy the placeholder literally.

Step 4: Write the Image

Fedora Media Writer is the friendliest option on a desktop. Install it with sudo dnf install mediawriter, choose “Custom image”, and select the ISO.

On a server or over SSH, dd is the standard choice:

sudo dd if=clonezilla-live-3.3.5-3-amd64.iso of=/dev/sdX bs=4M status=progress oflag=sync conv=fsync
sync

Adjust the ISO filename to match what you downloaded. bs=4M keeps throughput sensible. oflag=sync and conv=fsync ensure the data has actually reached the stick before you pull it out. Cheap sticks buffer aggressively, and removing one early is a classic cause of a stick that boots halfway and then drops to an initramfs prompt.

You can also use cp or cat for the same result, but dd with progress output makes it obvious whether the write is progressing.

Step 5: Boot From It

Reboot and open the one-time boot menu. The key depends on the vendor. F12, F9, Esc and F10 are the usual candidates. On UEFI systems, pick the entry that starts with “UEFI:” followed by your USB device name.

If Secure Boot is enabled and the stick will not start, you have two choices. Check whether the build you downloaded supports Secure Boot, or temporarily disable Secure Boot in firmware for the duration of the backup. Re-enable it afterwards. Fedora’s own boot chain is unaffected by that toggle as long as you restore the setting.

The Clonezilla menu then asks for a language and keyboard layout. For a standard first run, accept the defaults, choose “Start Clonezilla”, and continue into the imaging menu.

Method 2: Install the Package From COPR

Use this when you want Clonezilla’s scripts available on a running system. A typical example is imaging a data disk or scripting an unattended clone from cron.

Check That a Build Exists

Open the COPR project page and confirm that your release appears in the chroot list. At the time of writing, the listed chroots cover Fedora 40, 41, 42 and 43 along with EPEL 9 and CentOS Stream 9, with no Fedora 45 entry. If 45 is missing, you can still try the enable command. It may fail with a message that the chroot is unsupported, which is a sign to use the live USB instead.

Enable and Install

sudo dnf install -y dnf-plugins-core
sudo dnf copr enable sergiomb/clonezilla
sudo dnf install -y clonezilla

A tutorial for Fedora 42 describes the same sequence and notes that the install pulls in dependencies such as partclone and udpcast. Confirm what you got:

rpm -q clonezilla partclone
which ocs-sr
ocs-sr --help | head -n 20

A COPR build is third-party software, which has real consequences:

  • It is not reviewed by Fedora’s packaging team.
  • It may lag behind the upstream live release.
  • It can stop being built for a given release without notice.
  • It runs as root during your imaging jobs.

On production hardware, many administrators avoid COPR for anything touching disks. If you use it, record the exact package version and keep a copy of the RPM so you can reinstall it later.

Removing It Cleanly

sudo dnf remove clonezilla
sudo dnf copr disable sergiomb/clonezilla

Method 3: Boot the ISO From the Fedora GRUB Menu

This option is for machines with no free USB port, or for remote hosts where you have console access but cannot plug anything in. It is fiddly and it deserves caution.

The idea is to copy the ISO to /boot or another partition that GRUB can read, then add a menu entry that loads the kernel and initrd from inside the ISO. Clonezilla supports booting from an ISO file through its findiso parameter, but the exact kernel parameters change between releases. Check the official documentation for the release you downloaded before you copy anything here.

A skeleton looks like this in /etc/grub.d/40_custom:

menuentry "Clonezilla Live (ISO)" {
    set isofile="/clonezilla-live.iso"
    insmod part_gpt
    insmod ext2
    search --no-floppy --file --set=root $isofile
    loopback loop ($root)$isofile
    linux (loop)/live/vmlinuz boot=live union=overlay components findiso=$isofile
    initrd (loop)/live/initrd.img
}

Then regenerate the config:

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Test this on a spare machine first. A wrong path just sends you back to the menu, but an experimental entry added to a remote server with no console is a gamble. Keep the original boot entry as the default until you have proven the new one works. Also note that the ISO must sit on a filesystem GRUB can read. Btrfs works with the right modules, but a plain ext4 /boot is the simplest choice.

Running Your First Backup

Here is a full disk image workflow with Clonezilla Live. The menu wording differs a little between versions, but the sequence is stable.

  1. Plug in the destination drive before booting. Clonezilla detects devices at start-up, and hot-plugging later often works only after you drop to the shell.
  2. Choose device-image to create an image file, as opposed to device-device for a direct disk-to-disk clone.
  3. Select the repository location, such as local_dev for a USB or internal drive, or ssh_server, nfs_server or samba_server for network storage.
  4. Pick the destination partition and a folder.
  5. Choose Beginner mode for the first run. Expert mode exposes the compression, checking and cloning-engine options.
  6. Select savedisk to image a whole disk, or saveparts for chosen partitions.
  7. Name the image clearly, for example fedora45-thinkpad-2026-11-27. Future you will thank present you.
  8. Pick the source disk, then choose to check the image after saving.
  9. Decide on encryption, if offered, and confirm the prompts.

The image check is not optional in my view. An unverified backup is a hope. It adds time, but it catches unreadable sectors on the source and write errors on the target. It also confirms that the image can be read back, which a plain copy cannot.

Why Whole-Disk Images Beat Partition Images

savedisk stores the partition table, the bootloader region and the partitions. On a UEFI Fedora install, that includes the EFI System Partition, /boot and the root volume. Restoring everything together reproduces a bootable system. Imaging only the root partition leaves you to repair the bootloader by hand, which is possible but slow.

Restoring an Image

Restoring uses the same menus. Choose device-image, then restoredisk, and pick the image and the target disk.

Three rules apply:

  • The target disk must be at least as large as the source disk, unless you use options to resize partitions proportionally.
  • Everything on the target will be erased. Read the device name twice. Then read it a third time.
  • After the restore, boot into Fedora and check lsblk, findmnt and efibootmgr -v.

If the machine will not boot after a restore onto different hardware, the UEFI boot entry is almost always the culprit. Boot a Fedora live image, mount the system, and repair it:

sudo mount /dev/mapper/<your-root> /mnt
sudo mount /dev/<efi-partition> /mnt/boot/efi
for d in dev proc sys run; do sudo mount --rbind /$d /mnt/$d; done
sudo chroot /mnt
dnf reinstall -y grub2-efi-x64 shim-x64
grub2-mkconfig -o /boot/grub2/grub.cfg
exit

Adapt the device names to your layout. Btrfs installs need the right subvolume mounted first, using -o subvol=root. Newer Fedora layouts can differ on where /boot/efi lives, so check your own fstab first.

Network Targets: NFS, SMB and SSH

A local external drive is simple, but a network repository scales better when you image many machines.

For NFS on a Fedora server, install and export a directory:

sudo dnf install -y nfs-utils
sudo mkdir -p /srv/clonezilla
echo '/srv/clonezilla 192.168.1.0/24(rw,sync,no_root_squash)' | sudo tee -a /etc/exports
sudo systemctl enable --now nfs-server
sudo exportfs -rav
sudo firewall-cmd --permanent --add-service=nfs
sudo firewall-cmd --reload

no_root_squash is necessary because Clonezilla writes as root. It is also a security trade-off, so restrict the export to the exact subnet or host. Never expose it beyond a trusted network.

For SSH, a dedicated unprivileged account with a key limited to the image directory is cleaner than using root. Keep the account separate from your admin login.

Troubleshooting Common Problems

The USB stick will not boot. Check that you wrote the ISO to the device and not to a partition, such as /dev/sdb and not /dev/sdb1. Try another USB port, then another stick. Confirm the boot mode, because a stick prepared for UEFI will not show under legacy boot and the reverse is also true.

Secure Boot blocks the stick. Disable it temporarily or enroll the needed key. Re-enable it afterwards and confirm that Fedora still boots.

dnf copr enable reports that the chroot is not supported. The project has no build for your Fedora version. Use the live USB, or build your own RPM from the upstream source if you have a good reason to.

The target disk does not appear in the menu. Plug it in before boot, or drop to the shell and run lsblk. Some USB enclosures need a reconnect. A disk with an unusual filesystem may need manual mounting.

“Partition is mounted” or similar warnings. Clonezilla refuses to image a mounted partition for safety. Boot from the live stick instead of imaging your running system.

Image check fails. Do not ignore it. Rerun the backup, check the cable and the drive health, and test the RAM with memtest. A flaky USB cable is a more common cause than people expect.

Restore finishes but Fedora will not boot. Look at the UEFI entries with efibootmgr -v, and repair GRUB from a chroot as shown above. If the disk was restored to a different size, check that /etc/fstab UUIDs still match blkid.

Btrfs restore complains about used space. Make sure the target is at least as large as the original partition. Balance and scrub after the first boot with sudo btrfs scrub start /.

Slow speeds over the network. Test raw throughput with iperf3 first. If the link is fine, the slowdown is usually compression or a slow repository disk.

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.

Related Posts