Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1101
  • Last Modified:

Downgrade CentOS from 6.8 to 6.5

I recently upgraded my CentOS 6.5 system to 6.8 CentOS.  I need to downgrade to 6.5.  I have the 6.5 kernel and initrd files in boot.  Can I just boot to this kernel or do I need to downgrade packages too?
0
Walter Mackenzie
Asked:
Walter Mackenzie
  • 3
  • 3
  • 2
  • +2
2 Solutions
 
Dr. KlahnPrincipal Software EngineerCommented:
The simplest way would be to restore the entire system drive from the last full backup before the upgrade was done.

I take it there are no full backups?
0
 
Walter MackenzieAuthor Commented:
No full backups.  The system is a test system so not critical.  I just did know if just running the older kernel was enough
0
 
arnoldCommented:
What is the cause that leads to the request?
Yes, you can change the boot to use an older kernel.
0
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
Walter MackenzieAuthor Commented:
We are building/compiling software on 6.8 and cannot run of 6.5, so we want to have build system same as "run" system.  Do I need to downgrade packages after booting older kernel?
0
 
MazdajaiCommented:
no need the downgrade the packages,  on the splash start up screen there should be a list of kernel you can choose from.
0
 
Scott SilvaNetwork AdministratorCommented:
In RedHat terms (and CentOS) minor version increases can be a mix of packages. But it is always supposed to be binary compatible... Think of it as being equivalent to the monthly updates in Windows...

At a set time period, they freeze these updates, and release a new minor version containing all these updates up to that set time...  6.5 and 6.6 are not different versions... They are just version 6 at different times in its lifecycle... Unless you are doing some very specific things in your package, it should run on any minor version of 6.

I have rarely had a package not run on every minor version of CentOS except for the rare perl upgrade  or those upgrades forced by security flaws that couldn't be backported...
0
 
Walter MackenzieAuthor Commented:
Thanks Scott, so we are compiling our software with all the updated libraries/packages (glibc,alsa-lib..etc) on the 6.8 system.  So you are saying this is OK to take this compiled software (binaries) and run on 6.5 with no issues?  That's why I was worried about "updated" packages.
0
 
arnoldCommented:
As long as you are on 6.x your compiled should work ............centos/redhat maintains version major, minor of ...
The changes are on the micro/dub micro.
0
 
Scott SilvaNetwork AdministratorCommented:
It is EXTREMELY rare that a package compiled on one minor version won't run on another minor version....  

The question is why aren't you applying patches to the older systems?

There have been many bad bugs and security issues repaired between 6.5 release and now...

Or at least applying the serious issue patches on a test system and testing first...


Running "yum-update" is all it takes to bring a system current, and is usually better than letting them run unpatched...
0
 
Scott SilvaNetwork AdministratorCommented:
Close request received via email
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 3
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now