ELevating LXC running Centos 7.9 to Alma 8

Lazarus

Active Member
Apr 26, 2019
22
2
43
125
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: