ELevating LXC running Centos 7.9 to Alma 8

Lazarus

Member
Apr 26, 2019
19
1
23
124
I've got a PVE 6.4 host with 10 or so LXC's running Centos 7.9, which I'm looking to upgrade to latest Alma and then bring PVE up to 7.1. The ELevation process is failing because of issues with Grubby. Can someone advise me on how I can move forward?

Code:
============================================================
                           ERRORS
============================================================

2021-11-21 03:26:51.178145 [ERROR] Actor: source_boot_loader_scanner
Message: Failed to call `grubby` to list available boot entries.
Summary:
    Details: Command ['grubby', '--info', 'ALL'] failed with exit code 1.
    Stderr:
 
I'm interested as well.
I have concluded this just cannot be done on LXC containers.
You should just plan to build new containers with whatever Linux you want to migrate to, (AlmaLinux and Rocky are solid options if you want to stay near RHEL)
And then just migrate/move your services by hand.

You can make CentOS 7 work on stock Proxmox 7 and 8 by replacing SystemD if you HAVE to move fast but that should not carry your preference.
Those packages that this workaround installs haven't been updated in years and CentOS 7 is falls out of support in June anyway. Better to pull off this band-aid now.
 
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!