Compress latest kernel with upx

2

I'm just curious, how to compress latest (2.6.32 at time of writing) kernel using UPX?

It worked well for older kernels but now repacked with UPX kernel fails to boot, standard compression methods (gzip, bzip2, lzma) work fine though.

Alex Bolotov

Posted 2010-02-22T12:12:27.983

Reputation: 1 284

Answers

0

Should be related with some config options from kernel.

$ zcat /proc/config.gz | grep -i lzma

CONFIG_HAVE_KERNEL_LZMA=y

CONFIG_DECOMPRESS_LZMA=y

Check your config in General Setup tab from kernel

dvd

Posted 2010-02-22T12:12:27.983

Reputation: 212