You are not logged in.
Pages: 1
Hello all, recently I had a issue with my gpu source and I need some help.
Some background: I've been using virtual machines with GPU passthrough for a while now. Recently I got a new GPU and went to pass it through for my virtual machines.
So I first put the GPU's IDs which were gotten from the "lspci -nn" command into /etc/default/grub as "vfio-pci.ids=(device ids)". I then ran "grub-mkconfig -o /boot/grub/grub.cfg".
Without restarting I then put those same ids into my /etc/modprobe.d/vfio.conf as "vfio-pci ids=(device ids)".
I then ran "mkinitcpio -p linux" and restarted.
After doing that when I boot up, my gpu source is detected, my motherboard splash screen is shown for a second then all of the sudden the source is no longer detected and the system goes to the BIOS settings.
What can I do to undo or fix this? I have been using this method for a few years now for gpu passthrough with no problem till now.
Any help would be greatly appreciated.
EDIT: I booted into arch iso, mounted my 2 partitions, arch-chrooted into them and did grub-install to solve the issue.
Last edited by Berty3 (2022-12-19 17:55:37)
Offline
I'd rather suspect https://archlinux.org/news/grub-bootloa … ibilities/ than anything vfio related, "the system goes to the BIOS settings" doesn't sounds as if the kernel was ever booted.
Youwould be able to fix that offline, eg. by booting the install iso, chroot into the installed system and re-install grub (don't forget to mount the /boot partition, if you use one)
Offline
I'd rather suspect https://archlinux.org/news/grub-bootloa … ibilities/ than anything vfio related, "the system goes to the BIOS settings" doesn't sounds as if the kernel was ever booted.
Youwould be able to fix that offline, eg. by booting the install iso, chroot into the installed system and re-install grub (don't forget to mount the /boot partition, if you use one)
How would I mount my seperate partitions correctly so I wouldn't get errors when re running the commands I used shown in the first post? I have my boot as a seperate partition in /dev/sda1 and everything else in dev/sda2. When just mounting my /dev/sda2 I get a error from grub-mkconfig saying "can't find device for / , is /dev mount?"
How would I mount both /dev/sda1 and /dev/sda2 so I wouldn't get this error?
Offline
I get a error from grub-mkconfig saying "can't find device for /
https://wiki.archlinux.org/title/Chroot … rch-chroot
Other than that, /dev/sda2 goes into /mnt, /dev/sda1 goes into /mnt/boot
The you arch-chroot into /mnt
If arch-chroot isn't available, see the requirements of https://wiki.archlinux.org/title/Chroot#Using_chroot
Offline
Would I need to do anything different since I'm using zen kernel?
Thank you so much for the help this far.
Offline
The kernel itself is irrelevant to the grub situation.
Offline
Thank you so much! you solved my issue.
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Pages: 1