I want to boot the current Antergos Live CD via pxenetboot.
To do this, I downloaded the ISO, mounted it and copied the contents into /tftp/antergos/
.
Then I set up dnsmasq to offer tftp and used
grub-mkstandalone -d /usr/lib/grub/x86_64-efi/ -O x86_64-efi \
--fonts="unicode" -o bootx64.efi grub/grub.cfg
to generate an efi loader in /tftp/antergos/arch/boot/
from the following grub.cfg
:
set timeout=5
menuentry 'Antergos x86_64' {
insmod net
insmod tftp
insmod efi_gop
set net_default_server=192.168.0.1
net_add_addr eno0 efinet0 192.168.0.150
linux (tftp)/antergos/arch/boot/vmlinuz archisobasedir=arch archisolabel=ANTERGOS modules-load=loop rd.modules-load=loop udev.log-priority=crit rd.udev.log-priority=crit quiet splash
initrd (tftp)/antergos/arch/boot/archiso.img
}
dnsmasq is configured to deliver bootx64.efi
:
enable-tftp
tftp-root=/tftp
dhcp-option=option:Bootfile-name,"/antergos/arch/boot/bootx64.efi"
dhcp-boot=/antergos/arch/boot/bootx64.efi
dhcp-option-force=210,/antergos/
dhcp-option-force=66,192.168.0.1
dhcp-option=3,192.168.0.101
However, when I select pxe (IPv4) booting on my machine, it recieves the bootx64.efi
and then goes straight to the grub shell. In the shell I can cat (memdisk)/grub/grub.cfg
and get the contents of above grub.cfg
so I assume that the shell is coming from bootx64.efi
and not from my existing local installation.
How do I diagnose what is going wrong here?