Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to recompile Kernl v. 2.4.20-13.8! There's always a problem with it though (It never boots). So could someone please give me A SHORT briefing of how to recompile the kernel from scratch, and how to obtain good settings for my computer, yet reseting the current ones that I have saved? DONT TELL ME TO SEARCH FOR A TUTORIAL ON THE NET! Thank you!
RH8.0 --> Yeah i know..but that's not the problem. I want a smaller sized kernel with certain tweaks and settings that I need. Besides, a smaller sized kernel would run a lil faster and speed is everything when you have a 500 Mhz system with only 192mb of ram!
Have you been to www.kernel.org or www.tldp.org? The first has kernels, the second has how-tos. Word of caution - the RH kernel is an RH tweaked version, adding a custom kernel may cause things to stop working.
Originally posted by VIP3R RH8.0 --> Yeah i know..but that's not the problem. I want a smaller sized kernel with certain tweaks and settings that I need. Besides, a smaller sized kernel would run a lil faster and speed is everything when you have a 500 Mhz system with only 192mb of ram!
LOL ACTUALLY!!! i'm a celeron :P! BEAT THAT MR. KOOL CPU HAVING MAN! I have less L2 Cache memory! LOL It's sad when you brag about how bad your cpu is!
First download the kernel that you want. Unpack it to /usr/src, then:
cd /usr/src/<directory of your new kernel>
make menuconfig or make xconfig
make dept
make clean
make bzImage
make modules
make modules_install
Then copy /boot/vmlinuz to vmlinuz.old
Then copy /usr/src/<directory of your new kernel>/arch/i386/boot/bzImage to /boot /vmlinuz
Then copy /usr/src/<directory of your new kernel>/arch/i386/boot/bzImage to /boot /System.map to /boot/System.map
Edit your /etc/lilo.conf or /boot/grub/grub.conf to add a configuration line for your new kernel.
If using lilo run /sbin/lilo
You should be done then.
Is this what you wanted?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.