Ahoy friends. Today i set up my PXE server using dnsmasq as DHCP proxy as well as tftp server. I wanted to set up a grub menu to be able to run Windows ISO files in EFI and Legacy mode, depending on the client. So i set up my grub pxe folder using:
grub-mknetdir
I have created the grub images using the following commands for EFI and Legacy boot
grub-mkimage -d /usr/lib/grub/i386-pc/ -O i386-pc-pxe -o ./booti386 -p '/var/lib/tftpboot/boot/grub' pxe tftp
grub-mkimage -d /usr/lib/grub/x86_64-efi/ -O x86_64-efi -o ./bootx64.efi -p '/var/lib/tftpboot/boot/grub' efinet tftp
For now i have copied the grub.cfg file from /boot/grub[..] of my server and it's working like the default grub loader from all the linux distros. To check it how it works i set up a generic system on Virtualbox to find out what's wrong.
Now i use option l) for PXE Boot
The Grub loader appears, everything is fine, not modified yet.
I try to select something e.g. Clonezilla or Debian Netinst Unfortunately i only get a black screen and the following tftp syslog on server.
Oct 13 17:45:05 millenium-fbe48 dnsmasq-tftp[4797]: konnte /var/lib/tftpboot/iso/clonezilla/clonezilla-live-20191009-eoan-amd64.iso nicht an 192.168.2.89 senden "Unable to send the iso to 192.168.2.89"
Do i have to do something to be able to load iso files? I use the loop way to get them running, but is there something like a timeout or something else?
//edit:
Now after almost 5 minutes i got the following output.
Is there any way to increase the speed?
Is there something like a pxe-nfs-loop-iso syntax in grub.cfg for pxegrub?
ipxe
orgpxelinux.0
(from syslinux) instead. grub's good for disk booting, but both ipxe and gpxelinux are much better for network booting. – cas Oct 15 at 2:06