Rocky Linux 9 Migration Notes

2025-06-25

Upgrade to Rocky Linux 9.6 initially failed on test VM with package errors.

Trying these steps on a test VM:
dnf remove vlc totem gstreamer1-plugins-bad-free gstreamer1-plugins-ugly-free
dnf update
dnf install vlc totem

Then reinstall VBox Guest Additions.

Got message /var/log/vboxadd-setup.log to find out what went wrong (Building the modules for [current] kernel failed).

Rebooted and then tried installing kernel-debug-devel but same problem.

Upgraded host computer's VirtualBox to version 7.1-7.1.10 (was running 7.1.4)

Now can upgrade from 9.5 to 9.6 on VirtualBox VMs but Xfce logs in for 1 second, a black screens appears, and then the sytem logs out.

The fix is to choose a different window manager on the main login screen (upper right, choose "GNOME Classic on Wayland"). After logging in successfully, log out and then go back to the main screen and choose the "Xfce Session".

For my non-virtual, primary Rocky Linux 9 machine the upgrade from 9.5 to 9.6 worked without issue but upon reboot, I got the following error:

VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE).

Using a Google Search, the temporary fix was to do the following:

# lsmod | grep kvm

Verified the following output:

kvm_intel             446464  0
kvm                  1404928  1 kvm_intel

Disabled the KVM temporarily:

# modprobe -r kvm_intel

Verified nothing was returned with the following command:

# lsmod | grep kvm

Was then able to start up the VMs using the VirtualBox GUI successfully.

Need to reboot machine and see if fix stays. Otherwise, the permanent fix is the following:

Create a file named kvm-blacklist.conf in /etc/modprobe.d/

Add the blacklist entry: Add the appropriate line to the file:

blacklist kvm_intel 

-or-

blacklist kvm_amd 

Reboot to apply the changes.

2024-11-25

Old news, but LibreOffice no longer supported by RedHat. Get the latest LibreOffice from https://www.libreoffice.org/download/download-libreoffice/

Unpack the tar and verify you see individual RPMs. Then:

dnf localinstall *.rpm

You can then start an application like this:

libreoffice24.8 --calc test.csv

Make a .bashrc alias for shortcuts.

2024-11-21

Upgrade to Rocky Linux 9.5:

Had to run the following due to package problems (which will break 'vlc')

dnf remove compat-ffmpeg4 ffmpeg-libs vlc 
dnf update
dnf install vlc gstreamer1-plugin-openh264

Then security cameras running vlc and totem worked correctly.

2024-05-13

Upgrade to Rocky Linux 9.4:

Had to run dnf remove gnome-applets to allow upgrade to proceed.

After the upgrade the test Rocky Linux 9.3 VM would not start X with Xfce. Tried a bunch of things like reinstalling all RPMs, getting list of matching RPMs against another VM that upgraded OK but X still would not start. /var/log/messages just kept showing the X server was crashing.

Discovered that if you select the "Standard (Wayland display server)" option on the login page, let the system start its display and log out, then you can login with Xfce successfully.

Very odd but that seems to be the workaround for this upgrade.


NOTE 1: The fresh install instructions below were tested on Rocky Linux 9.3

NOTE 2: Upgrading Rocky Linux 9.2 to 9.3 in late November 2023 resulted in ImageMagick errors. Tried to remove ImageMagick*, then upgrade 9.2 to 9.3, and then reinstall ImageMagick* but the same error occurs. Fix was to disable /etc/yum.repos.d/epel-next.repo and then reinstall ImageMagick*.

NOTE 3: To migrate from Rocky Linux 8.x to 9, try these steps.

The notes below have been combined from CentOS 8 Migration Notes and CentOS 7 Migration Notes.
It is based on the Xfce Desktop Environment. MATE is available, see notes at bottom of the page.

Before Starting

Installation

Post Installation

Other Notes

MATE is now available. See MATE Documentation

Known issues