Clonezilla Live Doc
Clonezilla Live Doc
Clonezilla Live Doc
Clonezilla
The Free and Open Source Software for Disk Imaging and Cloning
About
News
Clonezilla Live Doc
Screenshots Create Recovery Clonezilla : Create a autorun recovery Clonezilla live CD or USB flash drive (Step by step)
Live CD/USB
Live Docs 1. Boot the machine via Clonezilla live
Server Edition
2. The boot menu of Clonezilla live
Download
CD/USB key vendors 3. Here we choose 800x600 mode, after pressing Enter, you will see Debian Linux booting process:
DRBL-winroll 4. Choose language
Related LiveCD
5. Choose keyboard layout
Testimonials
Lecture Materials 6. Choose "Start Clonezilla"
Related Articles 7. Choose "device-image" option
Partners 8. Choose "local_dev" option to assign sdb1 as the image home
FAQ/Q&A
Forum
9. Select sdb1 as image repository, then choose "restoredisk" option
Mailing Lists 10. Choose the image you want to include in the recovery CD or USB flash drive:
Developers
Contributors
Boot the machine via Clonezilla live
Related links
Local communities
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 "bookworm-2023-10-15-03-img":
root@debian:/home/partimag# ls -l
total 20
total 1.3G
Now we will use the image "bookworm-2023-10-15-03-img" 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:
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 1/18
12/5/24, 3:43 PM Clonezilla Live Doc
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.
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 2/18
12/5/24, 3:43 PM Clonezilla Live Doc
Here is a screenshot of Clonezilla Live boot menu:
The first one is the default mode for Clonezilla Live. It will default to framebuffer mode with a resolution of 800x600.
The 2nd one "(VGA 800x600 & To RAM)", is the same function with the 1st one except when Clonezilla live booting finishes, all the necessary files are copied to memory.
Therefore you can remove the boot media (CD or USB flash drive) then. In addition to use the arrow key to choose, you can also press "r" to choose that.
The 3rd one "(VGA with large font & To RAM)" is for you to use large font, especially when you have 4K monitor, and it will all the necessary files will be copied to memory. In
addition to use the arrow key to choose, you can also press "l" to choose that.
The 4th one "(Speech synthesis)" is for the blind to use, which can be chosen by pressing "s" key.
There are more modes which you can choose in the 5th choice "Other modes of Clonezilla live", e.g. 1024X768 or 640x480 one if you want, as shown here:
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 3/18
12/5/24, 3:43 PM Clonezilla Live Doc
The choice, "KMS" is for you to use KMS (Kernel Mode Setting) for your graphics card. If you have some problem to use the framebuffer mode of your graphics card, you can
try it.
If you do not need Chinese, Japanese or Korean environment or if your computer experiences problems in the framebuffer mode, you can choose the one " Clonezilla Live
Safe graphic settings (vga=normal)" to clone in the English environment.
The choice, "Clonezilla live (Failsafe mode)", is for something goes wrong when you are not be able to boot your machine, such as ACPI of your machine is not supported in
the kernel.
If you want to boot local OS in your hard drive, you can choose the one "Local operating system in hard drive (if available)". This is an extra function in the boot media that
has nothing to do with Clonezilla Live.
The choice, "Memtester (VGA 800x600 & To RAM)" is for memory testing using Memtester. This is an extra function in the boot media that has nothing to do with Clonezilla
Live.
The choice, "Memory test using Memtest86+," is for memory testing using Memtest86+. This is an extra function in the boot media that has nothing to do with Clonezilla Live
The choice, "Network boot via iPXE" is used to perform a network boot via iPXE. If your computer does not have a PXE network, you can use this to do boot from a network.
This is an extra function in the boot media that has nothing to do with Clonezilla Live.
The choice, "uEFI firmware setup" is used to enter uEFI BIOS settings.
Here we choose 800x600 mode, after pressing Enter, you will see Debian Linux booting process:
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 4/18
12/5/24, 3:43 PM Clonezilla Live Doc
//NOTE// Do _NOT_ choose the To RAM option of boot menu in this case. It will _NOT_ work for creating recovery ISO or zip file.
Choose language
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 5/18
12/5/24, 3:43 PM Clonezilla Live Doc
The default keyboard layout is US keybaord, therefore if you are using US keyboard, just press enter (i.e. use the option "Keep").
If you want to change keymap, you can choose "Change" then follow the dialog to change it.
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 6/18
12/5/24, 3:43 PM Clonezilla Live Doc
There are other options, e.g. sshfs, samba, nfs or webdav, AWS S3 or Openstack Swift, you can use when network is available. This is very useful when 2nd local disk is not
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 7/18
12/5/24, 3:43 PM Clonezilla Live Doc
available.
Since we choose "local_dev" option, we can use 2nd disk or USB flash drive to save 1st disk's image. If using USB flash drive as repository, inster USB flash drive and wait a
few secs.
Clonezilla will scan the disks on the machine in every few secs, and show you the results:
Once you see the device you have inserted shown on the status, you have to press Ctrl-C to quit the scanning report.
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 8/18
12/5/24, 3:43 PM Clonezilla Live Doc
Select sdb1 as image repository, then choose "restoredisk" option
Before mounting the device sdb1, it allows you to do a file system check. Here we skip it.
Choose the directory name on /dev/sdb1 as the image repository. Here we put image on the top directory (i.e., Current selected dir name is "/"):
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 9/18
12/5/24, 3:43 PM Clonezilla Live Doc
If you are not familiar with the disk or partition name in GNU/Linux, read the hints:
'The partition name is the device name in GNU/Linux. The first partition in the first disk is "sda1", the 2nd partition in the first disk is "sda2", the first partition in the second
disk is "sdb1"... If the system you want to save is MS windows, normally C: is sda1, and D: could be sda2, or sda5...'
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 10/18
12/5/24, 3:43 PM Clonezilla Live Doc
Here we choose "Beginner" mode:
If you choose "Expert" mode, you will have some chances to choose advanced parameters, e.g. imaging program, compression program, etc.. You can see more details
here.
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 11/18
12/5/24, 3:43 PM Clonezilla Live Doc
Choose the image you want to include in the recovery CD or USB flash drive:
Choose the destination disk to be recovered when the recovery CD or USB flash drive is used:
//NOTE// If you want to ask the destination disk after this recovery CD is booted, you can use the keyword "ask_user" and your user will be able to choose the destination dis
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 12/18
12/5/24, 3:43 PM Clonezilla Live Doc
after he/she boots the recovery CD.
Choose the option to create the partition table on the destination. First choice is to use the partition table from image, 2nd choice is to create the partition table proportionally,
i.e., if you have the image which is samved from a smaller disk, here you can create the partitions proportionally on the destination disk:
Choose to check the image integrity before really restoring the image to disk sda:
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 13/18
12/5/24, 3:43 PM Clonezilla Live Doc
It's recommended to check the image before restoring it. You will not know if the image is broken or not. If you are really sure about the integrity is OK, then of course you ca
choose "-scr" to skip checking.
Select the mode you want after the disk restoring is done:
By default we will choose later, but if you have decided, you can choose to reboot or poweroff the machine.
Choose the language when the recovery CD or USB flash drive is used:
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 14/18
12/5/24, 3:43 PM Clonezilla Live Doc
Set the keyboard layout when the recovery CD or USB flash drive is used, here we chose "NONE". That means we won't change the keyboard layout, i.e. the US keyboard
layout will be used:
Choose you want to creaet iso file (for CD/DVD), zip file (for USB flash drive) or both. Here we choose iso:
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 15/18
12/5/24, 3:43 PM Clonezilla Live Doc
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 16/18
12/5/24, 3:43 PM Clonezilla Live Doc
Once it's done, the created iso file is in the dir /home/partimag:
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 17/18
12/5/24, 3:43 PM Clonezilla Live Doc
That's all. You can copy (or use network tool to copy, e.g. scp, lftp, to copy the file to another machine. If you need to config the network, run: "sudo -i; ocs-live-netcfg" to
config the network.) the create iso file to the machine running with a CD burner. Then you can use burning tool to burn the iso image to CD or DVD. If you want to create a
recovery USB flash drive, choose to create zip file, then follow the same method as creating USB flash drive version of Clonezilla live to put the created zip file on USB flash
drive and make it bootable.
<< >
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.
https://clonezilla.org/fine-print-live-doc.php?fullmode=1&path=./clonezilla-live/doc/04_Create_Recovery_Clonezilla 18/18