Advertisement
Guest User

Untitled

a guest
Oct 28th, 2020
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. apt-get install vlc vim qbittorrent htop iotop terminator
  2.  
  3. grep -q "pci_stub" /etc/modules || echo -e "pci_stub\nvfio\nvfio_iommu_type1\nvfio_pci\nvfio_virqfd\nkvm\nkvm_intel\namdgpu" >> /etc/modules
  4.  
  5. grep -q "intel_iommu=on" /etc/default/grub || sed -i "s/quiet splash/quiet splash intel_iommu=on/g" /etc/default/grub
  6.  
  7. grep -q "amdgpu" /etc/modprobe.d/blacklist.conf || echo "blacklist amdgpu" >> /etc/modprobe.d/blacklist.conf
  8.  
  9. grep -q "pci_stub" /etc/initramfs-tools/modules || echo "pci_stub ids=1002:67df,1002:aaf0" >> /etc/initramfs-tools/modules
  10.  
  11. apt-get install qemu-kvm qemu-utils qemu-efi ovmf libvirt-bin libvirt-dev libvirt0 virt-manager
  12.  
  13. update-grub
  14.  
  15. update-initramfs -u
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement