LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-26-2005, 09:55 AM   #1
HINNA
LQ Newbie
 
Registered: Dec 2005
Location: pakistan
Posts: 3

Rep: Reputation: 0
small kernel


I am new to this kernel customization

How should i go about to build a smallest kernel which will work only for my PC

any suggestion for bulding a linux kernel in easy way
 
Old 12-26-2005, 10:06 AM   #2
int0x80
Member
 
Registered: Sep 2002
Posts: 310

Rep: Reputation: Disabled
As far as hardware is concerned, you only need to compile code for the hardware that you have. You can use the command dmesg to get a fairly thorough enumeration of your hardware. Another utility that I use is the command lspci which comes in the pciutils package.

Don't get discouraged. Rolling your own kernel takes some time to learn. Keep working at it, and pop back on with more specific questions when you encounter stumbling blocks.

PS: I'm not so sure this thread belongs in the Linux - Security forum. Moderators may want to consider moving this.
 
Old 12-26-2005, 11:09 AM   #3
alaskazimm
Member
 
Registered: Mar 2004
Location: Watching it snow in bush Alaska
Distribution: *ubuntu, Smoothwall, WinXP Pro
Posts: 126

Rep: Reputation: 15
A smaller kernel is less of a security risk - less services, less poetential holes. GNUbie is exactly right, just turn off the hardware that you don't need. I run Gentoo and it took me about 5 - 7 tries before I got it right. Now it is almost second nature and takes me 20 min to setup and compile my kernels. Hang in there, it's worth it.
 
Old 12-26-2005, 09:03 PM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Moved: Not really a Linux Security question. This thread is more suitable in the Linux - General forum and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 12-26-2005, 09:25 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by HINNA
I am new to this kernel customization

How should i go about to build a smallest kernel which will work only for my PC

any suggestion for bulding a linux kernel in easy way
check this out: http://www.digitalhermit.com/linux/K...ild-HOWTO.html

Last edited by win32sux; 12-26-2005 at 10:08 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
small help for kernel 2.6.7 salahuddin_66 Slackware 7 09-23-2004 01:25 AM
A small kernel error synapse Slackware 4 05-27-2004 03:10 PM
old pc, new kernel; small problem b0uncer Linux - General 3 04-24-2004 12:19 PM
small problems with kernel wlfdgcrkz Linux - Software 4 06-06-2003 02:39 PM
can't get a small kernel muyo76 Linux - General 21 03-14-2003 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:52 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
Open Source Consulting | Domain Registration