Clonezilla
From Leo's Notes
This page was last edited on 2 June 2017, at 23:57.
Clonezilla is a disk imaging distro.
Automated Imaging
To automatically reimage a computer on boot (either via PXE or USB), create a boot entry that contains the restore (or imaging) command in the ocs_live_run parameter.
For example, on a USB drive, I wanted to reimage the computer using the image located in /partimag/latest-nvidia:
label Clonezilla auto ttuff
# MENU HIDE
MENU LABEL Clonezilla Auto TTuff
# MENU PASSWD
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user hostname=yakkety config components noswap edd=on nomodeset noeject locales=en_US.UTF-8 keyboard-layouts=NONE ocs_live_run="ocs-sr -g auto -e1 auto -e2 -r -icds -j2 -p reboot restoredisk ../../lib/live/mount/medium/partimag/latest-nvidia sda" ocs_live_extra_param="" ocs_live_batch="no" vga=788 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
TEXT HELP
Automatically images from USB for the TTuff 1U computer
ENDTEXT