tart icon indicating copy to clipboard operation
tart copied to clipboard

Unable to get PXE booting to work for Linux VM

Open mvgijssel opened this issue 9 months ago • 0 comments
trafficstars

Hi folks!

First of all, thanks for Tart! It's simply amazing ❤ .

I'm trying to create a development environment for testing Tinkerbell with a PXE booted host. I've created a Linux VM with a modified grub entry which chainloads iPXE

menuentry "iPXE Boot" {
    insmod efi_gop
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt15' 
    chainloader /EFI/ipxe/ipxe.efi
}

but unfortunately iPXE is unable to find any network card. My guess is this is because the network hardware is special somehow?

To reproduce using netboot.xyz (which also uses iPXE under the hood):

curl -L https://boot.netboot.xyz/ipxe/netboot.xyz-multiarch.iso --output netboot.xyz-multiarch.iso
tart create --linux netboot
tart run netboot --vnc-experimental --disk ./netboot.xyz-multiarch.iso

Any idea how to get this to work?

mvgijssel avatar Jan 22 '25 08:01 mvgijssel