[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] split floppy support off biosdisk

From: Bean
Subject: Re: [RFC] split floppy support off biosdisk
Date: Wed, 18 Jun 2008 14:55:44 +0800

On Wed, Jun 18, 2008 at 11:49 AM, Pavel Roskin <address@hidden> wrote:
> On Wed, 2008-06-18 at 05:14 +0200, Javier Martín wrote:
>> ORIGINAL FILE: /boot/grub/core.img (28449 bytes in Ubuntu Hardy default)
> That's an already compressed file!  Please see my posts in the thread.
> We should be testing compression on the data we are actually
> compressing.
> That's what I'm getting with default compression settings:
> 44372 image
> 31195 image.lzo
> 24321 image.gz
> 24130 image.bz2
> 21858 image.lzma
> The image was made by adding fopen(), fwrite() and fclose() before
> lzo1x_999_compress() in grub-mkimage.c, compiling, installing GRUB and
> running "grub-install /dev/sda"
> The image is attached.


You can try Robert's case:

grub-mkimage -d . -o core.img pc ext2 lvm raid

The uncompressed part need to be added as well, which is 1280 byte.

My concern about other compression is that even if space problem can
be fixed now, but the limit is not far away, so we may have to worry
about it again when new code is added, lzma could be a way to solve
this once and for all.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]