LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 10-11-2004, 07:28 PM   #1
darksmiley
Member
 
Registered: Jan 2004
Location: London, England
Distribution: Usually Linux Mint, Debian, Ubuntu or CentOS
Posts: 234

Rep: Reputation: 30
FINALLY compiled a working kernel!


i would just like to remark on how great it is compiling your own optimized linux kernel! i have just done mine and it does everything my old generic Slackware 2.4.26 couldn't do!

after months of failed kernels i spent ages going through xconfig and optimizing it, followed by make; make modules_install and copying the bzImage and System.map to /boot, and updating lilo. it works perfectly and i couldnt be happier. a few words of advice to anyone compiling a kernel -

1. dont be put off by errors in kernel boots such as it being unable to find 'root', just save your .config and back it up and keep tweaking and compiling with the latest gcc compilers and xconfig until it works.

2. compile sound as a MODULE if possible.

3. have a good look through the network settings as lots of options that aren't ticked are relatively mandatory.

4. DONT use a high res prompt straigh away as if you havent installed them yet for your card and you arent using generic ones you wont have any screen output to work with! low res normal prompts are better.

5. keep kernel size under 25meg.

6. dont be afraid to compile things as modules.

thanks for all the help linuxquestions gave me - ill be back next time i screw something up!! lol
 
Old 10-11-2004, 07:33 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Re: FINALLY compiled a working kernel!

Quote:
Originally posted by darksmiley


5. keep kernel size under 25meg.

LOL..........mine is 749 kb..................
no kernel should ever be 25 meg.........
compile everything you can as modules...........
and the rest into the kernel...........
 
Old 10-12-2004, 04:20 PM   #3
darksmiley
Member
 
Registered: Jan 2004
Location: London, England
Distribution: Usually Linux Mint, Debian, Ubuntu or CentOS
Posts: 234

Original Poster
Rep: Reputation: 30
lol my bad! i just realised it should be 2.5 not 25! hehe

mine is 1.8 meg

Last edited by darksmiley; 10-12-2004 at 04:24 PM.
 
Old 10-12-2004, 06:16 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 76
I remember the first time fondly. I have been using Linux for just over 5 years and I compiled my first kernel this year coz I thought it was something scary and for gurus only. However once you've done it it seems like it's not really difficult.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
2.6.12 kernel compiled and working... finally! CPUFreak91 Linux - General 2 08-10-2005 09:42 PM
working out what stuff has been compiled into kernel TreeHugger Linux - Software 1 11-24-2004 07:54 AM
just compiled kernel 2.6.7 finally however... tjb Linux - Software 1 08-15-2004 08:33 AM
compiled kernel, but not working perfectly... sirpelidor Linux - Newbie 4 01-21-2004 03:57 PM
Uhuu... finally got my 1st Kernel working but fbarre Linux - Newbie 2 08-28-2003 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

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