LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kernel panic (https://www.linuxquestions.org/questions/linux-general-1/kernel-panic-85524/)

gbg 08-25-2003 11:48 AM

kernel panic
 
After left my RedHat Box and apache server running for a weekend, I shutdown X server and left it running only in shell mode. I had a firewall running only in X environment. The problem was that somebody tried to hack my box. Then after a reboot, a have a message from the init, like DriveSeekError. Tried to boot under single linux to run e2fsck, but now i have a Kernel Panic: No init found. Try passing init= option to kernel.

kev82 08-25-2003 12:40 PM

Quote:

I had a firewall running only in X environment.
so you took the firewall down when you quit X?? odd thing to do.
Quote:

The problem was that somebody tried to hack my box.
are you sure, what evidence do you have of this?
Quote:

Then after a reboot, a have a message from the init, like DriveSeekError. Tried to boot under single linux to run e2fsck, but now i have a Kernel Panic: No init found. Try passing init= option to kernel.
sounds to me like the harddisk is dying. if your sure youve been hacked then ask for this thread to be moved to linux-security, but i would say its more likely that you have a failing harddisk, run badblocks on it and see what you get.

gbg 08-25-2003 02:13 PM

"so you took the firewall down when you quit X?? odd thing to do."

I know! But that was a test...

"are you sure, what evidence do you have of this?" Running tcpdump showed me all atemps...

For sure that the disk is dying.... The problem is that I don't even have shell access... GRRR

kev82 08-25-2003 02:15 PM

Quote:

The problem is that I don't even have shell access
thats what rescue disks are for :D

gbg 08-25-2003 02:39 PM

starting with linux single/rescue at boot time? Didn't work. Rescue disks?! Dont have it. Where can I take them?

kev82 08-25-2003 02:54 PM

when you install most distros ask you if you wanna create a rescue disk in case you cant boot. try passing init=/bin/bash to the kernel at boot.

Mathieu 08-25-2003 03:12 PM

You can use your RedHat CD.

Booting into Rescue Mode
http://www.redhat.com/docs/manuals/l...mode-boot.html

gbg 08-25-2003 03:25 PM

Hum... I instaled RedHat over FTP! I'm using grub instead of lilo, maybe i can use that param in grub. I will try and tell you something right way. 10x all.


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