i have dhcp, tftp and www services setup to run PXE boots and use it for all my fedora builds and VMs. works great. i am now trying to setup PXE boot for Kali linux, and want to be able to boot a new "live" VM or PXE boot my laptop with the live image. I have Fedora Live working, but i am getting an error when trying to PXE boot Kali linux. the error is "bad shim signature" and "you need to load the kernel first". i am not sure where i am going wrong.
this works for fedora:
this is throwing the error for Kali:
i have noticed that the bootx64.efi for fedora differs from the one for Kali, and i dont know if that is relevant. are the UEFI signed pieces in those, or can i boot any os from a working version of the file? what might i need to do, to get Kali booting from my PXE env?
this works for fedora:
Code:
menuentry 'Start Fedora-Workstation-Live 38' --class fedora --class gnu-linux --class gnu --class os {
linux /linux-install/F38svr/vmlinuz root=live:http://www.bpk2.com/F38wks/LiveOS/squashfs.img boot=live rd.live.image quiet rd.luks=0 rd.md=0 rd.dm=0 ip=dhcp
initrd /linux-install/F38svr/initrd.img
}
Code:
menuentry "Kali Linux Live" --hotkey=l {
#linuxefi /linux-install/Kali/vmlinuz-6.1.0-kali9-amd64 boot=live components quiet splash noeject findiso=${iso_path}
linuxefi /linux-install/Kali/vmlinuz-6.1.0-kali9-amd64
initrdefi /linux-install/Kali/initrd.img-6.1.0-kali9-amd64 root=http://www.bpk2.com/Kali/live/filesystem.squashfs boot=live components quiet splash noeject
}