Enhancement Errors for Arch/Manjaro

risk

New member
Jun 21, 2020
3
3
3
In your setup guide, you have a few errors:

your grub boot file states: vfio pci.ids=10de:1e81,10de:10f8 however it should be should be vfio-pci.ids=10de:1e81,10de:10f8 note the - in between vfio and pci

Also, you ignore the part where you need to enable the vfio drivers, in the mkinitcpio.conf file, and then rebuild it.
 
  • Like
Reactions: ech0

ech0

Administrator
Staff member
May 26, 2020
35
0
6
Thank you! I appreciate the feedback. I have added the section on changing the initial ramdisk config and updating it. It's right above the Grub change section in Part 2. Let me know if you see anything else I need to add.
 

risk

New member
Jun 21, 2020
3
3
3
in a lot of places such as pre-requisites you use
Code:
pacaur install qemu libvirt edk2-ovmf virt-manager
it should be
Code:
pacman install qemu libvirt edk2-ovmf virt-manager
as pacaur is not installed by default on manjaro.


You also never showed/created a birdged network but state:
Code:
Now you should see the final screen. Don't Click Finish yet. For network select your Bridge or NAT Network.
 
Last edited:
  • Like
Reactions: ech0

ech0

Administrator
Staff member
May 26, 2020
35
0
6
in a lot of places such as pre-requisites you use
Code:
pacaur install qemu libvirt edk2-ovmf virt-manager
it should be
Code:
pacman install qemu libvirt edk2-ovmf virt-manager
as pacaur is not installed by default on manjaro.


You also never showed/created a birdged network but state:
Code:
Now you should see the final screen. Don't Click Finish yet. For network select your Bridge or NAT Network.
Thanks. I fixed the pacman command. Old habits. Just got used to pacaur and troubleshooting issues when they arrived due to pacaur. But I should not be promoting it over pacman for stability reasons. So thanks.

I'll add the bridge network section tomorrow! Can't believe I forgot that!

Thanks for vetting out my guide. You have been very helpful!
 

risk

New member
Jun 21, 2020
3
3
3
Here are some other things you need to add:



need to add amd kvm msrs for ryzen systems to bypass the BSOD on trying to install or boot windows 10

sudo nano etc/modprobe.d/msrs.conf
Code:
options kvm ignore_msrs=1
If you want to make sure the VFIO drivers load up before the GPU drivers and are having issues use the following:

sudo nano etc/modprobe.d/nvidia.conf
Code:
softdep nouveau pre: vfio-pci
softdep nvidia pre: vfio-pci
and again, a backup of the vfio passthrough ids
sudo nano etc/modprobe.d/vfio.conf
Code:
options vfio_pci ids=10de:13c2,10de:0fbb,1102:0012

Modprobe will automatcially launch these options upon boot as necessary.

My /etc/default/grub looks like the following:

Code:
GRUB_DEFAULT=0
GRUB_TIMEOUT=3
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3 amd_iommu=on iommu=pt kvm.amd.avic=1 isolcpus=0-7 nohz_full=0-7 rcu_nocbs=0-7 rd.driver.pre=vfio-pci vfio-pci.ids=10de:13c2,10de:0fbb,1102:0012 transparent_hugepage=never default_hugepagesz=1G hugepagesz=1G hugepages=32"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
#GRUB_SAVEDEFAULT=true
By default it'll boot into Linux, and i can use "sudo grub-reboot 2" to force it to reboot into windows automatically.

Also I passed through 6 SSDs, best way to attach them was through WWNs (though some dont like to show WWNs for some weird reason)
 

Attachments

Last edited:
  • Like
Reactions: ech0