Menu

Extract Files from Image Files

lum_tom
2007-12-19
2013-04-05
  • lum_tom

    lum_tom - 2007-12-19

    Hello,

    is it possible to extract individual files out of images made with clonezilla?

    Regards

    Thomas

     
    • Jazz Yao-Tsung Wang

      First, you should make sure which kind of image you create by clonezilla.

      We use two different kinds of program to create image file.

      If you choose 'dd' (old fashion way), it's possible to extract file from image files.
      You can use command like following to mount the image file and find/extract file in it.

      STEP-1: make sure it is compressed or not via command 'file'

      $ file ${PATH_TO_IMAGE_FILE}

      STEP-2: if compressed, then you can use gunzip , b2zip and lzo to uncompress the file

      STEP-3: mount the uncompressed file via command 'mount'

      $ mount -o loop ${IMAGE_FILE_NAME} /mnt

      If you choose 'partimage' (the faster way), the file format of partimage is not recognized by linux kernel and you can not mount it directly. It will not easy to extract from partimage file. We are currently working on partclone, an alternative filesytem cloning program using official file system libraries. We will add this feature to convert partclone images to dd images(a.k.a. raw images).

      DRBL/Clonezilla Co-Developer Jazz Yao-Tsung Wang

       

Log in to post a comment.

MongoDB Logo MongoDB