Hi, I've finally finished with configuring iPXE for our lab.
In legacy mode everything works fine, but in UEFI I can't seem to boot clonezilla or Parted magic in UEFI mode, I always get the error:
"Kernel panic - not syncing: Unable to mount root fs on unknown-block(0,0)"

I've been reading the iPXE in EFI mode is not fully supported, but in the site it says that EFI should be working almost as good as legacy.

Most common issue is that there is no initrd=initrdfilename provided to the kernel.
in EFI mode the kernel serches the EFI filesystem for the initrd filename provided to it.
While in legacy it just load what is preloaded.

Wow thanks NiKiZe, adding initrd=filename fixed it and now everything boots up fine, although a little slower then in Legacy, but at least it works.
I've almost given up after reading that iPXE EFI mode doesn't support a lot of features, but i guess it does.

Glad it works!
There should be no real difference in speed, is it the download in ipxe, or is it the bootup?
iPXE efi mode only have support for starting efi executables, so the Linux kernel must have EFI stub enabled to be bootable from iPXE in EFI mode.

Read the FAQ before posting.
Did you include relevant ipxe.org error urls?

I have build a similar setup with iPXE and would also like to boot parted magic in UEFI.
The legacy part works perfect, but I have some issues when I want to boot parted in UEFI.

I tried adding initrd=initrd.img to kernel http://ip/folder/bzImage64 and that got me past the kernel panic issue, but when it tries to mount the filesystem it drops to bash right after "Freeing unused kernel memory....".