Bug 1174734 - grub can't be insntalled like that for UEFI network installation
Summary: grub can't be insntalled like that for UEFI network installation
Keywords:
Status: NEW
Alias: None
Product: Fedora Documentation
Classification: Fedora
Component: install-guide
Version: devel
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Bokoc
QA Contact: Fedora Docs QA
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-16 11:53 UTC by Juan Quintela
Modified: 2015-03-05 23:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.