LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-03-2004, 08:26 PM   #1
kola
Member
 
Registered: Jul 2004
Location: Christchurch, New Zealand
Distribution: FC2, Debian 'Sarge'
Posts: 64

Rep: Reputation: 15
smaller compiled kernel, will it copy?


Well, i just recompiled a 2.6.9-1 kernel om my quest for a leaner/quicker FC2. Stripped out all the sound/usb/scsi stuff and after bootup 'top' now shows 23Mb of mem being used, as opposed to the 53Mb from the stock release. Nifty! File size is down a little also. Still have some stuff in there i can remove also, but its things im not sure about yet.

Anyway, is it possible to backup this kernel image, (or compile one on another machine) and then copy it to the machine i want to use it on? I dont think i want all the gtk2, ncurses, xorg, qt stuff that im forced to install to compile a kernel.

How would i sort the modules out, if i copied the kernel over?

cheers..

lee
 
Old 12-04-2004, 12:29 AM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

when u comile a new kernel u copy the files(the kernel image, the initrd image and systen .map in ther .boot directory)if u copy that with a different name then u can make an entry for that in the grub.conf
and use differnt kernel during bootup and this wayu can choose any kernel dooring bootup

regards
 
Old 12-04-2004, 12:59 AM   #3
kola
Member
 
Registered: Jul 2004
Location: Christchurch, New Zealand
Distribution: FC2, Debian 'Sarge'
Posts: 64

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by masand
hi there

when u comile a new kernel u copy the files(the kernel image, the initrd image and systen .map in ther .boot directory)if u copy that with a different name then u can make an entry for that in the grub.conf
and use differnt kernel during bootup and this wayu can choose any kernel dooring bootup

regards
Yeah ive got that bit sorted ok, the kernel boots fine. But can i copy this new kernel to another system and run it ok? would i just copy those files and the relevant /lib/modules directory to the other system? or does it need to be reconfigured for each machine.

The point is that i want a trimmed down kernel for my server, but i dont want all the needed compiling libraries on it (GTK, ncurses, xorg) etc.

lee
 
Old 12-04-2004, 01:12 AM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there
the rpm packages u get are precompiled only

u can make rpm of thse kernel and use the whenever u want
i too have tried copying the files and they went fimr for me

u can also try for the same

regards
 
  


Reply


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
kernel compilation-From where it should be started for already compiled kernel b0nd Linux - Newbie 11 08-17-2005 01:08 PM
new kernel compiled successfully, but the kernel-source package is the same old? luqman Red Hat 2 03-03-2005 08:41 AM
How to transfer the compiled kernel to old kernel server ?? td0l2 Linux - Newbie 2 07-21-2004 01:22 AM
2.6.0-test9 kernel is 4mb, need to make smaller icyfire Linux - General 7 11-30-2003 03:14 PM
kernel panic on reboot of newly compiled kernel lyceum Linux - Newbie 4 09-09-2003 09:40 AM


All times are GMT -5. The time now is 07:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration