kernel compression with lzma
Tobias Gasser
lfs at ebp-gasser.ch
Fri Jun 19 18:09:58 MDT 2009
Bruce Dubbs schrieb:
> Tobias Gasser wrote:
>> kernel 2.26.30 allows compression with gz, bz2 and lzma
>
>> my current kernel-sizes:
>> gzip 1913696
>> bzip2 1820944
>> lzma 1605712
>
> When the smallest disk dive you can get right now is about 160G, does 215K
> really make a difference?
good argument. (btw: i still can order new 80gb 3.5" or 30gb 2.5", but
your argument keeps valid even with a 4gb ssd)
but as the kernel maintainers decided to make this option available, i
think we should offer the tools to use it.
>> i propose to include the xz and not lzma in
>> the book to be able to compress the kernel with any method the user
>> wishes.
>
> I would think a more logical place would be BLFS.
i don't mind.
as the kernel compile does not check wether lzma is possible but just
starts compiling resulting in a failure at the very end, i propose at
least a hint in the kernel section about not to use lzma unless the
corresponding chapter from blfs is done.
within the next days i'll rebuild my usb-rescue-stick with a compressed
kernel. maybe it will boot a little faster...
tobias
More information about the lfs-dev
mailing list