Most of the Linux production servers at work have been in use for many years and their hardware is out of date.
For example, we have some production servers running CentOS 8 or 9. While the OS has been updated over the years, from the originally installed version 6 or 7, the hardware is now about 8-10 years old.
We want to move the running Linux systems using a Custom Linux Image. The idea is to create a backup image that includes the OS and all applications and restore that to much newer hardware and get the benefit of a modern x86_64 CPU, motherboard architecture, and SSD drives.
We tried to do this using Clonezilla Live and dd to clone the system disk and restore it to newer hardware, but we never managed to make it work.
Typically, once the image is restored to new hardware, the new systems will boot into emergency mode or the dracut command prompt.
If we then run journalctl -xb
we see a large number of OS errors related to CPU architecture mis-matching, disk label not matching, or logical volume lost errors.
There are some very piecemeal guides on the internet showing how to fix these types of issues, but I haven't found a single guide with a complete set of steps to resolve these problems.
Is there a way to transfer an existing Linux system, including customizations and applications, instead of reinstalling the OS from scratch?
journalctl -b
(forget the -x), can you actually post some of them here?