Review your favorite Linux distribution.
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 12-22-2003, 08:59 AM   #1
LQ Newbie
Registered: Sep 2003
Posts: 20

Rep: Reputation: 0
Question Kernel howto!?

I'm not so new to linux, but I haven't compiled a kernel yet!
So.. can anyone suggest me some useful documentation where i can find the right steps to follow? I'm especially interested in testing the new 2.6.0 kernel but I don't want to throw away my old kernel...
Old 12-22-2003, 09:27 AM   #2
Registered: May 2003
Location: Cyberjaya
Distribution: Slackware9.1 RH9.0 freeBSD4.7 HP-UX
Posts: 43

Rep: Reputation: 15
first go to,download the kernel you want and it is better to untar/unzip the file you downloaded in /usr/src/linux-kernel-version

then if you don't want to reconfigure the hardware,just copy /boot/config to /usr/src/linux-kernel-version/config,then type -> make oldconfig,make dep,make bzImage, make modules and make modules_install. else you may need to have deep knowledge in your hardware and type -> make menuconfig,make dep,make bzImage, make modules and make modules_install. this few steps take quite long time

After the previous steps, you can copy the usr/src/linux-kernel-version/arch/i386/boot/bzImage to the /boot folder, let say with file name vmlinuz-version and also the config and files in the /usr/src/linux-kernel-version to the /boot.

then edit /etc/lilo.conf and add following codes

root=/dev/your partition

Don't delete the entries in lilo if there's something wrong you still got backup plan just save it and type->lilo

finally, reboot your system

Last edited by roy_tan711; 12-22-2003 at 09:35 AM.
Old 12-22-2003, 09:56 AM   #3
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30

these are all the steps needed, should work for every distro


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 Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
Need HOWTO: Kernel 2.4.26 patching sbogus Linux - General 2 06-10-2004 02:56 AM
HowTo patch a kernel? busbarn Linux - General 2 03-04-2004 04:07 PM
howto install new kernel in 9.2 r2 thethinker101 Mandriva 3 12-18-2003 03:43 AM
Kernel RPM HowTo ?? BaerRS Linux - General 1 05-15-2003 11:10 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 PM.

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