LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-28-2010, 06:55 AM   #1
kkpal
Member
 
Registered: Oct 2007
Posts: 101

Rep: Reputation: 15
Question Kernel update


Hi all,

I download kernel-2.6.26 and recompile on my one linux machine... everything works fine but I want to install that kernel (modified kernel) on my other linux system (both machine having the same meego distribution). How can I do this (without recompiling from source)?

Thanks & Regards
Komal K Pal
 
Old 10-28-2010, 07:25 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Which Linux Distribution you are using?

If using Red-hat based then you can download the rpm of the required and install it using:

Code:
 rpm -ivh kernel-xxx
 
Old 10-28-2010, 07:48 AM   #3
kkpal
Member
 
Registered: Oct 2007
Posts: 101

Original Poster
Rep: Reputation: 15
I am using meego distribution. I have downloaded kernel source from kernel.org and did some modification and recompile the kernel now I want to install that modified kernel(2.6.36) on my other system(kernel-2.6.33).
 
Old 10-28-2010, 08:00 AM   #4
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
If you wish to upgrade to a newer kernel, you can patch your current kernel instead of downloading an entire new kernel. By patching your existing kernel, you retain your settings from previous kernel compilations. Patching the kernel is a good choice if you wish to upgrade from your current patch level to the next consecutive patch level. For example, patching kernel 2.2.5 to 2.2.6 involves applying one patch. However, if you wish to upgrade the 2.2.5 kernel to 2.2.14, then a patch for each patch level must be applied sequentially. In this case, it may be better to download the entire 2.2.14 kernel. Also, you may not have installed the kernel source code when installing Linux. If this is the case, it will probably be easier to download an entire new kernel. Go to the Finding and Installing Kernel Source Code guide to find out how.

http://www.linuxheadquarters.com/how...lsources.shtml
 
Old 10-28-2010, 08:09 AM   #5
kkpal
Member
 
Registered: Oct 2007
Posts: 101

Original Poster
Rep: Reputation: 15
Question

I followed the link "http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html"
for kernel compilation. And Its worked perfectly. But I want to install that modified kernel on my other system...how can I do this?
Or how can I create rpm installation file of my modified kernel?
 
Old 10-28-2010, 08:13 AM   #6
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Thumbs up

Quote:
Originally Posted by kkpal View Post
how can I create rpm installation file of my modified kernel?
http://www.rocksclusters.org/rocks-d...on-kernel.html
 
Old 10-28-2010, 09:57 AM   #7
kkpal
Member
 
Registered: Oct 2007
Posts: 101

Original Poster
Rep: Reputation: 15
I had follow the link "http://www.rocksclusters.org/rocks-documentation/3.2.0/customization-kernel.html". But it giving me error while I run "make rpm"
ends with
rpm --target i386 -ta ../kernel-2.6.36netbook.tar.gz
--target: unknown option
make[1]: *** [rpm] Error 1
make: ***[rpm] Error 2

Last edited by kkpal; 10-28-2010 at 11:14 PM.
 
Old 10-29-2010, 08:41 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
What I would do is copy the compiled source directory to the new system and run the install commands.

Last edited by H_TeXMeX_H; 10-29-2010 at 08:42 AM.
 
Old 11-01-2010, 04:28 AM   #9
kkpal
Member
 
Registered: Oct 2007
Posts: 101

Original Poster
Rep: Reputation: 15
Actually rpmdevtools package was missing...after installing rpmdevtools rpm package was created.
When I install this rpm on my other system its created vmlinux-2.6.36-netbook.bz2, vmlinuz-2.6.36-netbook, System.map-2.6.36-netbook and config-2.6.26-netbook in boot directory but extlinux does not changed.
I manually edit the extlinux.conf file but system unable to boot with 2.6.36 kernel.

Last edited by kkpal; 11-01-2010 at 07:45 AM.
 
  


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
Yum update stopped responding during kernel update install, now server load is high pulsorock Linux - Kernel 1 12-31-2008 01:55 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
YaST Online Update(YOU) Kernel Update? batorma Linux - Newbie 9 10-30-2005 03:17 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
KDE update and RH 9.0 Kernel update massacre Linux - Newbie 1 02-02-2004 06:13 PM

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

All times are GMT -5. The time now is 01:58 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