okay, so for some strange reason grub is unable to find the pve/root LV (it does see and skip the thin LVs on pve/data and the thin pool itself). I don't think we can get further on that front unless you are comfortable with running grub-probe under gdb and debugging grub's LVM implementation..
how does the full generated grub.cfg look like on the node with the errors? did you already reboot since the upgrade (don't do it yet please, just tell me if you have )?
oh, and there is one report with a similar symptom: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987008
could you please still post the generated grub.cfg files?
vgcfgbackup pve
on both nodes? it should generate a file in /etc/lvm/backup/pve containing information about the VG structure, maybe we can spot some peculiarity that trips up grub there..grub2/testing 2.04-19 amd64
grub2/now 2.02+dfsg1-20+deb10u4 amd64
deb [URL]http://ftp.fr.debian.org/debian[/URL] buster main contrib
deb [URL]http://ftp.fr.debian.org/debian[/URL] buster-updates main contrib
apt install grub2=2.02+dfsg1-20+deb10u4 grub-pc=2.02+dfsg1-20+deb10u4 grub-common=2.02+dfsg1-20+deb10u4 grub2-common=2.02+dfsg1-20+deb10u4 grub-pc-bin=2.02+dfsg1-20+deb10u4 os-prober
could you maybe generate a VG backup using vgcfgbackup pve on both nodes? it should generate a file in /etc/lvm/backup/pve containing information about the VG structure, maybe we can spot some peculiarity that trips up grub there..
Greate!I had exactly the same issue and I've been busy the whole day to fix this.
The solution was as follow:
- Execute all the steps from here: https://pve.proxmox.com/wiki/Recover_From_Grub_Failure
- the update-grub will fail. At this point you need to lvextend your logical volume with 2G for example.
lvextend -L 298G /dev/pve/root
resize2fs /dev/pve/root 298G
- Now you can try again the update-grub. And magically it doesn't give any error
- now you can finally run the grub-install. In my case it was grub-install /dev/nvme1n1 (my second ssd where proxmox is installed. I have a first ssd with Windows installed)
Thanks to Miquel and his post here https://forum.proxmox.com/threads/system-unbootable-grub-error-disk-lvmid-not-found.98761/ for the solution. I'm attaching a screen shot where we can see the grub-update before and after the lvextend. After this I ran grub-install /dev/nvme1n1 and reboot and promox was back.
View attachment 31296
Exactly the same here, today!I had exactly the same issue and I've been busy the whole day to fix this.
The solution was as follow:
- Execute all the steps from here: https://pve.proxmox.com/wiki/Recover_From_Grub_Failure
- the update-grub will fail. At this point you need to lvextend your logical volume with 2G for example.
lvextend -L 298G /dev/pve/root
resize2fs /dev/pve/root 298G
- Now you can try again the update-grub. And magically it doesn't give any error
- now you can finally run the grub-install. In my case it was grub-install /dev/nvme1n1 (my second ssd where proxmox is installed. I have a first ssd with Windows installed)
Thanks to Miquel and his post here https://forum.proxmox.com/threads/system-unbootable-grub-error-disk-lvmid-not-found.98761/ for the solution. I'm attaching a screen shot where we can see the grub-update before and after the lvextend. After this I ran grub-install /dev/nvme1n1 and reboot and promox was back.
View attachment 31296
Thanks so much for posting this as it helped me out today!!I had exactly the same issue and I've been busy the whole day to fix this.
The solution was as follow:
- Execute all the steps from here: https://pve.proxmox.com/wiki/Recover_From_Grub_Failure
- the update-grub will fail. At this point you need to lvextend your logical volume with 2G for example.
lvextend -L 298G /dev/pve/root
resize2fs /dev/pve/root 298G
- Now you can try again the update-grub. And magically it doesn't give any error
- now you can finally run the grub-install. In my case it was grub-install /dev/nvme1n1 (my second ssd where proxmox is installed. I have a first ssd with Windows installed)
Thanks to Miquel and his post here https://forum.proxmox.com/threads/system-unbootable-grub-error-disk-lvmid-not-found.98761/ for the solution. I'm attaching a screen shot where we can see the grub-update before and after the lvextend. After this I ran grub-install /dev/nvme1n1 and reboot and promox was back.
View attachment 31296