Clonezilla

The Free and Open Source Software for Disk Imaging and Cloning
Clonezilla Live Doc
Print all this session
lite server : Run a Clonezilla lite server to do massive deployment from an image via multicast mechanism
  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 "lite-server" option
  8. Start Clonezilla lite server
  9. Now we have to mount the image repository.
  10. Select sdb1 as image repository, then choose "restoredisk" option
  11. Select image name and destination disk
Boot the machine via Clonezilla live
In this example, the machine will run as a Clonezilla lite server, which can be used to deploy an image to many computers. Assume we already have a Clonezilla image in sdb, the image name is called "disco-x64-20190424" and will be deployed to other computers using multicast mechanism. We will use the existing DHCP service in the LAN when providing network booting service for clients:
root@debian:~# ls -lh /home/partimag/
total 1.0K
drwxr-xr-x 2 root root 680 Apr 24 02:08 disco-x64-20190424
drwxr-xr-x 2 root root 832 Apr 20 12:46 disco-x64-efi-20190420
drwxr-xr-x 2 root root  48 Apr 25 12:08 Docs
drwxr-xr-x 2 root root  48 Apr 25 12:08 Photos

root@debian:~# ls -alFh /home/partimag/disco-x64-20190424
total 568M
drwxr-xr-x 2 root root  680 Apr 24 02:08 ./
drwxr-xr-x 8 root root  208 Apr 25 12:08 ../
-rw-r--r-- 1 root root 1.1K Apr 24 02:07 blkdev.list
-rw-r--r-- 1 root root  460 Apr 24 02:07 blkid.list
-rw-r--r-- 1 root root 4.7K Apr 24 02:08 clonezilla-img
-rw-r--r-- 1 root root  144 Apr 24 02:07 dev-fs.list
-rw-r--r-- 1 root root    4 Apr 24 02:08 disk
-rw-r--r-- 1 root root  96K Apr 24 02:08 Info-dmi.txt
-rw-r--r-- 1 root root  187 Apr 24 02:08 Info-img-id.txt
-rw-r--r-- 1 root root  60K Apr 24 02:08 Info-lshw.txt
-rw-r--r-- 1 root root 4.6K Apr 24 02:08 Info-lspci.txt
-rw-r--r-- 1 root root  225 Apr 24 02:08 Info-packages.txt
-rw-r--r-- 1 root root   96 Apr 24 02:08 Info-saved-by-cmd.txt
-rw-r--r-- 1 root root    5 Apr 24 02:08 parts
-rw------- 1 root root 566M Apr 24 02:08 sda1.ext4-ptcl-img.gz.aa
-rw-r--r-- 1 root root   35 Apr 24 02:07 sda-chs.sf
-rw-r--r-- 1 root root 1.0M Apr 24 02:07 sda-hidden-data-after-mbr
-rw-r--r-- 1 root root  512 Apr 24 02:07 sda-mbr
-rw-r--r-- 1 root root  273 Apr 24 02:07 sda-pt.parted
-rw-r--r-- 1 root root  260 Apr 24 02:07 sda-pt.parted.compact
-rw-r--r-- 1 root root  133 Apr 24 02:07 sda-pt.sf
Now the image "disco-x64-20190424" will be deployed to other machine's sda.

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.