If the image is compressed using gzip, you can cd intto the directory where the actual image is stored and run this:
gzip -tv filename
Where filename is the image itself. The "t" flag is gzip's built-in integrity checking feature, and "v" makes the output verbose so it's easier to see if the integrity check fails/succeeds. For spanned images, however, this is a bit trickier. The spanned images will have similar filenames, so we can do this:
cat commonfilename.* | gzip -tv
Basically, I'm feeding the gzip command with each spanned file. You can't run gzip -tv on each separate span file because it will give you an "unexpected end of file" error message. Hope this helped!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ken,
Thanks for sharing that. Actually in the future we will have another program in Clonezilla to check the image, by checking the compression integrity and the CRC checksum in the image.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To determine if the image was created without errors.
Not really.
In the future, we will have a program, e.g. partclone.imgchk, which can check the CRC of the blocks saved.
Steven.
If the image is compressed using gzip, you can cd intto the directory where the actual image is stored and run this:
gzip -tv filename
Where filename is the image itself. The "t" flag is gzip's built-in integrity checking feature, and "v" makes the output verbose so it's easier to see if the integrity check fails/succeeds. For spanned images, however, this is a bit trickier. The spanned images will have similar filenames, so we can do this:
cat commonfilename.* | gzip -tv
Basically, I'm feeding the gzip command with each spanned file. You can't run gzip -tv on each separate span file because it will give you an "unexpected end of file" error message. Hope this helped!
Ken,
Thanks for sharing that. Actually in the future we will have another program in Clonezilla to check the image, by checking the compression integrity and the CRC checksum in the image.
Steven.