LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-10-2003, 04:00 PM   #1
dwyatte
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
trashed my system, please help me find out why or how to fix it


So, I posted a little while ago about depmod not working...I got anxious, and thought I would see if recompiling my kernel would help. I've always been looking for an excuse to recompile my kernel, since I've never done it, so now must've been the right time. I followed the example that was listed in forum. I looked through the menuconfig and disabled a couple of things that I thought I didn't need. I left mostly all modules as modules. However, I encountered an error upon doing make modules_install. It said something about pcmcia cards and depmod, so I figured "hey I don't have anything that uses pcmcia cards" and I commented it out in the makefile. After that, make modules_install worked fine. So I rebooted and tried the new kernel...nothing happened. lilo said "loading vmlinuz......" or whatever it says and then my screen blanked and nothing appeared...I waited and waited, and still nothing. I had saved my old kernel, so I tried to load that one next. It loaded, but none of the modules would load at boot time. I think this has something to do with me doing make modules_install. Upon booting, the kernel complained about the modules not existing and insmod would failed. I checked the path to the modules and they existed. I could load them myself, but I dont remember every single module that needed to be loaded so it was kinda useless....so anyway, that's the state that I'm at. No GIANT loss really, actually probably more of a learn from my mistakes type thing. So if anyone has any input on why it happened or if I could fix it, it would be greatly appreciated.

Thanks
 
Old 10-10-2003, 05:24 PM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
ok, i'm not sure if u deleted your old modules for the old kernel, check to make sure they are there

as for fixing your system, boot up the slack second cd and go into live mode and see if u can use one of the premade kernels using something like

boot=/dev/hda# bare.i noinitrd ro

and see if the system will boot
then try to repair by copying that kernel into /boot and try to boot that
 
Old 10-10-2003, 07:32 PM   #3
dwyatte
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
all of my modules are still present and in the same locations, still insmod fails to load any of them on bootup...I used to have a problem with hotplug where it said that they didn't get loaded but they got loaded anyway...so maybe i'll try messing with hotplug. I tried taking the bare.i kernel from my slack cd, but no avail. insmod still fails.
 
Old 10-10-2003, 09:53 PM   #4
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
well, i don't know if i can go further, the only thing that i could think of checking is to make sure that your lilo.conf file is correct in all its parameters and then check the /etc/rc.d directory and check the scripts to make sure those are alright

worst comes worst, boot slackware second cd and go into its true live mode and mount your slack partition, backup data, and then the million dolar word: reinstall

if u can't get slackware's original live cd to boot, try the custom slack live cd at www.slackware-live.org or get knoppix (both are purely live cd-distros)

*edit: was just reading another post and it seems that making a new kernel will overwrite your old modules, so that could also be a problem

Last edited by TheOneAndOnlySM; 10-10-2003 at 09:57 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql down...can't find a fix after several hours :( I_AM Linux - General 1 03-02-2005 08:34 PM
removing pci modem trashed system bmgz Slackware 6 02-05-2005 11:34 AM
Can't find graphics card because greater than 64 PCI busses... how to fix? nirajpatel Linux - Hardware 1 07-26-2004 09:43 AM
Fedora Core 2 NOT installed, but STILL trashed system ssrl78 Fedora 1 06-11-2004 10:30 AM
mandrake menu trashed - menudrake does not fix it nor update it perry Mandriva 3 10-11-2003 04:14 PM


All times are GMT -5. The time now is 02:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration