LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-13-2009, 04:10 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
Updating Fedora from 5 to 10


Hi there --

I am planning on doing an update of one of our systems running Fedora Core 5 to the Fedora Core 10 release. I have already taken care of creating iso images of the system that are easily installable if the need arises.

Are there any gotchas that I should be aware of before proceeding?
 
Old 02-13-2009, 04:17 PM   #2
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
Just out of curiosity what are you steps to doing this upgrade?

I have successfully upgraded 50 or so servers from FC2 to CentOS 5.1(and 5.2) and can point you to some steps that *may* be of help. I have not tried upgrading from FC2 to FC10 so not sure if there would be any differences.
 
Old 02-13-2009, 04:23 PM   #3
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Original Poster
Rep: Reputation: 39
Hi there --

Thanks for your reply. The steps that I had in mind were the following:

1. Create the bootable iso images of the system in its current state. The
application in question is mondorescue.

2. Verify a full image backup of the system is successful.

3. Insert the FC10 LiveCD, and reboot the system. The server in question
sports a CD as opposed to a DVD drive, hence the need to go with the
LiveCD medium.

4. Click on the Install Fedora Core 10 icon that is on the Desktop.

5. When prompted by the installation program, select the Upgrade option.

6. Once the installation is complete, run the Up2Date utility to have all
outstanding patches installed on the system.

7. Reboot the system once more to verify it works.

What do you think?
 
Old 02-13-2009, 04:30 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Be aware that starting with F7 ALL drives are of the sdX type (pata and sata). The use of hdX has been dropped. This can cause some real issues when stuff starts looking for hdX. I suspect that when RHEL/Centos 6 comes out it will follow the same route(RHEL/Centos5 was based on FC6 which preceded this change).

Also be aware the Up2Date is no longer used, yum has replaced it(in Fedora and RHEL/Centos).
 
Old 02-13-2009, 04:35 PM   #5
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
That sounds about right, I've never done it with a CD, only DVD. I did it by booting up with the DVD in the drive and typed :linux upgrade: then followed the prompts. Of course if you have to do this a few times you can setup a PXE server and do your upgrade over the network. The only thing I had to change was the /etc/redhat-release file from its current line to:

CentOS release 5 (Final)


You may not have to do that. But just in case you do. Check out a current FC10 box and see what the contents of /etc/redhat-release is and before you upgrade change the /etc/redhat-release on your FC5 box to whats on the FC10. Again, you may not need to do this.


Im actually upgrading a server from FC2 to CentOS 5.2 as Im typing this!


One other thing I have to do on my upgrades, again not sure if you'll need to do this but incase you see this error:

kernel panic, selinux is in enforcing mode, you need to do this:

When the boot menu comes up, edit the kernel line and at the end put this:
selinux=0

then boot up, once you boot you'll need to go into grub.conf and add that same line to the same kernel line. I use grub, if you use lilo you'll have to make the same changes although I'm not as familiar with lilo so not sure exactly what you would need to do.

Last edited by ncsuapex; 02-13-2009 at 04:38 PM. Reason: selinux
 
Old 02-13-2009, 06:07 PM   #6
servat78
Member
 
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
You can also upgrading with yum. You need to install the fedora-release packages for the next Fedora version and then run 'yum upgrade'. You might need to adjust repo locations for the older releases, and some Fedora versions introduce new concepts that might need a bit of tweaking, but all-in-all it works. For proper upgrading you have upgrade each version one by one, until Fedora 10.

When going directly from FC5 to FC10 rather make a full backup before starting anything.

Debian

Last edited by servat78; 02-19-2009 at 11:26 AM.
 
Old 02-13-2009, 08:02 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
also i don't expect a " upgrade "from 5 to 10 to work .It might ,maybe but don't count on it .
i would do a 100% fresh install.
 
  


Reply



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
Updating Fedora clpl1980 Fedora 1 03-27-2007 03:09 PM
Updating Fedora 6 packages installs second version of Fedora. cricballa Linux - Distributions 1 01-14-2007 09:05 PM
Updating Fedora Trainlogan Linux - Software 1 09-27-2005 03:11 AM
Updating Fedora Trainlogan Linux - Software 2 09-19-2005 09:24 PM
updating fedora _RA_ Fedora 6 05-11-2004 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration