Bug 1174734

Summary: grub can't be insntalled like that for UEFI network installation
Product: [Fedora] Fedora Documentation Reporter: Juan Quintela <quintela>
Component: install-guideAssignee: Petr Bokoc <pbokoc>
Status: CLOSED EOL QA Contact: Fedora Docs QA <docs-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: develCC: me, pbokoc, zach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-21 09:21:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Juan Quintela 2014-12-16 11:53:45 UTC
Description of problem:

Instructions in page:

https://docs.fedoraproject.org/en-US/Fedora/20/html/Installation_Guide/s1-netboot-pxe-config-efi.html

don't work.  grubx64.efi is not able to boot through the network.  What you need is something more similar to:

grub2-mknetdir --net-directory /var/lib/tftpboot/uefi/ --subdir x64-efi

and change:

     filename "pxelinux/bootx64.efi";

to (with the paths that I showed):

     filename "uefi/x64-efi/core.efi"


Configuration file is searched as:


file /mnt/mirror/tftp/efi-x64/grub.cfg-01-3c-97-0e-da-28-fb not found
file /mnt/mirror/tftp/efi-x64/grub.cfg-C0A80ACB not found
file /mnt/mirror/tftp/efi-x64/grub.cfg-C0A80AC not found
file /mnt/mirror/tftp/efi-x64/grub.cfg-C0A80A not found
file /mnt/mirror/tftp/efi-x64/grub.cfg-C0A80 not found
file /mnt/mirror/tftp/efi-x64/grub.cfg-C0A8 not found
file /mnt/mirror/tftp/efi-x64/grub.cfg-C0A not found
file /mnt/mirror/tftp/efi-x64/grub.cfg-C0 not found
file /mnt/mirror/tftp/efi-x64/grub.cfg-C not found
file /mnt/mirror/tftp/efi-x64/grub.cfg not found


(change /mnt/mirror/tftp/ for whatever is your tftpboot)

And format of the file is something like:

set timeout=1

menuentry 'Fedora 21' {
  linuxefi fedora/21/x86_64/vmlinuz  ks=http://mirror.mitica/kickstart/x86_64-21-standalone.cfg ksdevice=link
  initrdefi fedora/21/x86_64/initrd.img
}

And I haven't found any use for efidefault, not being able to use pxelinux from inside grub (in efi systems).

If you have any questions, please, let me know.

Thanks, Juan.

PD.  I use dnsmasq instead of dhcp-server, but it shouldn't be a different for this.

Comment 1 Pete Travis 2015-01-28 07:01:42 UTC
Thanks for the report, Juan, we're looking into it.

Comment 2 Pete Travis 2015-03-05 23:30:55 UTC
Just an update:  there's a shortage of network-booting UEFI hardware on the docs team to test with.  Support for adding PXE entries to the firmware is WIP for efibootmgr, that should help things along.

Comment 3 Petr Bokoc 2024-05-21 09:21:52 UTC
The install guide has been retired, therefore I'm closing this bug. 

If you would like to report Fedora docs bugs in the future, please use the "bug" icon on the top right of the affected page, it will take you directly to the appropriate issue tracker.