Problem with pass-through - cannot change initramfs

Guys this might help you. It worked for me.

:~# nano /etc/default/grub

intel_iommu=on and iommu=pt – in the end of the line

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on and iommu=pt"

: ~# update-grub

To check if IOMMU is enabled:

:~# dmesg | grep -e DMAR -e IOMMU

To find you graphic card use the following line:

:~# lspci | grep VGA

You should get:

00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]

To black list the driver from host use:
:~# echo "options vfio-pci ids=8086:3e92 disable_vga=1"> /etc/modprobe.d/vfio.conf

Then to update modules:

:~# update-initramfs -u -k all

If it won’t work because there is no link to ESP partition then:

:~# proxmox-boot-tool status

To check which partition is /boot with vfat format:

:~# lsblk -o +FSTYPE

To initialize ESP sync first unmount boot partition:

:~# umount /boot/efi

Then link the vfat partiton with proxmox-boot-tool:

:~# proxmox-boot-tool init /dev/XXXXXXXX where XXXXXXXX is the name of vfat partiton from lsblk +FSYSTEM

Then:

:~# mount -a

Then to update modules:

:~# update-initramfs -u -k all



Reboot
i did this and now my proxmox doesnt boot.... what should i do to fix it? any suggestion??
 
Last edited: