Opened 8 weeks ago
#22258 new defect
Failed to load ldlinux.c32
Reported by: | simonwilliams | Owned by: | |
---|---|---|---|
Component: | EFI | Version: | VirtualBox-7.0.22 |
Keywords: | PXE ldlinux.c32 | Cc: | simonwilliams |
Guest type: | other | Host type: | Linux |
Description
OS: Ubuntu 24.04 VirtualBox: 7.0.16-dfsg-2ubuntu1.1, virtualbox-7.0_7.0.22-165102~Ubuntu~noble_amd64.deb (7.1.5-165995 times out accessing *.pxe file)
Summary: TFTP requests prefix VM name minus 1 word (e.g. Test VM vmlinux vs. Test vmlinuz)
Steps to reproduce:
wget https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/x86_64/alpine-netboot-3.20.3-x86_64.tar.gz tar xzvf alpine-netboot-3.20.3-x86_64.tar.gz boot/vmlinuz-virt boot/initramfs-virt boot/modloop-virt mkdir ~/.config/VirtualBox/TFTP cp boot/vmlinuz-virt "$HOME/.config/VirtualBox/TFTP/Test vmlinuz-virt" cp boot/initramfs-virt "$HOME/.config/VirtualBox/TFTP/Test initramfs-virt" cp boot/modloop-virt $a_web_server (see pxelinux.cfg/default, pxe.sdw.me.uk will be inaccessible) docker run -ti alpine:3.20 # apk update && apk add syslinux docker cp $container_id:/usr/share/syslinux/pxelinux.0 "$HOME/.config/VirtualBox/TFTP/Test Clone.pxe" docker cp $container_id:/usr/share/syslinux/ldlinux.c32 "$HOME/.config/VirtualBox/TFTP/Test ldlinux.c32" mkdir "$HOME/.config/VirtualBox/TFTP/Test pxelinux.cfg" cat <<EOF > "$HOME/.config/VirtualBox/TFTP/Test pxelinux.cfg/default" default alpine_virt LABEL alpine_virt MENU LABEL ^A - alpine virt KERNEL vmlinuz-virt INITRD initramfs-virt APPEND ip=dhcp alpine_repo=https://dl-cdn.alpinelinux.org/alpine/v3.20/main/ modloop=http://pxe.sdw.me.uk/boot/modloop-virt EOF}}} Create a virtual machine: Name: Test Clone ISO Image: <not selected> Type: Linux Version: Other Linux (64-bit) Memory: 256 MB Storage: 256 MB (not used) Network: NAT Settings -> System -> Boot Order: Network only Start VM Witness success Note that most TFTP file names don't match the VM name (specifically, they're missing the last word in the name) The same applies for: VM Name: Alpine 3.20 PXE Prefix: Alpine 3.20 VM Name: Test Prefix: <none>
Note:
See TracTickets
for help on using tickets.