Skip to content

fiddyschmitt/clonezilla-util

Repository files navigation

clonezilla-util

Extract individual files from a Clonezilla archive, without extracting the full archive.

Supported formats

Clonezilla archives
Partclone images
Drive images     (eg. sda.img)
Partition images (eg. sda1.img)
Compressed versions of the above (bzip2, GZip, LZ4, LZip, xz, Zstandard) 

Where to download

Releases can be found over in the releases section.

Mount a Clonezilla archive in Windows

First, install this version of the Dokan Driver. This is required to create a Virtual Drive.

Now run the following command:

clonezilla-util.exe mount --input <clonezilla folder> --mount L:\

A virtual drive is created, containing all the files in the Clonezilla archive:




Mount a Clonezilla archive as partition image files

First, install this version of the Dokan Driver. This is required to create a Virtual Drive.

Now run the following command:

clonezilla-util.exe mount-as-image-files --input <clonzilla folder> --mount L:\

A virtual drive is created, containing a file for each partition:



You can open them using 7-Zip, and extract individual files:




Advanced features

Mount raw images

Run the following command:

clonezilla-util.exe mount --input "sda.img" --mount L:\

Extract partition images from Clonezilla archive (Dokan not required)

Run the following command:

clonezilla-util.exe extract-partition-image --input <clonzilla folder> --output <folder to extract to>

The program creates a file for each partition in the Clonezilla archive.



If the images are extracted to an NTFS drive, they are created as sparse. Meaning they only take up the necessary space:




Thanks

A special thanks to Roberto for creating gztool. It allows the gz files in the Clonezilla archive to be read randomly, which gz doesn't natively support.

Thanks to the Dokan team. Dokan is what is used to create the virtual drive.

Thanks to Igor for 7-Zip. His versatile tool inspects the contents of the image files, which can be in many formats (eg. NTFS, FAT, etc.)

Thanks to Steven for Clonezilla, the backup tool used by millions.