Problem with grub upgrading PVE 6.4-15

Jan 23, 2021
7
0
6
63
Dear All, I need your help in order to solve a problem with grub that is the first time I am having. My PVE infomed me that some updates are available as per picture in attachment
1663492299425.png
I have applied the updates and as always process starts, at a certain point while upgrading grub I have got the below warning messagge saying that a disk where grub was previously installed is no longer present, or whose unique identifier has changed .... in the warning I am also invited to install grub somewhere else

1663492651812.png1663492758698.png
I have tried to install on the raid partition md2 that is the one where it seems to be installed acutally but without success.
I have also tried to install it on /dev/md4 but same result it gives me error and doesn't allow me to install grub.
I am stacked at this point and I do not know how to successfully finish the upgrade.
I have a base metal server on OVH and I think that my raid is a software raid.
Here is the result of my cat /proc/mdstat
1663493070752.png
Here is the result of my debconf-show grub-pc command :
1663493153784.png
Here is the result of my efibootmgr -v
1663493248492.png
Could you please help me to understand hot to fix this ?

Thanks in advance to everybody
 
I try to reply to myself ....
What I did in order to go ahead with upgrade is to accept to go ahead with grub reconfiguration dispite of the warning and afterwords from terminal I typed the following as root :
grub-install.real /dev/sda; grub-install.real /dev/sdb
The process ended without any error message.
I do not have tried to reboot and before to do it I would like to know for someone if what I did was correct and how I can check that grub was correctly upgraded before to "risk" a reboot of the PVE server.
Thanks in advance for your support
Greetings
 
Last edited:
Buongiorno Nino ..stesso problema su OVH, hai risolto?
Buongiorno, per risolvere ho accettato che la configurazione di grub terminasse anche se la configurazione non era andata a buon fine e poi da terminale come utente "root" ho lanciato il seguente comando per scrivere su entrambi i dischi del mio raid1 :
grub-install.real /dev/sda; grub-install.real /dev/sdb
e successivamento sempre da terminale ho lanciato il comando
update-grub
giusto per essere sicuri che la configurazione fosse rigenerata
Entrambi i comandi sono stati eseguiti senza ritornare errori.
Non ho ancora provato a riavviare la macchina in quanto questa è un server di produzione.
Nel tuo caso dopo la procedura mi faresti sapere se la macchiana si riavvia senza problemi ?
Saluti
 
Grazie della risposta, si avevo anche io fatto così, a parte che non avevo dato "update-grub", ma dopo il riavvio niente boot! anche il mio è un server in produzione e non sono riuscito a farlo partire in tempi brevi ho dovuto reinstallare proxmox e poi ho ripristinato i backup delle macchine virtuali ...praticamente un disastro e un disagio enorme anche per i clienti, ora il server è funzionate ma da aggiornare quindi mi ritroverò nuovamente con lo stesso problema quando lancerò l'aggiormaneto cioè mi darà sicuramente l'errore grub... ... sinceramamente ora ho paura di aggiornare finchè non sono sicuro che funzioni e non ho ancora visto una guida chiara e certa per risolvere ....
avevi attivato la repository di "test" dove hanno rilasciato degli aggiornamenti per risolvere prima di aggiornare o hai lasciato "pve no subscription"?
aiuto se puoi: nel mio caso non ho sda o sdb ma un raid:

Code:
root@S1-web:~# lsblk -o NAME,MOUNTPOINT
NAME          MOUNTPOINT
nvme1n1      
├─nvme1n1p1   /boot/efi
├─nvme1n1p2  
│ └─md2       /boot
├─nvme1n1p3  
│ └─md3       /
├─nvme1n1p4   [SWAP]
└─nvme1n1p5  
  └─md5      
    └─vg-data /var/lib/vz
nvme0n1      
├─nvme0n1p1  
├─nvme0n1p2  
│ └─md2       /boot
├─nvme0n1p3  
│ └─md3       /
├─nvme0n1p4   [SWAP]
├─nvme0n1p5  
│ └─md5      
│   └─vg-data /var/lib/vz
└─nvme0n1p6

ho dei dubbi sul disco o partizione giusta da dare:
grub-install.real /dev/nvme1n1
grub-install.real /dev/nvme1n1p1
grub-install.real /dev/md2
mi sai dare un consiglio ?

ho scitto anche sul tread ufficiale del problema ma non ha ancora risposto nessuno .... link
 
Last edited:
Grazie della risposta, si avevo anche io fatto così, a parte che non avevo dato "update-grub", ma dopo il riavvio niente boot! anche il mio è un server in produzione e non sono riuscito a farlo partire in tempi brevi ho dovuto reinstallare proxmox e poi ho ripristinato i backup delle macchine virtuali ...praticamente un disastro e un disagio enorme anche per i clienti, ora il server è funzionate ma da aggiornare quindi mi ritroverò nuovamente con lo stesso problema quando lancerò l'aggiormaneto cioè mi darà sicuramente l'errore grub... ... sinceramamente ora ho paura di aggiornare finchè non sono sicuro che funzioni e non ho ancora visto una guida chiara e certa per risolvere ....
avevi attivato la repository di "test" dove hanno rilasciato degli aggiornamenti per risolvere prima di aggiornare o hai lasciato "pve no subscription"?
aiuto se puoi: nel mio caso non ho sda o sdb ma un raid:

Code:
root@S1-web:~# lsblk -o NAME,MOUNTPOINT
NAME          MOUNTPOINT
nvme1n1    
├─nvme1n1p1   /boot/efi
├─nvme1n1p2
│ └─md2       /boot
├─nvme1n1p3
│ └─md3       /
├─nvme1n1p4   [SWAP]
└─nvme1n1p5
  └─md5    
    └─vg-data /var/lib/vz
nvme0n1    
├─nvme0n1p1
├─nvme0n1p2
│ └─md2       /boot
├─nvme0n1p3
│ └─md3       /
├─nvme0n1p4   [SWAP]
├─nvme0n1p5
│ └─md5    
│   └─vg-data /var/lib/vz
└─nvme0n1p6

ho dei dubbi sul disco o partizione giusta da dare:
grub-install.real /dev/nvme1n1
grub-install.real /dev/nvme1n1p1
grub-install.real /dev/md2
mi sai dare un consiglio ?

ho scitto anche sul tread ufficiale del problema ma non ha ancora risposto nessuno .... link
Ciao teoricamente dovresti fare solo un grub-install.real /dev/nvme1n1 e poi il raid hardware scriverà su entrambi.
In ogni caso tu hai ancora la 6.4 o proxmox 7 ?
Teniamoci in contatto e vediamo di risolvere
Saluti
 
Grazie della risposta, proxmox 7.2-7 ...
Certo ci teniamo in contatto io appena trovo o provo qualcosa ti faccio sapere!
 
Ecco cosa ho fatto nel mio caso:
grub-install.real /dev/nvme0n1
grub-install.real /dev/nvme1n1
grub-install.real /dev/md2
update-grub
reboot OK!!
 

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!