The Free and Open Source Software for Disk Imaging and Cloning
Clonezilla Live Doc
Print all this session
Create Recovery Clonezilla : Create a autorun recovery Clonezilla live CD or USB flash drive (Step by step)
  1. Boot the machine via Clonezilla live
  2. The boot menu of Clonezilla live
  3. Here we choose 800x600 mode, after pressing Enter, you will see Debian Linux booting process:
  4. Choose language
  5. Choose keyboard layout
  6. Choose "Start Clonezilla"
  7. Choose "device-image" option
  8. Choose "local_dev" option to assign sdb1 as the image home
  9. Select sdb1 as image repository, then choose "restoredisk" option
  10. Choose the image you want to include in the recovery CD or USB flash drive:
Boot the machine via Clonezilla live
In this example, the machine has 2 disks, 1st disk's name is sda (device name in GNU/Linux), 2nd disk's device name is sdb. We already have a Clonezilla image in sdb. //NOTE// You must first create an image and it should exist in dir /home/partimag, otherwise later the menu "recovery-iso-zip" won't be shown.
In this example, the image name is called "focal-mbr-zst-20201114":
root@debian:~# ls -lh /home/partimag/
total 32K
drwxr-xr-x 2 root root 4.0K Nov 14 07:26 Docs
drwxr-xr-x 2 root root 4.0K Nov 14 07:26 Photo
drwxr-xr-x 2 root root 4.0K Jul 22 13:55 focal-mbr-20200722
drwxr-xr-x 2 root root 4.0K Nov 14 08:25 focal-mbr-zst-20201114
drwx------ 2 root root  16K Nov 14 07:25 lost+found

and its contents are:

root@debian:~# ls -lh /home/partimag/focal-mbr-zst-20201114/
total 545M
-rw-r--r-- 1 root root  870 Nov 14 08:25 Info-OS-prober.txt
-rw-r--r-- 1 root root  96K Nov 14 08:25 Info-dmi.txt
-rw-r--r-- 1 root root  236 Nov 14 08:25 Info-img-id.txt
-rw-r--r-- 1 root root  53K Nov 14 08:25 Info-lshw.txt
-rw-r--r-- 1 root root 4.7K Nov 14 08:25 Info-lspci.txt
-rw-r--r-- 1 root root  194 Nov 14 08:25 Info-packages.txt
-rw-r--r-- 1 root root  101 Nov 14 08:25 Info-saved-by-cmd.txt
-rw-r--r-- 1 root root  872 Nov 14 08:25 Info-smart.txt
-rw-r--r-- 1 root root  805 Nov 14 08:24 blkdev.list
-rw-r--r-- 1 root root  451 Nov 14 08:24 blkid.list
-rw-r--r-- 1 root root 6.2K Nov 14 08:25 clonezilla-img
-rw-r--r-- 1 root root  178 Nov 14 08:24 dev-fs.list
-rw-r--r-- 1 root root    4 Nov 14 08:24 disk
-rw-r--r-- 1 root root   10 Nov 14 08:24 parts
-rw-r--r-- 1 root root   36 Nov 14 08:24 sda-chs.sf
-rw-r--r-- 1 root root 1.0M Nov 14 08:24 sda-hidden-data-after-mbr
-rw-r--r-- 1 root root  512 Nov 14 08:24 sda-mbr
-rw-r--r-- 1 root root  385 Nov 14 08:24 sda-pt.parted
-rw-r--r-- 1 root root  350 Nov 14 08:24 sda-pt.parted.compact
-rw-r--r-- 1 root root  266 Nov 14 08:24 sda-pt.sf
-rw------- 1 root root  457 Nov 14 08:24 sda1.vfat-ptcl-img.zst.aa
-rw-r--r-- 1 root root  512 Nov 14 08:24 sda2-ebr
-rw------- 1 root root 543M Nov 14 08:24 sda5.ext4-ptcl-img.zst.aa

Now we will use the image "focal-mbr-zst-20201114" to create a recovery Clonezilla live CD, which can be used to recover the sda if the system on sda crashes.
Once you have the bootable Clonezilla Live CD/DVD or USB flash drive, you can boot the machine you want to clone via Clonezilla live. Remember to use the Clonezilla live CD or USB flash drive to boot the machine. For example, if you have Clonezilla Live in USB flash drive, you have to boot it via USB device (Ex. USB-HDD or USB-ZIP). If necessary, you can set the first boot priority in the BIOS as USB-HDD or USB-ZIP so that it can boot Clonezilla Live from your USB flash drive.
Here we take CD as an example. You can either set CD as first boot priority in machine's BIOS like this:

Or by pressing a hotkey (e.g. Esc or F9) when you boot the machine, you will see the boot menu of BIOS like this:

Check your motherboard manual for more details about how to boot your machine via CD.

Print this page
Clonezilla project. All Rights Reserved. Anyone is permitted to copy and distribute verbatim copies of this document under the terms of the GNU FDL Free Documentation License.