LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-07-2005, 08:48 PM   #1
jwhill2000
LQ Newbie
 
Registered: Feb 2005
Location: Florida
Posts: 1

Rep: Reputation: 0
"make clean" caused system freeze, kernel panic on reboot


ok, so I'm getting "kernel panic - no init found", but I'm kinda sure it was my fault. The system was up and running and had been for quite some time. I was tinkering with some old source code and was doing it as root (bad). Anyway, I executed "make clean" and make tried to do some major deletion. The system stopped responding at that point. When I boot (grub) it loads the kernel up to init, of course, and then I get the above error. I am running Fedora Core 1. Booted into "linux rescue" and verified that I did not lose any data (that I can tell), the filesystem looks intact, but obviously there is something important missing. Any ideas where I can start patching things up? I looked at /boot, nothing missing there. Any help is appreciated. Thanks.

Last edited by jwhill2000; 02-07-2005 at 08:50 PM.
 
Old 02-07-2005, 11:48 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Hi, and welcome to LQ!

Well ... the question is what old sourcecode you were
tinkering with, or whether the problem is just coincidental
in nature, and you somehow (in a different way) deleted
some system file ... I wouldn't think that some random package
would touch /etc or /boot in the process of a 'make clean'.


Cheers,
Tink
 
Old 02-07-2005, 11:57 PM   #3
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Re: "make clean" caused system freeze, kernel panic on reboot

Quote:
Originally posted by jwhill2000
ok, so I'm getting "kernel panic - no init found", but I'm kinda sure it was my fault. The system was up and running and had been for quite some time. I was tinkering with some old source code and was doing it as root (bad). Anyway, I executed "make clean" and make tried to do some major deletion. The system stopped responding at that point. When I boot (grub) it loads the kernel up to init, of course, and then I get the above error. I am running Fedora Core 1. Booted into "linux rescue" and verified that I did not lose any data (that I can tell), the filesystem looks intact, but obviously there is something important missing. Any ideas where I can start patching things up? I looked at /boot, nothing missing there. Any help is appreciated. Thanks.
hmmm... you normally have something called "initrd.<version numbers>" in /boot - you sure it's there?

Also, can we have a close look at that makefile from where it says :clean?

And could this be in the programming or software section possibly?
 
Old 02-08-2005, 07:59 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,131

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Also, make sure /sbin/init still actually exists.
 
  


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
"window system doesnot support openGL" caused by changing resolution caicaicherry Fedora 1 04-09-2005 11:29 PM
Upgrade to c3 causes system to reboot when you click the "View" menu on a window. wellsa Fedora 1 12-21-2004 11:42 AM
When "make install clean" ports fails everytime! Devboy *BSD 9 08-11-2004 07:46 PM
how to write a recursive "make clean"? clockworks Programming 2 01-20-2004 11:19 AM
Doing "make" command makes system freeze weiss Linux - Newbie 16 10-09-2003 08:26 AM


All times are GMT -5. The time now is 08:25 AM.

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