Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-17-2008, 03:20 PM   #1
LQ Newbie
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Smile how to replace an existing kernel image with new one

i am using fedora9 which has kernel 2.6.25 version.I had compiled a new kernel 2.6.26.I want to replace an existing kernel image in an installed linux
machine with this kernel...

Last edited by manik123mit; 09-18-2008 at 10:43 AM.
Old 09-17-2008, 03:39 PM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Originally Posted by manik123mit View Post
Now i have both versions running.
I don't think you meant that---you can't have 2 kernels running at the same time.

Originally Posted by manik123mit View Post
please let me know this very soon...
This is a volunteer site---some here do not respond well to "customers" being in a hurry......

Look at the GRUB configuration file (typically /boot/grub/menu.lst, but sometimes .../grub.conf) This tells you the name of the kernel file that will be used. I typically always alias the file to a generic "vmlinuz". I never change the config file, only the alias (link).

Depending on the kernel, you may also need to build a new initrd file.
Old 09-17-2008, 05:07 PM   #3
Registered: Jul 2003
Location: England
Distribution: Debian Jessie, FreeBSD 10.1 anything *nix to get my fix
Posts: 329

Rep: Reputation: Disabled
only one kernel can be running at one time. you can remove the kernel reference from your boot loader. eg if using grub edit the menu.lst file deleting the entry you dont want.

if you did a make install - you dont have anything really ro worry about other than the old kernel image - which you can easily delete by hand.


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
wget configuration + don't want to replace existing file folder megerdin Linux - Newbie 2 06-03-2008 08:16 AM
How to make a bootable ISO from an existing Linux image sawtode Linux - Newbie 3 05-13-2008 10:46 AM
difference netween linux-image and kernel image? mariogarcia Linux - Software 2 06-19-2006 09:01 AM
HowDo I replace my existing kernel with a precompiled distro kernel ? gmartin Slackware 1 01-06-2004 10:46 PM
how to replace cursor image in XFree86 m_yates Linux - Software 10 11-10-2003 03:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:31 AM.

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