LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-22-2003, 09:59 AM   #1
Schopy
LQ Newbie
 
Registered: Sep 2003
Posts: 20

Rep: Reputation: 0
Question Kernel howto!?


Hi!
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...
Thanx!!!
 
Old 12-22-2003, 10:27 AM   #2
roy_tan711
Member
 
Registered: May 2003
Location: Cyberjaya
Distribution: Slackware9.1 RH9.0 freeBSD4.7 HP-UX
Posts: 43

Rep: Reputation: 15
first go to www.kernel.org,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 System.map files in the /usr/src/linux-kernel-version to the /boot.

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

image=/boot/vmlinuz-version
root=/dev/your partition
label="linux-version"
read-only

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 10:35 AM.
 
Old 12-22-2003, 10:56 AM   #3
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
http://www.linuxquestions.org/questi...threadid=49035


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


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


All times are GMT -5. The time now is 07:13 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration