Hi,
I have a Rocky Linux installation that I converted from CentOS before it became a rolling distro.
I am running the Zimbra mail system on the machine and recently I had an issue where there was a kernel panic and MySQL tables became corrupted.
Checking the system which has been running fine for the last few years it seems that it is still booting from the old CentOS kernel.
Personally I am Arch Linux user so I am not that familiar with RPM based distros…
On one side I need to recover the MySQL tables in Zimbra and as attempting to do this I noticed the mysql client process was getting “killed” after launch?
There was also an error stating that a library file could not be loaded by LD because it was too short. Later on google’ing the error and it turns out the file is linked to Android? which confused me totally.
I decided to remove the file and perform a package reinstall. I think I used this command:
yum reinstall $(yum list installed | awk '{print $1}')
Unfortunately now I cannot boot the system at all?
The original CentOS kernel panics claiming that libraries are missing?
If I try to boot the latest Rocky Kernel I get the error message:
error while loading shared libraries libtinfo.so.6 cannot open shared object file: No such file or directory
Is there anyway to recover from this or is the system completely messed up?
In Arch I would normally just perform a “pacstrap” to reinstall things like bash and the base system, then arch-chroot into the root file system and run a reinstallation of everything which normally works fine
Is there any similar way to do this here with Rocky Linux or perhaps there is a recovery utility on an install ISO or something?