[ipxe-devel] have you tested grub-efi 2 on ipxe boot

James A. Peltier jpeltier at sfu.ca
Mon Oct 28 19:11:17 UTC 2013


----- Original Message -----
| ----- Original Message -----
| | On 28/10/13 03:12, Yixuan Huang wrote:
| | > Recently, I tried to use grub.efi to net-boot my system from
| | > ftp/http
| | > servers. I have put my kernel/initrd files in remote server, and
| | > previously, I used elilo.efi to boot.
| | 
| | You should be able to use iPXE to directly load a kernel+initrd on
| | an
| | EFI system.  You will need to add e.g. "initrd=initrd.img" to your
| | kernel command line.
| | 
| | Michael
| 
| In this way?
| 
| #!ipxe
| initrd
| http://mirror.its.sfu.ca/mirror/CentOS/6/os/${arch}/images/pxeboot/initrd.img
| || goto failed
| kernel
| http://mirror.its.sfu.ca/mirror/CentOS/6/os/${arch}/images/pxeboot/vmlinuz
| initrd=initrd.img \
| method=http://mirror.its.sfu.ca/mirror/CentOS/6/os/${arch}/ ip=dhcp
| ksdevice=bootif dhcptimeout=240 ||

If this is indeed the correct syntax, then no it does not work.  I end up with an Exec Format Error when doing this on a machine that is EFI mode.  These appear to be the same files being loaded by the BOOTX64.EFI configuration file

http://mirror.its.sfu.ca/mirror/CentOS/6/os/x86_64/EFI/BOOT/BOOTX64.conf

This is when using snponly.efi.  Perhaps I need to use something else.  It's a Dell PowerEdge R410

-- 
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax     : 778-782-3045
E-Mail  : jpeltier at sfu.ca
Website : http://www.sfu.ca/itservices

“A successful person is one who can lay a solid foundation from the bricks others have thrown at them.” -David Brinkley via Luke Shaw



More information about the ipxe-devel mailing list