Clonezilla
Jump to navigation
Jump to search
Clonezilla is a free disk cloning, disk imaging, data recovery, and deployment computer program written in perl and bash and use partclone software to save and restore used blocks on a partition.
Clonezilla Live[edit]
Clonezilla live offers an interactive interface for restoring and backup or you can just execute commands with appropriate parameters. Some binaries are:
ocs-sr
orocs-sr -x
for interactive mode
/usr/sbin/ocs-sr -g auto -e1 auto e2 -r -j2 -c -scr -p choose restoredisk RESTORE_SOURCE_OMG DEVICE
/usr/sbin/ocs-sr -g auto -e1 auto e2 -r -j2 -c -scr -p choose restoredisk 2019-09-10-14-img nvme0n1
- -g == --grub-install
- -e1 == --change-geometry NTFS-BOOT-PARTITION
- -e2 == --load-geometry-from-edd
- -r == --resize partition
- -scr == ---skip-check-restorable
- -p == --postaction (default reboot)
ocs-live
Activities[edit]
- /Create an image of your systems using Clonezilla-liveCD on an external USB disk and restore it to a new systems/
- Create a custom script based on https://github.com/stevenshiau/clonezilla/blob/master/samples/custom-ocs example and modified it to make an unattended restore.
- Read unattended mode documentation: https://clonezilla.org/fine-print-live-doc.php?path=clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc, for live USB modify:
syslinux/syslinux.cfg
- Read
ocs-sr
command line examples https://clonezilla.org/advanced/reserved-word-ocs-sr.php and code https://github.com/stevenshiau/clonezilla/blob/master/sbin/ocs-sr
See also[edit]
Advertising: