Skip to content

Fusion Network

HowTo: Mount CloneZilla Partitions without having to restore to a new computer or Virtual Machine.

 

Purpose:

Sometimes its just easier to mount a partition from another system to restore a single file or folder than it is to actually restore the whole “system” into a virtual machine or computer.

CloneZilla currently has no way of doing this easily for you. Following the below instructions on a LINUX computer should be sufficient to mount the partition of your chose to pull data files out as needed.

 

Credit where it is due:

Original source I found for this information is here:

http://ubuntuforums.org/showthread.php?t=872832

Posted by: gaebriel

 

Requirements:

  1. Computer running some Linux.

  2. PartClone (Installed either via repo or built from source)

  3. A bunch of disk space (at least as much as the partition you want to mount/restore files from).

  4. A basic understanding of the Linux Command Line.

  5. A little time (this is dependent on your system speed and your disk speed)

 

Lets get started:

 

  1. Locate the backup files you want to restore. If you are on a clonezilla server these are usualy on /home/partimage. If you backed up to an external server/disk you will have to locate your backup location.

  2. List out the contents of the backup's folder that you are interested.

    ls /home/partimage/date-img/

  • You should get an output listing something like the following.
  1.  

      sdb1.ntfs-ptcl-img.gz.aa

      sdb1.ntfs-ptcl-img.gz.ab

  • You will likely have a LOT of these files.

  1. Locate the partiton(s) that you are interested in. If you note the above example the file will be labeled after the partition it stores. (sda1, sdb2, etc..).

  2. Once you have selected the partition you are interested in run the following commands (We are going to use sdb1 as an example).

  •  

      cat sdb1.ntfs-ptcl-img.gz.* |gzip -d -c |partclone.restore -C -s - -O /BIG/DISK/Restore-sdb1.img

  1. Next you will need to mount the partition (image file) using the following.

    mkdir /mnt/restore-disk-sdb1

sudo mount -o loop -t ntfs-3g /mnt/restore-disk-sdb1

  1. You should now have the image file mounted to /mnt/restore-disk-sdb1

  2. From here you should be able to navigate to the mount point created in #5 so you can restore files as you would like.