recover from grub failure

RolandK

Famous Member
Mar 5, 2019
1,053
246
108
52
hello,

i had to recover from grub failure yesterday and it's sometimes hard to find the correct information in the proxmox wiki

does this one still apply for non-zfs setup (as it's very old) ?

https://pve.proxmox.com/wiki/Recover_From_Grub_Failure

shouldn't we use "proxmox-boot-tool refresh" for updating boot configuration ?

it feels a little bit uncomfortable to recover a system with help of a wiki page which refers to such old proxmox verisions


this only refers to zfs rootfs :

https://pve.proxmox.com/wiki/ZFS:_S...iring_a_System_Stuck_in_the_GRUB_Rescue_Shell

@Stoiko Ivanov ?
 
does this one still apply for non-zfs setup (as it's very old) ?

https://pve.proxmox.com/wiki/Recover_From_Grub_Failure
The basic steps to get to a rescue system are the same (mount root filesystem to a mount-point and (r)bind-mount the necessary pseudo-filesystems, then chroot)
The part about getting the root filesystem mounted is what diverges between ZFS and non-ZFS setups (vgchange, vs zpool import)

So the information might seem dated - but should still work - or did you run into any problems?

shouldn't we use "proxmox-boot-tool refresh" for updating boot configuration ?
proxmox-boot-tool is currently only used for systems using ZFS on / ....

I hope this helps!
 
thanks for the infos

> proxmox-boot-tool is currently only used for systems using ZFS on / ....

oh, really ? :D

i did not setup a non-zfs-root system for a long time, so i really thought it was meant as generic/replacement approach and to handle all the efi-boot stuff, at least i never read anywhere that "this tool is for zfs only" :)

but efi-boot is being done/supported without proxmox-boot-tool on non-zfs setup !?
 
Last edited:
did not setup a non-zfs-root system for a long time, so i really thought for a long time it was meant as generic approach, at least i never read anywhere that "this tool is for zfs only" :)
We're a bit hesitant to write this down explicitly, as we might change that in the future in one direction or the other (which in turn would cause quite a few outdated blog-posts and HOWTOs ...)

However - whether or not proxmox-boot-tool is used in your system can be easily found out:
https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#sysboot_determine_bootloader_used
(on a running system `proxmox-boot-tool status`)
 
  • Like
Reactions: RolandK
i have no clue how i got to this problem, i found that grub was missing in proxmox-boot-tool configuration when i booted into recovery mode, it showed that uefi was active, but the system does not have uefi boot.
it was an old node i removed from the cluster now, but i checked all remaining nodes in the cluster and there was one more, which has missing grub shown in "proxmox-boot-tool status", so i rerun/reinit that.

anyhow, that old cluster is at 6.4 and i don't put any more effort into that old installation... i guess this is some old problem remainder, that cluster was installed with proxmox 6.0 or 6.1 iirc

there had been no power losses
 
Last edited: