RHEL 6 and UEFI PXE problems

Latest response

I am attempting to set up PXE builds using UEFI and RHEL 6. I've tried following this guide:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-netboot-pxe-config-efi.html

I've got dhcp and tftp set up correctly and server grabs the efidefault file as expected. The contents of this file are:

timeout=60
title RHEL 6.7
        root (nd)
        kernel images/RHEL-6-7-Workstation-x86_64/vmlinuz
        initrd images/RHEL-6-7-Workstation-x86_64/initrd

However, whenever I try to boot to this I get the message:

You need to load the kernel first.
Error 27: Unrecognized command

Press any key to continue...

The menu says it's grub 0.97 and my googling hasn't panned out much that was useful. Everyone else who has problems like this seems to be trying to do something complicated and beyond the scope of my simple example.

Responses

I believe it should be

timeout=60
title RHEL 6.7
        root (nd)
        kernel /images/RHEL-6-7-Workstation-x86_64/vmlinuz
        initrd /images/RHEL-6-7-Workstation-x86_64/initrd

Note the missing slashes in your config

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.