netbootxyz / netboot.xyz

Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.
https://netboot.xyz
Apache License 2.0
9.17k stars 680 forks source link

Booting Ubuntu 24.04 on Proxmox fails. #1496

Closed justSem closed 2 months ago

justSem commented 2 months ago

[X]: This bug persists when memory is increased beyond 8GB.

Describe the bug When trying to boot an Ubuntu 24.04 installer on a Proxmox environment, the installer hangs on the Intial Cloudinit job (metatada service crawler). This doesn't happen when using an Ubuntu ISO from a virtual CD drive.

It doesn't make a difference to whether Cloud-init is configured on the VM or not. I've tested a bunch of different settings.

Since this error appears on Netboot.xyz this can mean either of 2 things:

  1. The issue is a netboot.xyz problem and needs to be fixed here.
  2. This issue is an ubuntu issue, but isn't present in the ISO version.

To Reproduce Steps to reproduce the behavior:

  1. Spin up an EFI based machine on Proxmox
  2. Netboot the latest Netboot.xyz
  3. Boot the Ubuntu 24.04 netinstall (without any additional settings)
  4. Wait and see..

Expected behavior The installer booting past the cloud-init job like it does on 22.04.

Screenshots image

Linuxsmurfen commented 2 months ago

Had the same type of issue and had to change the kernel parameters in the "ubuntu.ipxe" to get it working.

echo Loading Ubuntu Subiquity Network Installer...
#kernel ${kernel_url}vmlinuz root=/dev/ram0 ramdisk_size=1500000 ${netboot_params} ${install_params} initrd=initrd.magic ${cmdline}
kernel ${kernel_url}vmlinuz root=/dev/ram0 ramdisk_size=3500000 ${netboot_params} cloud-config-url=/dev/null ${install_params} initrd=initrd.magic ${cmdline}
antonym commented 2 months ago

I ran into a hang that appeared to last several minutes on cloud init but it finally went through, these were the logs I got from cloud-init: Screenshot 2024-08-08 at 10 18 34 PM

antonym commented 2 months ago

Pushed some changes up per the recommendations, lets see if that improves things, it did seem to boot faster.