Skip to content

Instantly share code, notes, and snippets.

@synfinner
Forked from rstump/clonezilla_img
Created January 12, 2023 01:31
Show Gist options
  • Save synfinner/19dbecb73a3214842868c7b90c2f07ef to your computer and use it in GitHub Desktop.
Save synfinner/19dbecb73a3214842868c7b90c2f07ef 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