Ask Your Question
0

bootx64.efi does not work

asked 2013-09-22 02:51:22 -0600

abra gravatar image

My uefi bios system is able to boot from network with the bootfile bootx64.efi. The result is grub> prompt.

The grub> set command shows me that my grub2 shell has found the ip address of the bootserver and I can ping my system from the bootserver.

But why stops the boot process here ??? The grub2 should load the grub.cfg file to load the boot confiuration.

But the tcpdump output shows, that nothing happens on the network. How can a have a bootx64.efi file, that works ???

I have the same result, if I use these file from fedora18 and fedora19

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-09-24 12:13:56 -0600

abra gravatar image

Meanwhile I have solved the problem by myself. It is necessary to use the command grub2-mkstandalone to create a bootfile, which contains all grub2 modules. The fedora bootfile bootx64.efi works only for a boot process from a disk drive.

I have installed fedora version 19 on an UEFI system. As a result, the system contains all necessary grub2 efi build files under /usr/lib/grub/x86_64-efi and the command grub2-mkstandalone can find them.

But you have to use the option --modules to define the modules, which should be loaded automatically (e.g. tftp efinet efifwsetup).

grub2-mkstandalone -O x86_64-efi -o bootfile.efi --modules "tftp net efinet linux efifwsetup"

Only one thing is a little bit poor. The bootfile search only for the file grub.cfg in the /tftboot directory of my TFTP server.

Create a grub.cfg file in your /tftpboot directory and it works. You can use a line like this to boot your linux from network.

menuentry{"for me" linux $fw_path/your_kernel root=/dev/nfs }

$fw_path has a value like tftp,10.1.1.3

edit flag offensive delete link more

Comments

this helped massively, thanks. The part that needs improving now is...

  linux (tftp)/vmlinuz repo=http://$repo/pub/fedora/linux/development/21/x86_64/os
  initrd (tftp)/initrd.img
phil_au gravatar imagephil_au ( 2014-10-05 23:12:18 -0600 )edit

Question Tools

Stats

Asked: 2013-09-22 02:51:22 -0600

Seen: 2,697 times

Last updated: Sep 24 '13