Garrett: Booting with EFI
Garrett: Booting with EFI
Posted Aug 5, 2011 2:35 UTC (Fri) by breakneck (guest, #77736)In reply to: Garrett: Booting with EFI by pjones
Parent article: Garrett: Booting with EFI
I finally thought to look at the traffic with Wireshark and saw some strange behavior. bootx64.efi transfers successfully, but then when it tries to download the GRUB config file, it requests a filename which includes the client's MAC address. It doesn't make a request for "default" or "efidefault". If I change my config filename to the filename it's looking for, PXE boot starts working great.
Is there a setting to specify where my config file is located?
Here's some info about my setup:
------------------------
Wireshark log for TFTP request:
-------------------------
No. Time Source Destination Protocol Length Info
700 4.829030 192.168.100.53 192.168.100.100 TFTP 108 Read Request, File: /86800000-0011-0010-0080-E06995883282, Transfer type: octet, tsize\000=0\000, blksize\000=512\000
------------------------
/var/log/messages log file:
-------------------------
Aug 4 18:47:18 red dhcpd: DHCPDISCOVER from e0:69:95:88:32:82 via eth1
Aug 4 18:47:19 red dhcpd: DHCPOFFER on 192.168.100.53 to e0:69:95:88:32:82 via eth1
Aug 4 18:47:21 red dhcpd: DHCPREQUEST for 192.168.100.53 (192.168.100.100) from e0:69:95:88:32:82 via eth1
Aug 4 18:47:21 red dhcpd: DHCPACK on 192.168.100.53 to e0:69:95:88:32:82 via eth1
Aug 4 18:47:21 red in.tftpd[9493]: RRQ from 192.168.100.53 filename BOOTX64.efi
Aug 4 18:47:21 red in.tftpd[9493]: tftp: client does not accept options
Aug 4 18:47:21 red in.tftpd[9494]: RRQ from 192.168.100.53 filename BOOTX64.efi
Aug 4 18:47:22 red in.tftpd[9495]: RRQ from 192.168.100.53 filename BOOTX64.efi
Aug 4 18:47:22 red in.tftpd[9496]: RRQ from 192.168.100.53 filename /86800000-0011-0010-0080-E06995883282
Aug 4 18:47:22 red in.tftpd[9497]: RRQ from 192.168.100.53 filename //86800000-0011-0010-0080-E06995883282
Aug 4 18:47:22 red in.tftpd[9498]: RRQ from 192.168.100.53 filename //86800000-0011-0010-0080-E06995883282
Aug 4 18:47:22 red in.tftpd[9499]: RRQ from 192.168.100.53 filename //86800000-0011-0010-0080-E06995883282
Aug 4 19:02:22 red xinetd[9304]: EXIT: tftp status=0 pid=9459 duration=1090(sec)
------------------------
86800000-0011-0010-0080-E06995883282 GRUB config file
-------------------------
default=0
timeout 10
title RHEL6
root (nd)
kernel /rhel/vmlinuz keymap=us lang=en_US method=ftp://192.168.100.100/RHEL6 ip=dhcp noipv6
initrd /rhel/initrd.img
-------------------------
dhcpd.conf
-------------------------
ddns-update-style none;
ignore client-updates;
allow booting;
allow bootp;
subnet 192.168.100.0 netmask 255.255.255.0 {
range 192.168.100.50 192.168.100.250;
option routers 192.168.100.254;
option subnet-mask 255.255.255.0;
next-server 192.168.100.100;
filename "BOOTX64.efi";
}
