Skip to content

Instantly share code, notes, and snippets.

@rstump
Created August 2, 2011 03:24
Show Gist options
  • Save rstump/1119542 to your computer and use it in GitHub Desktop.
Save rstump/1119542 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment