Sunday, March 20, 2011

Mounting a clonzilla image

OK, so this was much tougher for me than it should had been, so I am documenting this for future reference.

How to mount a Clonezilla archive to pull out files on Ubuntu 10.10.

This will unzip the files in one single file called sda2.img and from there we will mount that image for access from where ever.
  • file /path-to-archive-file/sda2.ntfs-ptcl-img.gz.aa
    • will tell you about the file compression, etc.. not necessary because the archive name tells me it is a gzip file.
  • sudo cat /path-to-archive-file/sda2.ntfs-ptcl-img.gz.* | sudo gzip -d -c | sudo partclone.restore -C -s - -O /path-to-image-file/sda2.img
    • Took about 35 minutes on 77GB archive
  • sudo ntfs-3g /path-to-image-file/sda2.img /mnt
    • cd /mnt and you will see your files
Thanks to nutria007 in the ubuntu forums.



No comments:

Post a Comment