FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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).
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.