Quantcast
Channel: Active questions tagged networking - Ask Ubuntu
Viewing all articles
Browse latest Browse all 23562

failing pxeboot install for 24.04 Server LTS

$
0
0

I'm trying to set up a pxeboot installer for 24.04 Server LTS. The machine finds our PXE and TFTP just fine, and loads the kernel and initrd. But when it gets to the install, it fails to recognize that it's received a DHCP address. I can tail the logs on our DHCP server and see it getting an address. On the console of the machine, I can see it naming that same IP address but then saying "no such device" and then "no devices to configure" despite starting each round with the IP it was assigned.

I've tried changing the pxeboot settings to use a static IP and still get errors along the lines of "no device." It tries a number of times at increasingly longer intervals and eventually fails out.

It seems to be that the BIOS can find a NIC for the initial boot but the kernel loaded via TFTP can't. Except I can still see each attempt in the logs on the DHCP server.

The machine is a VM running under the xen hypervisor. That doesn't seem like it should be an issue. It does work fine with Ubuntu 22.04 LTS. In xen the default "NIC" is a Realtek or you can also choose to emulate an Intel e1000. I've tried both with no change. Update: I've also tried this on bare metal (Dell R740) with slightly different errors (the Dell is running UEFI and the VM uses legacy BIOS) but still no love.

Once it drops to the busybox/initramfs prompt, the network interface is unconfigured. I can enable it and it gets DHCP settings just fine including IP, GW, broadcast, DNS, TFTP server. DNS doesn't work, though: /etc/resolv.conf is empty. I can add a nameserver to it manually and then networking is fine. Here's a screenshot of the whole situation:

enter image description here

Has anything changed about calling the install from pxelinux.cfg.default?Here's what I'm calling:

LABEL Ubuntu24.04 LTS Auto Install  MENU LABEL Ubuntu 24.04 LTS Unattended Base Build (SCHARP)  KERNEL ubuntu24.04/vmlinuz  APPEND autoinstall initrd=ubuntu24.04/initrd root=/dev/ram0 ramdisk_size=16384 hostname=ubuntu-24 ip=dhcp url=http://depot.pc.scharp.org/ISO/ubuntu-24.04-live-server-amd64.iso ds=nocloud-et;s=http://depot.pc.scharp.org/auto_os/u24/

Update 4/29: It occurred to me I was using a very old version of the pxelinux.0 file. Installed pxelinux to my tfptd server and copied in current versions of pxelinux.0 and the dependent files. No change.

Also tried booting the install using static addressing, specifying the network device and settings in the "APPEND" line. I still get "no such device" in the error output despite seeing the same device name earlier.


Viewing all articles
Browse latest Browse all 23562

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>