Is there any way to set compression levels in Fog 0.32?
Thx [SIZE=12px]Junkhacker; I’m on 0.32 in this case; after some testing I think the message “compression level…” may not be credible; if when it says NONE the imager clearly uses compression since the final *.img file is nowhere near the actual partition used up space. Could there be some truth to that?[/SIZE]
this information pertains to fog 0.32
if you are using fog 1.0 (or fog 0.33b) the setting is changed on the configuration page under boot settings
Hi Tom, so on another install I did follow the guide above; now the begining of the file looks like this:
However during an upload the blue screen still says Compression level… None
Is there another place to enable compression per-se which is an independent setting from the level of compression?
Glad I could be of assistance.
Thank you, thank you, thank you! I just manually modified the file once it was unzipped. Running the code the first time screwed it up (probably my fault!), so I just modified the file.
That’s so awesome! Thanks again!!!
Yes, but not real easily.
The way to do it is described below: (root access on FOG Server, use terminal or console.)
gunzip -d -c init.gz > init
mount -o loop init tmp
sed -i ‘s/PIGZ_COMP="-3";/PIGZ_COMP="-0";/’ tmp/bin/fog #THE -0 change to what you want. -0 is worst compression, -9 is best compression.
mv init.gz init.gz.orig
gzip -9 init
rm -rf tmp[/code]