Monday, July 20, 2009

Partimage invalid compression level workaround

For some reason, some diskimages created using partimage will encounter "invalid compression level" when restored. See below for the workaround to restore the image back.

#: ntfs-3g /dev/sda1 /mnt/windows #: mv /mnt/windows/img/vista.img.000 /mnt/windows/img/vista.img.gz #: gunzip -c /mnt/windows/img/vista.img.gz | partimage restore /dev/sda1 stdin

~ts

3 comments:

Anonymous said...

I have try exactly this but stdin is not a valid file.

Any idea?

Techno Scavenger said...

I am not really sure but I believe "stdin" represents the standard input device which in the case the the keyboard.

Anyway, did you perform "mv /mnt/windows/img/vista.img.000 /mnt/windows/img/vista.img.gz"?

Anonymous said...

On ntfs partition I run gunzip image file and then used the decompressed image in Partimage.

Worked for me

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04 I am planning to run qemu-system-ppc to play around QEMU ...