I have successfully configured grubx64.efi, and is able to launch grub.cfg menu that will then load casper/vmlinuz and casper/initrd from the Ubuntu 24.04 Desktop AMD64.iso image.
set casper_path='iso/ubuntu-24-04-iso_extrct/'
set config='http://192.168.60.1/pxe-cloud/u24-04/'
set config_user_data='http://192.168.60.1/pxe-cloud/u24-04/user-data'
set ubuntu_iso_url='http://192.168.60.1/pxe-cloud/u24-04/ubuntu-24.04-desktop-amd64.iso'
echo 'Loading kernel vmlinux using '
echo ${ubuntu_iso_url}
echo '...'
#echo 'Loading kernel Ubuntu 24.04 vmlinux using url ISO method ...'
linux ${casper_path}casper/vmlinuz ip=dhcp cloud-config-url=${config_user_data} url=${ubuntu_iso_url} autoinstall ds=nocloud\;s=${config} root=/dev/ram0 ramdisk_size=1500000 console=tty1 console=ttyS0,115200n8
initrd ${casper_path}casper/initrd
Everything works fine, and the Ubuntu24.04 was loaded until at the end... it appears that an infinite session-[session id].scope was created. The log in prompt was not there. Infinite systemctl status session-[session id].scope created
On the same setup, Ubuntu22.04 ISO and the corresponding casper/vmlinuz and casper/initrd works perfectly, and it ends at the log in prompt. I could then log in as ubuntu user. Successful Boot for Ubuntu22.04
I am not familiar with PXE-boot, but could anyone advise how this can be resolved ?enter image description here