"make clean" caused system freeze, kernel panic on reboot
Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"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.
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'.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.