Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Booting CentOS6.5 kernel failed with UEFI mode
2015-05-19, 16:10
Post: #4
RE: Booting CentOS6.5 kernel failed with UEFI mode
(2015-05-14 07:59)Hudson Wrote:  #!ipxe
kernel t initrd=initrd.img
initrd t
Looks good, the initrd= is needed under efi for the kernel to know which file on the efi fs that should be used.

(2015-05-14 07:59)Hudson Wrote:  But we tried to use it with the CentOS6.5 or the Ubuntu 1004, which kernel version is about 2.6.XX

We met the following errors with the kernel.
"Could not select: Exec format error (
Could not boot image: Exec format error ("

Is there any solution for supporting boot the old 2.6 kernel with iPXE in the UEFI mode?

iPXE only supports booting efi binaries and not linux kernels.
That means that the kernel needs to have efi stub enabled to be able too boot from ipxe, also 32 bit and 64 bit needs to match between firmware -> ipxe -> kernel and finaly secure boot needs to be disabled. (depending on the BIOS/Firmware implementation I have seen ipxe boot with secure boot enabled but it was unable to boot kernel)

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Booting CentOS6.5 kernel failed with UEFI mode - NiKiZe - 2015-05-19 16:10

User(s) browsing this thread: 1 Guest(s)