LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-08-2003, 11:11 AM   #1
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Rep: Reputation: 30
it is save to recompile


i have recompiled kernel-2.4.22 and it has run with no error and fine now.
this compilation is my 1st sucessful compilation and it dont really set the devices that very much coz i just coppied the default config-2.4.20-8 from /boot and load it into make xconfig.
since this compilation make a /lib/modules/2.4.22 and i know that it is modules that can be loaded by kernel-2.4.22.
now i would like to compile another one that would have all those devices that i want so can i boot my new kernel that is kernel-2.4.22 and recompile kernel-2.4.22 from the source.
will this time when i make modules_install will destroy my current loaded kernel modules folder? or i can just renamed /lib/modules/2.4.22 to somethieng like 2.4.22BK and the recompile under the same version of kernel and make modules_install?

what is the safest way to recompile the same version of kernel?
 
Old 10-08-2003, 11:23 AM   #2
ceedeedoos
Member
 
Registered: Aug 2003
Location: Antwerp, Belgium
Distribution: Slackware 10.0, Mandrake 10.1
Posts: 174

Rep: Reputation: 36
I give them separate petnames
third line in the Makefile in the directory where you untarred the source ... just add a suffix

this way you're also 100% sure it's your new kernel you're running when you do uname -r

Last edited by ceedeedoos; 10-08-2003 at 11:26 AM.
 
  


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
recompile 2.4 in 9.2 alaios SUSE / openSUSE 4 02-10-2005 04:51 AM
Do you need to recompile? whishkah Slackware 1 08-13-2004 03:10 AM
instead of recompile machiner Linux - Newbie 1 07-22-2004 10:55 AM
Can't recompile...Please help!!!!! Viking Linux - General 7 04-08-2004 10:33 PM
how recompile Santas Linux - Software 2 09-08-2003 04:30 PM

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

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