|
|
Subscribe / Log in / New account

Garrett: Booting with EFI

Garrett: Booting with EFI

Posted Jul 15, 2011 20:33 UTC (Fri) by pjones (subscriber, #31722)
In reply to: Garrett: Booting with EFI by UnderScore
Parent article: Garrett: Booting with EFI

IPv4 netbooting should currently work in Fedora/RHEL (look here for some instructions; this should also be in a future version of the Installation Guide.)

IPv6 pxeboot isn't ready just yet.


to post comments

Garrett: Booting with EFI

Posted Jul 15, 2011 22:04 UTC (Fri) by smoogen (subscriber, #97) [Link]

Oh cool. That will make getting the new Fedora boxes up a lot faster. Currently the boxes are taking forever trying to boot uefi pxe, timing out, trying other things then falling back to internal ethernet pxe. Feels like it takes about 8 minutes to get a box to being able to install.

Garrett: Booting with EFI

Posted Aug 5, 2011 2:35 UTC (Fri) by breakneck (guest, #77736) [Link]

I followed your instructions and was unable to get PXE boot to work using RHEL 6.1 (it just dumps me to the GRUB shell).

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";
}


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds