Proxmox won't boot, stuck in grub

MarcvsTvllivs

New Member
Jan 20, 2023
3
0
1
Hi everybody!

I rebooted my Proxmox sever and instead of Proxmox, I am greeted by Grub not being able to find my LVM...

Screenshot 2023-01-20 at 7.59.28 PM.png

I read up on others having this issue before, on how to fix grub issues from a liveCD through mounting and chrooting into the incapacitated installation, and on LVMs -- but I am having trouble putting it all together for my setup.

In short, my Proxmox server is on an SSD that has the expected three partitions for Boot, EFI and LVM:

Screenshot 2023-01-20 at 10.54.06 PM.png

Other than a bunch of VM disks (probably should have been given their own space...), the LVM contains the following:

Screenshot 2023-01-20 at 10.53.12 PM.png

Now, what exactly do I mount where? The step by step guides I find usually assume a non-LVM setup, and sda1,2,3 numbering, and I am having trouble transferring that to mine.

Any help would be greatly appreciated!
 
"/dev/pve/root" is the LV with your root filesystem that you can for example mount in "/altroot" on a live CD to then chroot into "/altroot". You will probably also need to bind-mount the "/sys", "/proc" and "/dev" folders.
 
"/dev/pve/root" is the LV with your root filesystem that you can for example mount in "/altroot" on a live CD to then chroot into "/altroot". You will probably also need to bind-mount the "/sys", "/proc" and "/dev" folders.
Right, and the EFI I think as well as grub won't install otherwise. How to I configure the newly-installed grub for the LVM situation though?
 
Depends on how and which PVE version you initially installed.
As far as I understand since PVE 6.2 or 6.3 even the grub bootloader will be stored on the 2nd EFI partition using the proxmox-boot-tool.
If you for example installed PVE on top of a Debian then the grub bootloader would be on the first grub partition.

So you either would need to write a new grub bootloader with the "grub-install" command or by using the proxmox-boot-tool.
See here: https://pve.proxmox.com/wiki/Host_Bootloader
 
Thank you. I am post-6.2 so it is the newer version. I did the grub-install but now all I get is the system booting into grub (rather than grub-rescue before) but still not into Proxmox. I will need to read up more on that, but am grateful for any clues.

EDIT: I can boot just fine using a super grub2 disk from a USB thumb drive, loading LVM drivers, and then selecting the Proxmox installation for the next boot. That's a relief, but I don't know how to make this permanent and independent from the thumb drive.
 
Last edited:

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!