kernel compression with lzma
John Frankish
j-frankish at slb.com
Fri Jun 19 23:27:09 MDT 2009
-----Original Message-----
From: lfs-dev-bounces at linuxfromscratch.org [mailto:lfs-dev-bounces at linuxfromscratch.org] On Behalf Of Tobias Gasser
Sent: 20 June, 2009 04:10
To: LFS Developers Mailinglist
Subject: Re: kernel compression with lzma
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
--
Try tinycorelinux as a usb rescue stick - I have to insert "waitusb" to slow the boot down (and the kernel is gz compressed)...
More information about the lfs-dev
mailing list