Re: Problem PXE booting Fedora 28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018-10-15 2:21 p.m., Samuel Sieb wrote:
> On 10/15/18 10:55 AM, Digimer wrote:
>> That worked!! Thank you so much! I bashed my head on this since
>> Thursday...
> 
> It took me a while to get this working initially when I started it
> several years ago.  At some point, I want to see if I can get grub
> loading instead of pxelinux, although I don't know if it's worth the
> effort, given how rarely I use the non-EFI case.
> 
>> I'm building a project for general use, so I need to make sure this PXE
>> system will boot both BIOS and UEFI targets. I'm sure I may bug you
>> again later, but this gets me moving forward again.
> 
> There's a bit more configuration to make that work.  If you have
> questions, just ask here and I'll be happy to help.

As promised, here I am now with UEFI issues. :)

I've finished getting BIOS boots/installs working fine. Now I want to
add UEFI support, and I'm hitting a road block right out of the gate.

First, do you have docs/links/reference material you might recommend on
building a Fedora-based UEFI PXE server? I'd love to try and get further
on my own and keep questions to a minimum.

Right now, I've got a KVM/qemu guest configured with UEFI. I've setup
the following;

====
[root@f28-striker01 fedora28]# cat /etc/dhcp/dhcpd.conf
### Global options
option domain-name "alteeve.com";
option domain-name-servers 8.8.8.8, 8.8.4.4;
authoritative;
ddns-update-style none;

# refer to RFC4758 for possible arch option values
option arch code 93 = unsigned integer 16;

subnet 10.1.0.0 netmask 255.255.0.0 {
	default-lease-time 600;
	max-lease-time     7200;
	range              10.1.14.1 10.1.14.254;
	option routers     10.1.4.1;

	if option arch = 00:07 {
		filename "uefi/shim.efi";
	} else {
		filename "pxelinux.0";
	}
        next-server 10.1.4.1;
}
====

====
[root@f28-striker01 fedora28]# cat /var/lib/tftpboot/pxelinux/uefi
function load_video {
	insmod efi_gop
	insmod efi_uga
	insmod video_bochs
	insmod video_cirrus
	insmod all_video
}

load_video
set gfxpayload=keep
insmod gzio

menuentry 'Install Fedora 28'  --class fedora --class gnu-linux --class
gnu --class os {
	linuxefi fedora28/vmlinuz ip=dhcp
inst.repo=http://10.1.4.1/fedora28/x86_64/iso/
	initrdefi fedora28/initrd.img
}

menuentry 'Install Striker'  --class fedora --class gnu-linux --class
gnu --class os {
	linuxefi fedora28/vmlinuz ip=dhcp
inst.repo=http://10.1.4.1/fedora28/x86_64/iso/
root=live:http://10.1.4.1/fedora28/x86_64/os/images/install.img
inst.ks=http://10.1.4.1/fedora28/x86_64/kickstart/striker.ks inst.sshd
rd.debug
	initrdefi fedora28/initrd.img
}
====

When I PXE boot the UEFI guest, it gets the IP from the PXE server,
downloads uefi/shim.efi, then hangs on 'Fetching Netboot image'. It
never shows a menu.

==== (on EFI guest, transcribed manually)
>>Start PXE over IPv4
  Station IP address is 10.1.14.186

  Server IP address is 10.1.4.1
  NBP filename is uefi/shim.efi
  NBP filesize is 1210776 Bytes
 Downloading NBP file...

  NBP file downloaded successfully.
Fetching Netboot Image
====

And there it hangs. I'm not sure how to debug to see more detail on what
it is trying to do. This UEFI PXE booting is totally new for me, so I
may be missing something terribly obvious.

Thanks!

-- 
Digimer
Papers and Projects: https://alteeve.com/w/
"I am, somehow, less interested in the weight and convolutions of
Einstein’s brain than in the near certainty that people of equal talent
have lived and died in cotton fields and sweatshops." - Stephen Jay Gould
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux