Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


rocky_linux_9_migration_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rocky_linux_9_migration_notes [2025/06/10 10:02] juckinsrocky_linux_9_migration_notes [2025/06/25 18:54] (current) juckins
Line 1: Line 1:
 ==== Rocky Linux 9 Migration Notes ==== ==== Rocky Linux 9 Migration Notes ====
  
-__2024-11-21__+__2025-06-25__
  
-Upgrade to Rocky Linux 9.6:+Upgrade to Rocky Linux 9.6 initially failed on test VM with package errors.
  
-  Trying this on a test VM:+  Trying these steps on a test VM:
  
   dnf remove vlc totem gstreamer1-plugins-bad-free gstreamer1-plugins-ugly-free   dnf remove vlc totem gstreamer1-plugins-bad-free gstreamer1-plugins-ugly-free
Line 13: Line 13:
 Then reinstall VBox Guest Additions. 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)+Got message ''/var/log/vboxadd-setup.log to find out what went wrong'' (Building the modules for [current] kernel failed).
  
-Rebooted.+Rebooted and then tried installing kernel-debug-devel but same problem.
  
-Need kernel-debug-devel?+Upgraded host computer's VirtualBox to version 7.1-7.1.10 (was running 7.1.4)
  
-Probably need to upgrade VirtualBox to version 7.1-7.1.10 (currently running 7.1.4)+Now can upgrade from 9.5 to 9.6 on VirtualBox VMs but Xfce logs in for second, a black screens appears, and then the sytem logs out.   
 + 
 +<color #ed1c24>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".</color> 
 + 
 +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 [[https://www.google.com/search?q=VirtualBox+can%27t+operate+in+VMX+root+mode.+Please+disable+the+KVM+kernel+extension%2C+recompile+your+kernel+and+reboot+(VERR_VMX_IN_VMX_ROOT_MODE).&oq=VirtualBox+can%27t+operate+in+VMX+root+mode.+Please+disable+the+KVM+kernel+extension%2C+recompile+your+kernel+and+reboot+(VERR_VMX_IN_VMX_ROOT_MODE).&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRiPAjIHCAIQIRiPAtIBCTYzNTVqMGoxNagCCLACAfEFCfv4GIhBFt3xBQn7-BiIQRbd&sourceid=chrome&ie=UTF-8|Google Search]], the temporary fix was to do the following: 
 + 
 +  # lsmod | grep kvm 
 +   
 +Verified the following output: 
 + 
 +  kvm_intel             446464 
 +  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__ __2024-11-25__
rocky_linux_9_migration_notes.1749564160.txt.gz · Last modified: by juckins