LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 11-03-2005, 02:35 PM   #1
t2dreamer
Member
 
Registered: May 2005
Distribution: fc3/RHE/SUSE9.3
Posts: 57

Rep: Reputation: 15
Migrate from RHEL 3 to centos


I use RHEL 3, but don't want to pay for services I am not using anymore. I want to get away from RH but without doing a full re-install. Can I change to Centos 3 or 4 without too much problems? How do I go about that? I have seen migration schemes for other distro's to Centos but not the most obvious, namely the RH -> Centos, which I want to do.

Thanks for any pointers.
 
Old 11-03-2005, 06:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
this is *exactly* what i did with a test machine last week... and yes, it was very easy. I bounced via centos 3 to centos 4. what i did have to do was force a database only uninstall of the 2.4 kernel or udev wouldn;t install, that was it though....

here's the thread i used actually - http://www.centos.org/modules/newbb/...d=654&forum=27

and looking at that, when i did go from centos 3 to 4, the new version of yum screwed up my pythonlocations until i was done, so the PYTHON_PATH fix in that thread was also useful for me.

note that as centos 3 is virtually rhel 3 anyway, you should have NO issues whatsoever on that part.
 
Old 11-04-2005, 02:27 AM   #3
t2dreamer
Member
 
Registered: May 2005
Distribution: fc3/RHE/SUSE9.3
Posts: 57

Original Poster
Rep: Reputation: 15
Hi Chris,

Thanks for the pointers! Sorry to ask for more. I don't have a test machine and I need to be sure what I am doing. I have been using linux for a while now but am not very comfortable (yet) when it comes to migrating kernels and distro's. The thread you indicated shows how to upgrade from Centos 3 to 4 and that is pretty self-containing. However you indicated that you needed to 'database-only uninstall of the kernel or udev wouldn't install'. What does this mean, and how do I do it? Then after doing that, how do I actually migrate to Centos, do I follow the pointers at http://www.centos.org/modules/newbb...54&forum=27 ? But that is for going from Centos 3 to 4, right?

Sorry for my confusion. Would really appreciate if you could help me out some more. Thanks!
 
Old 11-04-2005, 04:38 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
as i said, rhel3 IS centos3. if you install the centos version of yum and run "yum update" then there will be not much going on. you'll lose the nice redhat images, and get Centos crude attempts instead. you'll go up to centos 3.6, so it depends totally on what updates you've already applied to rhel as to how much is done. IF you have update 6 already, then the change from rhel3 to centos3 will be literally 2 to 3 minutes...

as for the kernel change to centos 4... what i did really is in that thread, post #14 details the steps to trick the system into installing the new kernel.
 
Old 11-04-2005, 11:42 AM   #5
t2dreamer
Member
 
Registered: May 2005
Distribution: fc3/RHE/SUSE9.3
Posts: 57

Original Poster
Rep: Reputation: 15
Hi Chris,

I've installed yum from centos. Then when I run 'yum update' it gives

Gathering header information file(s) from server(s)
Server: CentOS-3 - Addons
Server: CentOS-3 - Base
Server: CentOS-3 - Extras
Server: CentOS-3 - Updates
Error - /var/cache/yum/update/header.info cannot be found
Please ask your sysadmin to update the headers on this system.

How do I update the headers. I've never used yum before (only up2date) so I suppose there are no headers yet. How do I by-pass this?

Thanks again!
 
Old 11-04-2005, 12:05 PM   #6
t2dreamer
Member
 
Registered: May 2005
Distribution: fc3/RHE/SUSE9.3
Posts: 57

Original Poster
Rep: Reputation: 15
Chris, please ignore my last question. For reasons completely unknown to me the 'yum update' command now works after I replaced

http://mirror.centos.org/centos/3/os...s.7.noarch.rpm

with

http://mirror.centos.org/centos/3.4/...s.7.noarch.rpm

This was suggested (although it doesn't say why) in the comments on the thread in

http://www.centos.org/modules/smartfaq/faq.php?faqid=19

Just tried it and it worked. My computer is now updating to Centos. Great thanks! Btw, I gather I shouldn't use up2date anymore right? Should I simply uninstall it (just to make sure I am not touching it anymore)? Or can they (yum and up2date) work together without much problem?

Tim
 
Old 11-04-2005, 02:15 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
no no, centos has changed up2date to suit their repo's too. up2date is nothing clever really, uses the same servers as aspt-get or yum, just has a different take in terms of how it should be used
 
Old 11-05-2005, 03:25 AM   #8
t2dreamer
Member
 
Registered: May 2005
Distribution: fc3/RHE/SUSE9.3
Posts: 57

Original Poster
Rep: Reputation: 15
So is there any preference? I see little use in using the two of them, so which is better? I mean, these programs are not complementary are they?
 
Old 11-05-2005, 04:21 AM   #9
t2dreamer
Member
 
Registered: May 2005
Distribution: fc3/RHE/SUSE9.3
Posts: 57

Original Poster
Rep: Reputation: 15
Chris, btw forgot to mention, the update was successful and I am running Centos now! Beautiful! Thanks for all your help, I am really happy with this, especially since there was no need to fully re-install the computer just to get away from RHEL!
 
Old 11-05-2005, 08:27 AM   #10
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally posted by t2dreamer
So is there any preference? I see little use in using the two of them, so which is better? I mean, these programs are not complementary are they?
I use up2date so that I can be notified when there are updates, but prefer updating using yum.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS (RHEL) vs. Fedora dangerousdave Linux - Newbie 4 12-04-2009 08:40 PM
Where do I get the xorg packages for RHEL/CentOS? abefroman Red Hat 6 05-09-2005 06:57 AM
Can't Sync Palm in CentOS/RHEL 4.0 applewax Linux - Hardware 0 05-04-2005 03:21 PM
CentOS 3.4 [ RHEL 3 ] Wont let go the memory maxboost Linux - Software 0 02-20-2005 10:36 AM
CentOS as a Replacement for RHEL drbill Linux - Enterprise 2 01-02-2005 09:41 PM


All times are GMT -5. The time now is 12:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration