Desperate! Please help! Tried passthrough of USB and now proxmox won't boot.

Nov 14, 2022
4
1
3
I tried to pass through a USB PCI device so I could have access to the USB ports on my machine and now my proxmox won't boot. When I reboot the machine and go into proxmox recovery mode, I don't see anything in /etc/pve/ so I can't edit the vm config to remove the PCI passthrough. Is there some other way to fix this in recovery mode?
 
When it tries to boot in normal mode, I get this output on my monitor for about 200ms and then the screen goes blank. Apologies for the screen grab. I don't know how else to capture this data to be able to post it in here.
 

Attachments

  • IMG_0884.jpg
    IMG_0884.jpg
    415.1 KB · Views: 5
Ahhhhh I fixed it.

For anyone else who might run into this, here's what I had to do.

When booting the Proxmox host, press "e" when the boot menu shows up. Navigate through the config file that appears until you find the line that has "amd_iommu=on" in it (this might be different if you're not running an AMD machine, but it should refer to iommu). Change the "on" to "off" and then boot the machine. You should then be able to ssh to your Proxmox server and edit the config file for that VM in /etc/pve/qemu-server/ directory (you will probably need sudo to do so). Comment out the line that caused the problem (in my case, it was the "hostpci1" device I tried to add), then reboot Proxmox so immu is re-enabled.
 
Last edited:
  • Like
Reactions: leesteken

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!