All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Tried enabling GPU passthrough, fucked my proxmox node. Stuck on boot.
So, I attempted to follow this guide: https://lunar.computer/posts/gpu-passthrough-proxmox-60/
Everything was fine untill this:
$ sudo echo "vfio" > \
/etc/modules-load.d/vfio.conf
$ sudo echo "vfio_iommu_type1" >> \
/etc/modules-load.d/vfio.conf
$ sudo echo "vfio_pci" >> \
/etc/modules-load.d/vfio.conf
$ sudo echo "vfio_virqfd" >> \
/etc/modules-load.d/vfio.conf
$ sudo echo "options vfio-pci ids=8086:3e92" > \
/etc/modprobe.d/vfio.conf
sudo update-initramfs -u -k all
sudo reboot
After that, the server is permanently stuck on:
So I went and booted a rescue system,
mounted the filesystem, removed those lines from:
/etc/modules-load.d/vfio.conf
and
/etc/modprobe.d/vfio.conf
then unmounted, and rebooted.
Still same error.
I tested rebooting multiple times before commiting these changes, so im quite sure they are the cause.
Is there any way I can fix this? Thank you for help in advance.
for the record, I was trying to enable intel passthrough on the host node.
Is there any way to run sudo update-initramfs -u -k all on rescue mode into the mounted filesystem somehow? and would that help to undo the changes?
This is a personal proxmox node im using with my friends, so not selling anything in case anyone is asking.
Comments
Mount proc, bind mount dev inside the mounted filesystem from livecd, chroot into it and then run the command.
Could you tell me full commands by any chance? xD
Thank you in advance.
https://superuser.com/a/417004
If your livecd of choice is grml, it provides a wrapper
grml-chroot
which handles all of that for you.Solved, thanks @Basil and @jackb
Im an idiot. xD