----- Original Message ----- > From: "Andrei Borzenkov" <arvidj...@gmail.com> > To: "Franck Martin" <fra...@peachymango.org> > Cc: "help-grub" <help-grub@gnu.org> > Sent: Tuesday, September 20, 2016 7:24:49 AM > Subject: Re: PXE, EFI, IPv6 and Grub2
> On Tue, Sep 20, 2016 at 8:26 AM, Franck Martin <fra...@peachymango.org> wrote: >> I'm trying to PXE boot over IPv6 and grub2 >> >> >> So I went a bit further by creating my own bootx64.efi >> grub2-mkimage -o bootx64.efi -c efiboot.cfg -O x86_64-efi >> --prefix="http,2620:0:0:1::245" `find /usr/lib/grub/x86_64-efi/*.mod | xargs >> | >> sed -e 's/\.mod//g' | sed -e 's/\/usr\/lib\/grub\/x86_64-efi\///g'` > > That's bad idea. I'd rather try grub2-mkstandalone to add all modules to > image. The grub2 package on redhat7 has nearly 200 patches applied... Anyhow, I solved it in a round about way, as I could not get to download linux over http or tftp, some timeout issues... So by looking on how grub2-mkstandalone works, I used grub2-mkimage with a memdisk including the modules, grub.cfg but also vmlinuz and initrd.img. This makes quite a big file. Booting from the memdisk was nearly trivial once bootx64.efi was downloaded over UEFI PXE over IPv6. _______________________________________________ Help-grub mailing list Help-grub@gnu.org https://lists.gnu.org/mailman/listinfo/help-grub