GRUB2 UEFI & PXE Redux

I decided to do some more testing this time with upstream GRUB2.

GRUB2 UEFI PXE booting works too: unlike Fedora-GRUB2. GRUB2 only looks for grub.cfg in $prefix; it does not seem to look at the directory where core.efi is located. Standard GRUB2 does not do name mangling while looking for the configuration file. It is a purer implementation, but may not be so useful for Cobbler-like provisioning.

Standard GRUB2 also sets a whole slew of variables just like in i386-pc; when I looked at this more than a year ago the network stuff was quite broken: couldn’t get efinet tftp to work. It is great to see what progress has been made. Kudos to the GNU GRUB2 team!

## GRUB2 UEFI PXE environment; BUG ALERT: Fedora 19-GRUB2 leaves some of these blank

net_default_interface=efinet1
net_default_ip=192.168.1.150
net_default_mac=30:85:a9:46:ae:9e
net_default_server=192.168.1.6
net_efinet1_boot_file=BOOTX64.efi (actually copied from $prefix/x86_64-efi/core.efi)
net_efinet1_ip=192.168.1.150
net_efinet1_mac=30:85:a9:46:ae:9e
prefix=(tftp,192.168.1.6)/grub2-gnu
pxe_default_server=192.168.1.6
root=tftp,192.168.1.6

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: