[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel panic. No init found



Hi Peter,
Thank you for your answer.
Am Samedi 14 Avril 2001 21:26 schrieb Peter Cordes:
> On Sat, Apr 14, 2001 at 09:17:03PM +0200, Vincent Laisney wrote:
> > Hi debs!
> >
> > I have installed Debian Potato 2.2.19pre9 on my laptop. Everything was
> > well, but I had no APM support. I have tried to recompile the Kernel with
> >
> > make menuconfig
> > make-kpkg kernel_image
> > dpkg -i ../<my package>.deb
> >
> > But wenn I have rebooted I have got a message
> > "Kernel panic no init found. You can give at boot the option init= ..."
>
>  What does it say before this?
Here are the messages:
Partition check:
	hda: hda1 hda2 <hda5 hda6 hda7 hda8>  # it is correct. my root is hda6
apm....
VFS. Mounted Root (ext2 filesystem) readonly  # is the readonly the problem?
Freeing unused Kernel memory: 72k freed
Kernel Panic: No init found. Try passing init= option the kernel.
>
> > The worst is that I get this message for my old (and correct) Kernel,
> > wenn I boot with on the vmlinuz.old
> >
> > Yes, I have read in the Archives of this List that the solution is to add
> > apm=on on the boot line or add the line append "apm=on" in lilo.conf.
> > It's a pity to read this too late...
>
> lilo  append  lines are equivalent to putting the command line options in
> yourself.  Just boot  linux apm=on  if you want.
>
> > Can somebody help me and give me the data to put after "init=" ?
> > Why can I not boot from my old kernel?
>
>  Most likely the problem is the it's getting the wrong root directory.
> specify root= whatever it should be.  
I have tried with root=/dev/hda6 and it doesnt cure the problem
> It's not too likely the /sbin/init
> disappeared, unless something really bad happened.  init=/bin/bash is
> another thing that can work, but no init= line will help until the kernel
> find the correct root filesystem.
I have controlled. My /sbin/init is there.
Thank you very much for any suggestion. I am working booting now with the 
rescue disk and the root=/dev/hda6 option and it works fine.
Vincent Laisney



Reply to: