I'm working on setting up netboot, and got it working with one motherboard, but it doesn't quite seem to work with another; and I don't see enough output to figure out why.
So, the setup on the 'PXE server' is that DHCP and TFTP reside on the same server, and DHCP is configured with:
root@vogon:/etc/dhcp# cat dhcpd.conf
option domain-name "somewhere.com";
option domain-name-servers 192.168.50.9, 8.8.8.8;
allow booting;
allow bootp;
default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
subnet 192.168.50.0 netmask 255.255.255.0 {
range 192.168.50.10 192.168.50.190;
option routers 192.168.50.1;
option broadcast-address 192.168.50.255;
next-server 192.168.50.9;
#filename "debian-installer/amd64/bootnetx64.efi";
filename "grubx64.efi";
}
TFTP uses /srv/tftp as root dir, and grubx64.efi will read /debian-installer/amd64/grub/grub.cfg because I'm using the bootloader from the debian 11 distro:
root@vogon:/srv/tftp# cat debian-installer/amd64/grub/grub.cfg
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
set gfxpayload=text
set timeout=-1
menuentry 'Debian 11'{
set background_color=black
linux /debian/11/amd64/linux priority=low vga=788 ---
initrd /debian/11/amd64/initrd.gz
}
menuentry "Ubuntu 20.04" {
linux /ubuntu/20.04/amd64/linux only-ubiquity ip=dhcp ---
initrd /ubuntu/20.04/amd64/initrd.gz
}
I have used this setup to successfully install both Debian 11 and Ubuntu 20.04 on a ROG Strix X570-F Gaming motherboard with an AMD Ryzen 9 5950X CPU. In /var/log/syslog I see the following from the tftp server:
Jul 8 13:33:33 vogon in.tftpd[45602]: RRQ from 192.168.50.161 filename grubx64.efi
Jul 8 13:33:33 vogon in.tftpd[45602]: tftp: client does not accept options
Jul 8 13:33:33 vogon in.tftpd[45603]: RRQ from 192.168.50.161 filename grubx64.efi
Jul 8 13:33:34 vogon in.tftpd[45604]: RRQ from 192.168.50.161 filename /debian-installer/amd64/grub/x86_64-efi/command.lst
Jul 8 13:33:34 vogon in.tftpd[45605]: RRQ from 192.168.50.161 filename /debian-installer/amd64/grub/x86_64-efi/fs.lst
Jul 8 13:33:34 vogon in.tftpd[45606]: RRQ from 192.168.50.161 filename /debian-installer/amd64/grub/x86_64-efi/crypto.lst
Jul 8 13:33:34 vogon in.tftpd[45607]: RRQ from 192.168.50.161 filename /debian-installer/amd64/grub/x86_64-efi/terminal.lst
Jul 8 13:33:34 vogon in.tftpd[45608]: RRQ from 192.168.50.161 filename /debian-installer/amd64/grub/grub.cfg
Jul 8 13:33:37 vogon in.tftpd[45609]: RRQ from 192.168.50.161 filename /ubuntu/20.04/amd64/linux
Jul 8 13:33:40 vogon in.tftpd[45610]: RRQ from 192.168.50.161 filename /ubuntu/20.04/amd64/initrd.gz
However, with another motherboard, ASUS ProArt Z690-CREATOR WIFI Intel Z690 PCIe 5.0 ATX, and Intel Core i9 12900KS Special Edition 16 Core Alder Lake Unlocked CPU, I only see the following in the log:
Jul 12 10:49:00 vogon in.tftpd[58652]: RRQ from 192.168.50.136 filename grubx64.efi
Jul 12 10:49:00 vogon in.tftpd[58652]: tftp: client does not accept options
Jul 12 10:49:00 vogon in.tftpd[58653]: RRQ from 192.168.50.136 filename grubx64.efi
and the text 'Welcome to GRUB!' on the client screen. This text is only found in the bootloader, grubx64.efi, so it seems it actually starts running, but never goes on to looking for the other files.
Any suggestions for what I can do to troubleshoot this further?