Solved

Downgrade CentOS from 6.8 to 6.5

Posted on 2016-09-21
10
286 Views
Last Modified: 2016-10-10
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
Comment
Question by:Walter Mackenzie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +2
10 Comments
 
LVL 27

Expert Comment

by:Dr. Klahn
ID: 41808744
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
 

Author Comment

by:Walter Mackenzie
ID: 41808961
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
 
LVL 78

Expert Comment

by:arnold
ID: 41809115
What is the cause that leads to the request?
Yes, you can change the boot to use an older kernel.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:Walter Mackenzie
ID: 41809144
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
 
LVL 21

Expert Comment

by:Mazdajai
ID: 41809183
no need the downgrade the packages,  on the splash start up screen there should be a list of kernel you can choose from.
0
 
LVL 10

Accepted Solution

by:
Scott Silva earned 250 total points (awarded by participants)
ID: 41809206
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
 

Author Comment

by:Walter Mackenzie
ID: 41809227
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
 
LVL 78

Assisted Solution

by:arnold
arnold earned 250 total points (awarded by participants)
ID: 41809279
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
 
LVL 10

Expert Comment

by:Scott Silva
ID: 41809313
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
 
LVL 10

Expert Comment

by:Scott Silva
ID: 41836578
Close request received via email
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
android secure ftp 3 72
Run Secure WMI query from CentOS 5 141
Remove Resilio directory from Netgear ReadyNAS 212 via SSH. 2 67
Time Sync Best Practice 13 47
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question