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.

-- 
Regards,
Pavel Roskin

Attachment: image.lzma
Description: application/lzma

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to