unzip whonix 13 with tar creates 100G qcow2 file

Hello iam using Linux Mint 18 and the tar command creates an 100gb file.
Is there a workaround? to shrink the file to its normal sparse size?

Good day,

Please regard this: Whonix ™ for KVM

Have a nice day,

Ego

1 Like

Thank you
The Installation manual was very useful!

So is there a command to shrink the file?

Yes there is and thanks to
qemu-img convert -f raw -O qcow2 Whonix-Workstation-13.0.0.1.1.qcow2 my.qcow2

This shrink the file from 107GB to 4.7GB

Thank You

There is no need to shrink the file. Sparse files mean they have the potential to reach up to 100GB though they do not take up this space initially - just 1GB roughly. You must be careful with how you move them if you want to preserve their smaller size by following the instructions on the wiki.

1 Like

Oh thank you for this subordination again.
Oh yes i have to shrink the File!!! If i wanna use whonix.

I only unzip it! and bam ‘tar’ creates an 107GB file!

You can recreate this
install mint 18,
use only the tar command
from the manual

This is not my first installation of whonix.

Thank You

If you followed the official guide and still have this problem, it’s almost certainly a problem with your distribution and its software, not Whonix, since this problem doesn’t exist on any other distros. I just downloaded and extracted Whonix on Debian and it works fine.

Are you sure you used the commands exactly as described?

Personally I would recommend against using Mint as a host for Whonix anyway. Mint is terrible for privacy.

Hello,

i have exactly the same issue on Ubuntu Budgie 16.04 LTS

Using the command from the manual (Whonix ™ for KVM) : tar -xvf Whonix-Gateway*.libvirt.xz

The file it’s creating is so big it makes crash my system.

I don’t have other Linux distro to test.

Any idea ?

Thx a lot for any help.

Regards,

Good day,

Could you perhaps clarify what you mean by:

What kind of error message are you receiving? Does the crash occur during the extraction process? And, are you certain it is related to the file size and not some other process?

Have a nice day,

Ego

1 Like