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 10-09-2003, 02:06 AM   #1
mudelf
Member
 
Registered: Sep 2003
Distribution: RedHat 8
Posts: 59

Rep: Reputation: 15
Angry More Kernel Rebuild Trouble --- insanity looms.


Can anyone tell me why when compiling the Kernel the instructions never say to enter the 'make install' command which seems the only way to ensure that the module-info files are moved into the boot sector properly.

Is it just an odd configuration in my machine (RH8 on a Laptop) or has everyone forgotton this seemingly important line ... ?

This has to be my 8th attempt at rebuilding the 2.4.22 kernel and it NEVER works and I am going mad.

The Module-info never seems to update and I do not know why. When trying to boot the new Kernel I always a Kernel Panic no init found error and despite removing the initrd line from grub.conf the problems persist.

Can anyone advise me what I could be doing wrong. I used the same config from a pristine disc instal just to Learn about kernel recompiling so I know the config is correct.

Am getting somewhat tired of RedHat --- its always got endless ... 'complications ... ' or once again is it just my Vaio. I know Laptops are less stable but my Desktop seems the same and that was built by a company who manufacture PCs FOR Linux.

Would anyone rate Debian or BSD instead for a beginner with lots of experience and lots of bad luck in this game?
 
Old 10-09-2003, 05:56 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I do it along the following lines:

make clean
make xconfig
make bzImage
make modules
make modules_install
make install

The make clean is important to make sure things from past compilation attempts don't screw up your new attempt. Also, after the make install, take a long look at grub.conf or lilo.conf (whichever you're using) to make sure all the entries are ok.
 
  


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
how to rebuild kernel bhanu12 Linux - Newbie 2 10-26-2005 04:42 PM
How do you rebuild a kernel? Thaidog Linux - General 4 07-26-2005 12:15 PM
Help (!?) with rebuild kernel 2.4.26 WoofDeF Debian 1 06-22-2005 09:11 AM
Rebuild kernel And then !!! left-hand Linux - Software 4 02-06-2004 09:59 AM
kernel compile insanity... xdrainox Slackware 5 09-30-2003 06:02 PM

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

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