| Fedora This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-03-2004, 08:26 PM
|
#1
|
|
Member
Registered: Jul 2004
Location: Christchurch, New Zealand
Distribution: FC2, Debian 'Sarge'
Posts: 64
Rep:
|
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
|
|
|
|
12-04-2004, 12:29 AM
|
#2
|
|
Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
|
12-04-2004, 12:59 AM
|
#3
|
|
Member
Registered: Jul 2004
Location: Christchurch, New Zealand
Distribution: FC2, Debian 'Sarge'
Posts: 64
Original Poster
Rep:
|
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
|
|
|
|
12-04-2004, 01:12 AM
|
#4
|
|
Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:34 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|