LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-23-2004, 08:21 AM   #1
uvone
LQ Newbie
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: slackware-current
Posts: 25

Rep: Reputation: 15
kernel recompiled?? a little confused


hi,
i think i just finished recompiling my kernel according to the recompile for newbies instructions at the top of this forum. the thing is i made a mistake, instead of copying the new entry into my lilo.conf i misread the instructions and renamed the original entry.

when i rebooted it said it was loading "slack.old" when it came to loading X it failed, seems my nvidia drivers needed to be reloaded coz it works now after doing so and im online on the machine now. it seems to be working fine

my question is did i actually recompile my original kernel without backing it up and renamed it?

or possibly did it not recompile at all?

i feel like i was lucky this time that i was able to boot the machine.

let me knwo if you need more info

thanks
 
Old 06-23-2004, 08:31 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
if you were compiling the same version of the kernel, the modules may have been overwritten. it depnds on the naming scheme of the distro. look in /lib/modules, and see if there is more than one directory correcsponding to kernel names.
 
Old 06-23-2004, 08:42 AM   #3
uvone
LQ Newbie
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: slackware-current
Posts: 25

Original Poster
Rep: Reputation: 15
ok i hopped into /lib/modules and there was just one kernel dir 2.4.22

i am running slackware-current

not sure if you need any other info.
 
Old 06-23-2004, 09:44 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
if you overwrote your old modules, then the old kernel wouldn't really work right anyway. adding the newly compiled kernel to lilo with the old one is really just for safety anyway. if the new one doesn't boot, then you have the old one to boot, even if the modules are gone.
 
Old 06-23-2004, 09:58 AM   #5
uvone
LQ Newbie
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: slackware-current
Posts: 25

Original Poster
Rep: Reputation: 15
ok cool,
thanks heaps much appreciated :-)
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recompiled kernel failing thelonewolf Debian 10 08-02-2005 10:10 PM
recompiled kernel 2.6.3-13 what does this mean? rbonafied Mandriva 8 06-07-2004 12:00 PM
recompiled kernel not in use taoweijia Linux - Newbie 1 01-09-2004 08:33 AM
recompiled kernel and no vmlinuz.old or kernel module for Nvidia Bruce Hill Slackware 13 12-11-2003 01:36 AM
Recompiled 2.4.22 kernel 3MB! bulldozer Linux - Newbie 6 12-08-2003 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:50 PM.

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