Skip to content

Instantly share code, notes, and snippets.

@rstump
rstump / clonezilla_img
Created August 2, 2011 03:24
Creating a .img file from a Clonezilla backup
ryanstump@wubuntu:sudo apt-get update
ryanstump@wubuntu:sudo apt-get install partclone
ryanstump@wubuntu:/mnt/src$ touch /destination/sde2.img
ryanstump@wubuntu:/mnt/src$ sudo cat 2011-07-31-11-img/sda3.ntfs-ptcl-img.gz.* |sudo gzip -d -c | sudo partclone.restore -C -s - -O /destination/sde2.img