#PC wont boot after enabling IOMMU

1 messages · Page 1 of 1 (latest)

fluid otter
#

So I am trying to setup a VM with gpu passtrough on my mint macheen.
I am following this guide that was suggested by one of the users of this server
https://youtu.be/tDMoEvf8Q18
Once I edited my grub file according to the guide and added what the author did(originally it was only silent boot)

GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on kvm.ignore_msrs=1 vfio-pci.ids=10de:1b81,10de:1b81"

And restarted the PC it wont boot, gets stuck at the moment when you can click f+number to get into bios
I had to disable IOMMU in bios(labeled as vt for direct i/o picrel but according to internet its same shit as vt-d/iommu)
Any tips how to solve the not booting issue?

THIS GUIDE ONLY WORKS WITH UBUNTU 20.04
DO NOT USE WITH EARLIER VERSIONS

In this video, we will get GPU passthrough working in Ubuntu 20.04

###################

Steps:

apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager ovmf

nano /etc/default/grub

amd_iommu=on or intel_iommu=on kvm.ignore_msrs=1 vfio-pci.ids...

▶ Play video
ionic bridge
fluid otter
#

not my photo
basically it gets stuck at this screen
in bottom left corner i see "f2 bios´"
thats it

ionic bridge
fluid otter
#

yeah
rn im using this pc after disabling iommu but I need it if i want gpu passtrough

#

also spam esc you mean get into bios?

ionic bridge
fluid otter
#

oh i see

#

will keep it in mind when ill be powering off the pc to try it out

ionic bridge
#

anyways, I'm not very experienced in that matter and don't know why it's not booting with it enabled. you'll have to wait for a response from others

fluid otter
kind pier
#

Is that an AM3 system? Because if yes, I once encountered the same issue, and the solution was not using an AM3 system, because of borked IOMMU.

fluid otter
kind pier
fluid otter
#

I7-6700

kind pier
#

Alienware? I am not surprised that their BIOS derps hard on the IOMMU. I am surprised any of their systems ever boot up.

fluid otter
ionic bridge
fluid otter
#

ahh i see

#

time to reboot pc again

#

Welp
Normal.just boots computer so im trying to hit esc with right timing to open proper menu

fluid otter
fluid otter
ionic bridge
#

do you have the iuommu thing enabled?

fluid otter
# ionic bridge any will be fine

so i chose first recovery mode i think the 126
went into recovery menu
think i did the check the files kind of options
saved then rebooted turned on iommu rebooted again and it still wouldnt boot

fluid otter
#

Ill try enabling iommu in bios then getting into grub×menu and try recovery

#

When im home

fluid otter
#

so I enabled iommu
went into grub2
did recovery mode
booted into pc
rebooted without recovery mode
pc wouldnt boot
did went trough recovery mode(go into recovery mode to just click continue booting) pc boots with iommu enabled

fluid otter
fluid otter
#

update on my iommu voes.
enabled iommu in bios
and tried out every recovery mode in grub2
did the usual, check file integrity
afterwards rebooted with iommu enabled
pc still wouldnt boot.
note that I can go into recovery mode and immediately boot and pc will run with iommu enabled

fluid otter
#

I am considering kinda bypassing the non booting issue by using recovery mode to boot with iommu then just continuing the steps to setup gpu passtrough for a vm
then if possible just to try and make pc boot straight into grub2 so i can use recovery mode to boot with iommu

#

yes im repeating myself