> Unfortunately --install-modules list is also mandatory. So at this point the 
> only workaround is to put common modules in
>  --install-modules and add others manually, like
> 
> grub-mkrescue
> --install-modules="normal
> linux ..." ... /boot/grub/x86_64-efi/efi_gop.mod=/path/to/efi_gop.mod
>
> Not very elegant but should work.

Thanks - this works for me:

sudo grub-mkrescue --install-modules="bitmap bitmap_scale boot bufio crypto 
extcmd font fshelp gettext gfxmenu gfxterm linux ls minicmd mmap normal 
part_acorn part_amiga part_apple part_bsd part_dfly part_dvh part_gpt 
part_msdos part_plan part_sun part_sunpc relocator terminal trig video 
video_fb" 
iso/boot/grub/x86_64-efi/efi_gop.mod=/usr/local/lib/grub/x86_64-efi/efi_gop.mod 
iso/boot/grub/x86_64-efi/efi_uga.mod=/usr/local/lib/grub/x86_64-efi/efi_uga.mod 
iso/boot/grub/x86_64-efi/loadbios.mod=/usr/local/lib/grub/x86_64-efi/loadbios.mod
 -o myiso.iso iso

..and shaves 4mb from the size of the iso :)

In case you're interested, the following link (menu item "tcw") boots 
(eventually) to a simple gui in both legacy-bios and uefi modes and all for 
26.9mb

http://tinycorelinux.net/6.x/x86_64/release_candidates/TinyCorePure64_mb-6.1rc3.iso

Thanks for all of your help with this.


_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to