On 2026-06-05 21:42, Benjamin Drung wrote: > mmdebstrap-autopkgtest-build-qemu can be used to build Debian VMs, but > it fails to build Ubuntu VMs. I have locally patched it until it worked. > These three changes were needed: > > 1. The kernel package is called linux-image-generic instead of > linux-image-amd64 on Ubuntu. > > 2. The symlinks vmlinuz and initrd.img do not exist in / but in /boot. > > 3. No initrd generator is installed. So mmdebstrap-autopkgtest-build-qemu > should install dracut for Ubuntu >= 25.10 and initramfs-tools for > Ubuntu <= 24.04.
Further references: For issue (1.) and possible solutions, there is a discussion at #1111903. Best, Christian

