Follow-up Comment #9, bug #36770 (project grub):
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).
E.g.:
insmod part_msdos
insmod part_gpt
insmod iso9660
insmod fat
insmod ext2
insmod hfsplus
search -fns root ...
I tested this extensively with iso9660.
Is it possible that "search" circumvents transparent decompression when
autoloading modules? Is it actually expected to do that (autoloading doesn't
seem to work again after rmmod'ing everything in "normal" mode)? I.e., "insmod
part_*" above be there because "search" in GRUB 1.99 wouldn't work otherwise
with partitions (didn't test with GRUB 2.00) -- shouldn't these be autoloaded
as well on "search"?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36770>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub