i have VMs that i want to use with UEFI, and i am trying to use HTTP to download the kernel and initrd. i get the error in the attached screenshot.
for BIOS based pxeboot, i specify
an example BIOS pxeboot menu option to liveboot using HTTP:
with UEFI, the boot file is
an example UEFI pxeboot menu option to live boot using HTTP:
it does not matter if i use
note, this is not true httpBoot, as it does still use TFTP for the grub menu, etc, but it does really speed up PXE booting by using HTTP and not TFTP for the kernel and initrd downloads. separately, i am working on a true httpBoot setup, but not everything supports httpBoot, and i still have a learning curve to accomplish on getting that all setup. in the meantime, liveboot and builds using PXE and HTTP would be done a lot faster if i can get this working. any ideas?
for BIOS based pxeboot, i specify
lpxelinux.0 as the boot file in DHCP, which adds the ability to pull down the kernel and initrd using HTTP in the grub config. the lpxelinux.0 version of the boot file is different than the pxelinux.0, and HTTP is one of the extended capabilities.an example BIOS pxeboot menu option to liveboot using HTTP:
Code:
LABEL httpboot
MENU LABEL Fedora Live Boot via ^HTTP
KERNEL http://www.bpk2.com/httpBoot/vmlinuz
INITRD http://www.bpk2.com/httpBoot/initrd.img
APPEND root=live:http://www.bpk2.com/F42wks/LiveOS/squashfs.img boot=live rd.live.image quiet rd.luks=0 rd.md=0 rd.dm=0 ip=dhcp vga=795
bootx64.efi which seems to have issues or constraints around using HTTP to download the kernel and initrd.an example UEFI pxeboot menu option to live boot using HTTP:
Code:
menuentry 'Live Boot Fedora 42 via HTTP' --class fedora --class gnu-linux --class gnu --class os {
linux http://www.bpk2.com/httpBoot/vmlinuz root=live:http://www.bpk2.com/F42wks/LiveOS/squashfs.img boot=live rd.live.image quiet rd.luks=0 rd.md=0 rd.dm=0 ip=dhcp
initrd http://www.bpk2.com/httpBoot/initrd.img
}
linux/initrd or linuxefi/initrdefi to specify the HTTP url to get the kernel and initrd from, they both wind up with the error shown. is there a way to use HTTP to download the kernel and initrd?note, this is not true httpBoot, as it does still use TFTP for the grub menu, etc, but it does really speed up PXE booting by using HTTP and not TFTP for the kernel and initrd downloads. separately, i am working on a true httpBoot setup, but not everything supports httpBoot, and i still have a learning curve to accomplish on getting that all setup. in the meantime, liveboot and builds using PXE and HTTP would be done a lot faster if i can get this working. any ideas?