...
Mount the original iso.
Code Block 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.
Code Block cp -p CD/install.amd/initrd.gz .
Unmount the iso again.
Code Block cpsudo -pumount CD/install.amd/initrd.gz .
Extract the initramfs directory.
Code Block sudo unmkinitramfs initrd.gz initramfs
Edit the start-udev script.
Code Block sudo vi initramfs/lib/debian-installer/start-udev
...