How to mount CloneZilla Image in OMV1.x to restore a single file

    • core

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • How to mount CloneZilla Image in OMV1.x to restore a single file

      Description
      How to mount CloneZilla Image in OMV1.x to restore a single file

      Pre-Installation Steps
      Make sure the partclone package is installed.

      Source Code

      1. apt-get install partclone


      How-to
      Please Note: (This procedure uses a lot of space) The image you restore is as large as the hard drive which you have backed up.
      Locate your cloneZilla Images: (example cloneZilla Images)
      /media/<yourdrive>/img-openmediavault/sdg1.ext4-ptcl-img.gz.aa
      /media/<yourdrive>/img-openmediavault/sdg1.ext4-ptcl-img.gz.ab

      unzip them into an image:

      Source Code

      1. cat sdg1.ext4-ptcl-img.gz.a* | gzip -d -c > sdg1.img


      restore image using partclone:

      Source Code

      1. partclone.extfs -r -s sdg1.img -o sdg1-extfs.img --restore_raw_file


      create mountpoint:

      Source Code

      1. mkdir /mnt/image


      mount your image:

      Source Code

      1. mount -o loop sdg1-extfs.img /mnt/image


      Now all you have to do is navigate into

      Source Code

      1. cd /mnt/image


      if you are finished you can unmount your image

      Source Code

      1. unmount /mnt/image



      Questions / Problems / Discussions
      If you have any questions, feel free to create a a thread.

      The post was edited 3 times, last by WastlJ ().