initramfs console after exclude sata pci device

ayo91

Member
Jan 23, 2021
11
2
8
33
I followed the pci passthrough for send my external pcie sata board to an vm and now proxmox does not start. Guide: https://pve.proxmox.com/wiki/PCI(e)_Passthrough

1. I added this line "blacklist ahci" to the /etc/modprobe.d/pve-blacklist.conf file.
2. I executed this command: update-initramfs -u -k all
3. I added the device to my vm: qm set VMID -hostpci0 00:02.0

That ones were the only steps I needed. However reboot and Im in the (initramfs) console without possibility to run proxmox...

Already tried:
- Import the zfs pool "zpool import -N rpool" but the pool is not available
- Import from disks "zpool import -a -d /dev/disk/by-id" but I have not any disk on /dev/disk


2022-05-09 21.04.10.jpg

2022-05-09 21.04.20.jpg
 
I'm afraid you blacklisted the driver that is also used for your drive(s) that contains Proxmox. Because the driver cannot be loaded, Proxmox cannot access drive(s) and cannot use the rpool. I'm sorry that the Wiki page suggest blacklisting just any driver for passthrough, which is really not necessary when early binding to vfio-pci (and using softdep)i.
I would suggest booting an earlier kernel but you used the -k all option and made this change (blacklisting ahci) for all kernels on your system.
Either rescue boot using a Proxmox ISO or another Linux LiveCD and undo your change or reinstall.
 
Last edited:
  • Like
Reactions: ayo91
I'm afraid you blacklisted the driver that is also used for your drive(s) that contains Proxmox. Because the driver cannot be loaded, Proxmox cannot access drive(s) and cannot use the rpool. I'm sorry that the Wiki page suggest blacklisting just any driver for passthrough, which is really not necessary when early binding to vfio-pci (and using softdep)i.
I would suggest booting an earlier kernel but you used the -k all option and made this change (blacklisting ahci) for all kernels on your system.
Either rescue boot using a Proxmox ISO or another Linux LiveCD and undo your change or reinstall.
thanks for your feedback. I solved with a usb boot and recreating the image
 
  • 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!