PCI Passthrough, reboot, PVE won't boot

Ben Labout

Active Member
Apr 4, 2017
5
1
43
36
So I started the instructions here:

https://pve.proxmox.com/wiki/Pci_passthrough

for PCI passthrough. I was going to put a GPU in and run a VM to mine some Etherium. Anyway, I was just prepping for the GPU to get here so I built the VM and ran the command to change the line to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"

in the Introduction section in the Intel CPU instructions and then ran:

update-grub

Then I added the following to /etc/modules:

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

and then I rebooted just to test the settings without changing anything else and when it boots up, it just goes into initramfs mode.

It says "ALERT! /dev/mapper/pve-root does not exist."
modprobe: module ehci-orion not found in modules.dep

Also, I tried to go reverse the changes since the shell is allowing me to ls and vi etc but /etc/default/grub does not exist and neither does /etc/modules.

The only thing in /etc/modules is a file names zfs

What did I do wrong?? Please help!

For some background, this is a dual Xeon X5670 server and the boot drive where Proxmox lives is two 250 GB SSDs in RAID 0 on a PCI hardware RAID card.
 
Last edited:
Remove "quiet intel_iommu=on" and add "rootdelay=10 scsi_mod.scan=sync" parameters and try boot. How do it:

When the server boots up, you will see the Grub countdown, which is set to 4 seconds by default.
Press "Esc" to intercept this countdown and go enter a Grub menu.
  • Press 'e' to start editing.
  • Scroll down to the "kernel..." line. The is the line that tells Grub which kernel to boot with and the parameters to be passed to the kernel when it boots are placed at the end of this line.
  • Press 'e' again to edit this line.
  • Move to the end of the line. You will see any existing parameters and can remove "quiet intel_iommu=on", and add "rootdelay=10 scsi_mod.scan=sync".
  • To boot the edited entry, press Ctrl-x.
 
THANK YOU!

Server is booted now.

So have we just removed the ability to use PCI Passthrough?

Will I need to install the GPU and then finish the directions for attempting this again?

My thought is that it was ignoring the PCI RAID card because I set it up halfway without actually telling it which PCI slots to passthrough... am I even close?

Thank you again, SO MUCH for your help!
 

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!