GNU GRUB - Bugs: bug #36770, grub-2.00: please support...
You are not allowed to post comments on this tracker with your current authentication level.
bug #36770: grub-2.00: please support compression for EFI architectures
Submitter: | Maxim Kammerer <mkdesu> | ||
Submitted: | Tue 03 Jul 2012 09:23:57 AM UTC | ||
Category: | Installation | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Feature Request |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Open | Release: | other |
Release: | Reproducibility: | None | |
Planned Release: | 2.03+ |
Jump to the original submission
Sun 08 Jul 2012 03:14:39 PM UTC, comment #13: |
Maxim Kammerer <mkdesu> |
Sun 08 Jul 2012 02:59:09 PM UTC, comment #12:
|
Maxim Kammerer <mkdesu> |
Sun 08 Jul 2012 12:53:34 PM UTC, comment #11: Hm, apparently my previous comment was lost somehow. Here is the patch again. memdisk isn't a file so the filters aren't used. |
Vladimir Serbinenko <phcoder> |
Sun 08 Jul 2012 12:33:00 PM UTC, comment #10: Is it possible that calling grub_file_filter_disable_compression() in grub-core/commands/search.c interferes with automatically decompressing modules?
|
Maxim Kammerer <mkdesu> |
Sat 07 Jul 2012 09:36:39 PM UTC, comment #9: I think I have found the culprit. Everything in memdisk can be compressed with xz (modules, *.lst, embedded grub.cfg), but the "search" command works only if fs modules are either loaded beforehand, or not compressed (their dependencies, such as "fshelp", can be compressed).
|
Maxim Kammerer <mkdesu> |
Sat 07 Jul 2012 07:33:39 PM UTC, comment #8: You are right, including "gcry_crc" in addition to "xzio" (and its dependent "crypto"), and compressing with "xz -C crc32" (as mentioned in the manual [1]) works similarly to including "gzio" and compressing with "gzip -9".
|
Maxim Kammerer <mkdesu> |
Sat 07 Jul 2012 06:24:07 PM UTC, comment #7: Correction: you need both gcry_crc and gcry_crc64 with default xz options. As for the gzio problem I couldn't reproduce it. |
Vladimir Serbinenko <phcoder> |
Sat 07 Jul 2012 05:59:08 PM UTC, comment #6: I've noticed now another thing: you didn't include the gcry_sha256 with xzio. |
Vladimir Serbinenko <phcoder> |
Sat 07 Jul 2012 03:42:46 PM UTC, comment #5:
|
Maxim Kammerer <mkdesu> |
Sat 07 Jul 2012 03:27:05 PM UTC, comment #4: What is the reason to compress on EFI at all? There are no size limits there and 3 MiB isn't big by modern measures. |
Vladimir Serbinenko <phcoder> |
Sat 07 Jul 2012 03:21:10 PM UTC, comment #3: Compressing files in memdisk isn't platform-dependent. You haven't indicated anything about any actions to include xzio/gzio in preloaded modules or avoiding compressing them and explicitly loading when compressing individual files.
|
Vladimir Serbinenko <phcoder> |
Sat 07 Jul 2012 03:03:20 PM UTC, comment #2:
|
Maxim Kammerer <mkdesu> |
Sat 07 Jul 2012 09:10:21 AM UTC, comment #1: You need to:
|
Vladimir Serbinenko <phcoder> |
Tue 03 Jul 2012 09:23:57 AM UTC, original submission:
Currently, there is no way to compress *-efi images.
|
Maxim Kammerer <mkdesu> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-03-02 | phcoder | Planned Release | None | 2.03+ | |
2012-07-08 | phcoder | Attached File | - | Added comp.diff, #26165 |
Powered by Savane 3.13-cf05.
Corresponding source code
gzip compression (and adding gzio outside of memdisk) also works well now wrt. "search" command.