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 <clonzilla 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:




License

A work by Fidel Perez-Smith.

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
   claim that you wrote the original software. If you use this software
   in a product, an acknowledgment in the product documentation would be
   appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
   misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

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.