Hello,
1. Because I passthrough the only graphics card, once the PVE gets to "Reading all physical volumes...", I no longer can use the console.
If I make some change that lock myself out of web interface (for example, change network config), I guess that I have no way to get into the system?
So I thought that I could roll back (comment out) lines in /etc/modprobe.d/blacklist.conf and /etc/modprobe.d/vfio.conf,
and then update-initramfs -u -k [a old version of kernel].
Since my PVE alway keep a old version (roll back to no passthrough) and the latest version (with GPU passthrough) in the grub menu.
I can thus use the old version to get to console to make changes.
However, every time I did update-initramfs -u -k [a old version of kernel], it updated both (I checked by observing if the I can get to console).
So both kernel images roll back to no passthrough.
I checked the update-initramfs.conf has "Default=yes".
How can I achieve to only update one of the kernel image?
2. I have to plug the a NVIDIA GPU that I'd like to passthrough in first slot.
I don't need to passthrough AMD's GPU. If I have a old AMD graphics card, I can plug it in slot 2 and not blacklist Radeon driver.
Will I get console display on the AMD card?
1. Because I passthrough the only graphics card, once the PVE gets to "Reading all physical volumes...", I no longer can use the console.
If I make some change that lock myself out of web interface (for example, change network config), I guess that I have no way to get into the system?
So I thought that I could roll back (comment out) lines in /etc/modprobe.d/blacklist.conf and /etc/modprobe.d/vfio.conf,
and then update-initramfs -u -k [a old version of kernel].
Since my PVE alway keep a old version (roll back to no passthrough) and the latest version (with GPU passthrough) in the grub menu.
I can thus use the old version to get to console to make changes.
However, every time I did update-initramfs -u -k [a old version of kernel], it updated both (I checked by observing if the I can get to console).
So both kernel images roll back to no passthrough.
Code:
update-initramfs -u -k 5.4.157-1-pve
update-initramfs: Generating /boot/initrd.img-5.4.157-1-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/XXXXX
Copying kernel and creating boot-entry for 5.4.119-1-pve
Copying kernel and creating boot-entry for 5.4.157-1-pve
Copying and configuring kernels on /dev/disk/by-uuid/B53D-235B
Copying kernel and creating boot-entry for 5.4.119-1-pve
Copying kernel and creating boot-entry for 5.4.157-1-pve
I checked the update-initramfs.conf has "Default=yes".
How can I achieve to only update one of the kernel image?
Default is yes for running the latest initramfs-tools hooks in the newest Linux image. Setting it to all updates any known initramfs. It is possible to set it to no for remote servers or boxes where conservative manners needs to be applied. This disables the update_initramfs -u call. https://www.systutorials.com/docs/linux/man/5-update-initramfs.conf/
2. I have to plug the a NVIDIA GPU that I'd like to passthrough in first slot.
I don't need to passthrough AMD's GPU. If I have a old AMD graphics card, I can plug it in slot 2 and not blacklist Radeon driver.
Will I get console display on the AMD card?
Last edited: