LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Kernel Panic: No init found. ... (https://www.linuxquestions.org/questions/linux-general-1/kernel-panic-no-init-found-30469/)

aditya 09-25-2002 11:15 PM

problem with linuxquestions.com
 
Hi sir,
I would like to tell you that I no more get alerts from linuxquestions.com that some messages have been poeted to your reply. I just opened this thread through previous messages I had recieved, adn found that you had posted many replies, but I wasn't notified.

So, I thought it's important to bring this problem to notice.

I'll check your previous replies just now, after mailing this one.

Thanks.

aditya 09-26-2002 02:01 AM

Hi Sir,
I tried what you said but it didn't turn out.
What do you mean by 'putting /bin/bash in place of /sbin/mingetty' ?
What I did was that I deleted mingettty, and modified the lines '1:234:respawn:/sbin/mingettty 9600 tty1' to
'1:234:respawn:/bin/bash 9600 tty1'.

But on booting it gave me these errors in addition to the respawing errors:-

tty1: tty1: No such file or directory
tty2: tty2: No such file or directory
.............
.............
tty6: tty6: No such file or directory


And I had already copied /bin/bash. What do you want to replace in the above sentence, I can't undestand.

DavidPhillips 09-26-2002 06:46 AM

If you change it to

1:234:respawn:/bin/bash it will boot

mingetty is not running because of some dependencies that are not there

Gert Visser 11-28-2002 05:28 PM

>I've made a boot disk with the kernel in one floppy and root fs >in the other. The kernel boots and asks for thr Root filesystem.
>On iserting the root fs floppy, I get the message:

>RAMDISK: Compressed image found a block 0

>For about 30-35 seconds it continues to read the floppy. Then it >flashes the message:

>Kernel Panic: No init found. Try passing init= option to kernel.

After that the Caps and numlock key's are flashing ?

When the root-filesystem is extracted and loaded from the second disk the kernel needs the folowing files to be in the /dev directory of your root-filesystem : fd0,ram0 and console

note: they also need to be in the /dev directory on the first disk !

DavidPhillips 11-28-2002 10:10 PM

this is kind of old


it also helps when you have /sbin/init and login on it too


All times are GMT -5. The time now is 04:37 AM.