I've been using iPXE to setup a network boot environment in our lab, everything works fine in Legacy mode, but in UEFI I'm unable to boot some linux tools (like clonezilla, parted magic, etc), i tried using the same config from the legacy menu, but i always get an error
"Kernel panic - not syncing: Unable to mount root fs on unknown-block(0,0)"
I'm sure it's something simple but just can't find any information about this, maybe it's even an issue with iPXE.
Here's my menu for iPXE.
:parted
echo Starting PartedMagic 2015 (64bit)
kernel ${http-images}/parted/bzImage64
initrd ${http-images}/parted/initrd.img
initrd ${http-images}/parted/fu.img
initrd ${http-images}/parted/m64.img
initrd ${http-images}/parted/files.cgz
imgargs bzImage64 edd=on vga=normal
boot || goto failed
goto start
:clonezilla
echo Starting CloneZilla with default options
kernel ${http-images}/clonezilla/vmlinuz
initrd ${http-images}/clonezilla/initrd.img
imgargs vmlinuz boot=live toram config noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" vga=788 nosplash noprompt fetch=${http-images}/clonezilla/filesystem.squashfs union=overlay locales=en_US.UTF-8 keyboard-layouts=NONE ocs_live_batch="no" ocs_prerun01="mount -t nfs4 143.185.160.4:/storage/images /home/partimag -o noatime,nodiratime"
boot || goto failed
goto start