• GPU Passthrough with Systemd


    Hi folks,

    I’ve been working through the guide at:

    [https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Using_vfio-pci]

    But I use systemd instead of grub. I’ve activated iommu via editing antergos.conf in EFI, which seems to work ok, after using “dmesg | grep -e DMAR -e IOMMU” to check.

    There was no /etc/modprobe.d/vfio.conf present, so i assumed creating it was the way to go, using the ID’s from my setup hardware.

    Edited /etc/mkinitcpio.conf as directed

    Then there is a link which used to point to Regenerate the INITRAMFS, which has been re-directed elsewhere. So i’m kinda stuck now. Not sure what to search for, especially as anything referencing Grub is probably irrelevant to me.

    dmesg | grep -i vfio after a reboot just returns nothing. Not even an error.

    Any ideas, or is there a guide that would be more suited to me?

    Thanks!

  • @justsomegeek said in GPU Passthrough with Systemd:

    Edited /etc/mkinitcpio.conf as directed
    Then there is a link which used to point to Regenerate the INITRAMFS, which has been re-directed elsewhere. So i’m kinda stuck now. Not sure what to search for, especially as anything referencing Grub is probably irrelevant to me.

    Hi! Not sure which kenel you’re using so i’ll give a generic solution

    sudo mkinitcpio -P will detect kernel and regenerate initramfs.

    Portergos site
    https://github.com/Portergos/portergos-iso

    Still in love with Antergos (default OS)
    I3wm

    Linux newbie since 06/2016

  • @fernandomaroto said in GPU Passthrough with Systemd:

    Hi! Not sure which kenel you’re using so i’ll give a generic solution

    sudo mkinitcpio -P will detect kernel and regenerate initramfs.

    Brilliant, thanks! That seems to have done the trick. 🙂

    Kernel is 4.16.8-1-ARCH in case that matters?

  • @justsomegeek said in GPU Passthrough with Systemd:

    Brilliant, thanks! That seems to have done the trick.

    Nice!

    Kernel is 4.16.8-1-ARCH in case that matters?

    ok, that’s the regular kernel, usually people use sudo mkinitcpio -p linux for regular kernel, sudo mkinitcpio -p linux-lts for LTS kernel etc, etc.

    Portergos site
    https://github.com/Portergos/portergos-iso

    Still in love with Antergos (default OS)
    I3wm

    Linux newbie since 06/2016

systemd29 gpu16 passthrough2 Posts 4Views 266
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.