Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
Tried enabling GPU passthrough, fucked my proxmox node. Stuck on boot.
New on LowEndTalk? Please Register and read our Community Rules.

Tried enabling GPU passthrough, fucked my proxmox node. Stuck on boot.

stefemanstefeman Member
edited January 12 in Help

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

  • jackbjackb Member, Provider
    edited January 12

    Is there any way to run sudo update-initramfs -u -k all on rescue mode into the mounted filesystem somehow?

    Mount proc, bind mount dev inside the mounted filesystem from livecd, chroot into it and then run the command.

    Afterburst - Awesome OpenVZ&KVM VPS in US+EU

  • stefemanstefeman Member
    edited January 12

    @jackb said:

    Is there any way to run sudo update-initramfs -u -k all on rescue mode into the mounted filesystem somehow?

    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.

  • jackbjackb Member, Provider
    edited January 12

    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.

    Thanked by 1stefeman

    Afterburst - Awesome OpenVZ&KVM VPS in US+EU

  • stefemanstefeman Member
    edited January 12

    Solved, thanks @Basil and @jackb

    Im an idiot. xD

Sign In or Register to comment.