LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-24-2004, 09:47 PM   #1
jackstoage
Member
 
Registered: Sep 2003
Posts: 79

Rep: Reputation: 15
upgrading a linux distro


First time to upgrade. I am using redhat 9 and need to upgrade to a newer kernel than rh9's latest to use sata hd just purchased.

If I upgrade to fedora core 2 do I lose all the applications I installed in rh9 i.e. xine kino lve? If so what's the difference between an upgrade and a new install?

I don't want to upgrade the kernel only as I have read nightmare stories, and if I go to the trouble I might as well get the whole enchilada.

Jack
 
Old 05-24-2004, 09:49 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Mmm kernel upgrade is easy: download-install-run lilo.
Kernel compile is a bit more complicated , but as long you have a brain, you can make it.
 
Old 05-25-2004, 10:16 AM   #3
jackstoage
Member
 
Registered: Sep 2003
Posts: 79

Original Poster
Rep: Reputation: 15
but, say I download and install a 2.6 kernel and install, what about backward compatibility with all rh9 and my apps. After all rh9 wasn't really designed for 2.6 kernel or is that a valid thing to say?

thanks for the response

jack
 
Old 05-25-2004, 09:42 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Correct me if I'm mistaken, but, when you install an rpm (newer version of one already installed), don't you get a parallel installation (unless you use rpm -U or rpm -F).

If so, installation of the newer kernel shouldn't affect the currently installed kernel. However, the kernel doesn't work without the modules. So, is /lib/modules included in the kernel rpm, or is /lib/modules in a seperate rpm.

If so, you'd have to also install the modules rpm.

Then there's the bit about copying bzImage and a few others files from the kernel directory to /boot, without overwriting the files of the same name being used by the current kernel. You'd need two vmlinuz files, perhaps two initrd's, two SystemMap's, etc. Files would have to be renamed to distinguish one from the other, and the bootloader conf file edited accordingly.

The final step would be to edit grub.conf?, lilo.conf, or /boot/grub/menu.lst?, or whatever RH uses to present a bootloader menu. Add a new entry for the new kernel.
 
Old 05-26-2004, 12:14 PM   #5
jackstoage
Member
 
Registered: Sep 2003
Posts: 79

Original Poster
Rep: Reputation: 15
sounds a little more complicated than point and shoot as linux.tar.gs suggested (2 up). Actually I did find a step-by-step at http://kerneltrap.org/node/view/3106. I also found it duplicated in this forum. A lot of steps but not too frightening.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which distro is a Gnu/Linux distro masand Linux - General 24 09-14-2005 05:26 PM
upgrade kernel without upgrading RH distro? kz26 Red Hat 3 08-10-2005 06:38 AM
Best rpm based distro for installing/upgrading software easily? RoaCh Of DisCor Linux - Software 16 01-16-2005 12:53 PM
Upgrading to a different Distro..possible? salscozzari Linux - Newbie 1 10-15-2003 08:29 AM
upgrading linux v_ajmera Linux - Distributions 1 09-16-2002 06:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:36 AM.

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