<div dir="ltr"><div>By default Debian does not include tools like dracut and mkinitcpio. Was wondering if there is anything inherently wrong with keeping everything in initramfs. This seems to work. <br><br>/etc/initramfs-tools/moduels<br>vfio<br>vfio_iommu_type1<br>vfio_pci<br>vfio_virqfd<br><br>Into <br><br>/etc/initramfs-tools/scripts/local-premount<br><br>#!/bin/sh<br><br>DEVS="0000:03:00.0 0000:03:00.1 0000:81:00.0"<br>for DEV in $DEVS; do<br>    echo "vfio-pci" > /sys/bus/pci/devices/$DEV/driver_override<br>done<br>modprobe -i vfio-pci<br><br>Then <br><br>update-initramfs -v -u -k `uname -r`<br><br></div>Not using any blacklisting or modprobe.d stuff. Just the above.<br><div><br>Hopefully the modules are loaded first, then the script is run then root if mounted. A quick peek into initram file system and it looks like everything is there? Can take a peek with..<br><br>gunzip -c -9 /boot/initrd.img-`uname -r` | cpio -i -d -H newc –no-absolute-filenames<br><br>A few questions. <br>1) I am not 100% sure what is meant by “binding devices statically to vfio-pci” Would the above qualify as such?<br><br>2) I would like to use Alex's script vfio-pci-override-vga.sh but both GPUs are are showing up as “boot_vga” I am using the AST2400 chipset (motherboard) for my host graphics and a GTX970 as the GPU being passed. Is this a hardware short coming?<br><br></div><div>All the best<br></div><div>Erik Adler<br></div><div><br></div></div>