help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PXE, EFI, IPv6 and Grub2


From: Franck Martin
Subject: Re: PXE, EFI, IPv6 and Grub2
Date: Tue, 20 Sep 2016 20:19:04 -0500 (CDT)


----- Original Message -----
> From: "Andrei Borzenkov" <address@hidden>
> To: "Franck Martin" <address@hidden>
> Cc: "help-grub" <address@hidden>
> 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 <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]