LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-25-2005, 08:27 AM   #1
michalceri
LQ Newbie
 
Registered: Aug 2005
Location: Slovakia
Distribution: Debian
Posts: 7

Rep: Reputation: 0
Question How to compile the kernel?


Hi!

Please, can anybody explain me step-by-step how to compile new kernel?

What files do I need?

How to make compilation safe and what to do if something goes
wrong and system becomes too unstable?

Which directories should I backup?

Now I'm using Debian Sarge with 2.4.27 kernel.

Thanks!
 
Old 08-25-2005, 08:31 AM   #2
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
Here is a nice HOWTO in PDF format.

http://www.kickino.org/kernel-projec...rade_howto.pdf

I'm one of the authors
 
Old 09-13-2005, 03:11 PM   #3
kickino
LQ Newbie
 
Registered: Sep 2005
Location: Nordhausen
Posts: 1

Rep: Reputation: 0
Re: How to compile the kernel?

The location of the PDF has changed and is now:
http://kickino.org/kernel-project/fi...rnel_howto.pdf

Regards,
Sebastian Wieseler

P.S.: Comments are welcome. :-)
 
Old 09-13-2005, 03:26 PM   #4
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
Debian Kernel upgrade/recompile
 
Old 09-13-2005, 05:41 PM   #5
towel401
Member
 
Registered: Apr 2005
Location: Ireland
Distribution: Mepis, mdk10
Posts: 39

Rep: Reputation: 15
.
 
Old 09-14-2005, 03:49 AM   #6
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
hello michalceri,
although i haven't read the tuts the other guys are referring to, just like to give a piece of advise that don't mess up with the original kernel files.
During the procedure......the tuts may ask you to remove some previous files or to overwrited them......etc etc.
but don't do that.....leave them intact and make your own files in some new directory ( what i used to do is make a new directory in /boot )
and in the rest of the procedure keep on specifying the path to your files.
This way if some how you make some mistake ( there are bright chances of a newbie making mistake in kernel compilation ) you will still have your original kernel to start again with.

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
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 03:37 PM
I want to compile 2.6 kernel and keep everything from 2.4 intact (dual kernel system) sina_kish Linux - Software 7 02-02-2005 10:01 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 07:02 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 04:05 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 02:40 PM


All times are GMT -5. The time now is 10:31 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