Patching Debian 11 and 12 iso images to be Xen HVM compatible
The Debian 11 and Debian 12 iso images have an installer that can crash when started in a HVM configured Xen virtual machine.
Here is a small tutorial how to patch the iso image to be installable. You need a linux environment and need to have the xorriso and initramfs-tools packages installed.
Mount the original iso.
mkdir CD sudo mount -o ro -t iso9660 debian-11.0.0-amd64-netinst.iso CD
Copy the initrd.gz file that needs to modification to your local folder.
cp -p CD/install.amd/initrd.gz .
Unmount the iso again.
sudo umount CD
Extract the initramfs directory.
Edit the start-udev script.
Comment out following line:
Change it to following and save:
Re-pack the initrd.
Create the patched installation iso.
Clean up (optional).
This tutorial is based on a post from the debian-user list:
https://lists.debian.org/debian-user/2021/08/msg01339.html
If you need scheduled remote assistance, you can request our on-demand support services: https://www.beronet.com/support