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

Re: Kernel panic: NO INIT FOUND, but seems to be there.



On Mon, Apr 22, 2002 at 04:24:54PM -0400, Alessandro Ghigi wrote:
> 
> 
> Hi!
> 
> Thank you for your answer. I have tried passing to the boot prompt
> 
> linux root=/dev/hda9 init=/sbin/init,
> 
> but the result is the same as before. Actually /sbin is on the root
> partition.
> 
> I guess the reason why my system hanged, was that I tried suspending to
> disk while my ethernet card was working. It hanged while writing
> a huge list of messages on the console. I shut the power down, and now it
> does not work.
> 
> Do you have any other ideas what to try? Should I reinstall everything? I
> hope there is something more to try.

Hi Alessandro,

Since you can boot from a floppy, I would try reinstalling the kernel
or a new kernel using chroot before reinstalling everything. If the
rescue floppy you have doesn't have chroot, you might try tomsrtbt
(http://www.toms.net/rb/).

Jerome

> 
> Thank you very much
> 
> Alessandro
> 
> On 22 Apr 2002, Crispin Wellington wrote:
> 
> > On Mon, 2002-04-22 at 15:08, Alessandro Ghigi wrote:
> > >
> > >
> > > Hi.
> > >
> > > My laptop hanged, and I shut it down. Afterwards it cannot boot.
> > > After loading linux, it stops saying roughly
> > >
> > >
> > > Partition check
> > >  hda: hda1 ....
> > > apm: Bios version ...
> > > VFS: Mounted root (ext2 filesyustem) readonly.
> > > Freeing unused memory ...
> > >
> 
> > > Kernel panic: no init found. Try passing init= option to kernel.
> > >
> > >
> > > I have tried passing the option init=/sbin/init, and also init=/bin/sh. It
> > > did not work. So I downloaded a rescue image, and with that I was able to
> > > boot with a root on the floppy.  I have checked the root
> > > partition on the hard disk: /sbin/init is there and is ok (I have
> > > replaced it with a copy from another  system), and also inittab looks
> > > ok. But the original root partition still does not work and gives the
> > > same message.
> > >
> > > The last time this happened to me (alas is not the first one!) I
> > > reinstalled everything. I hope somebody can advise some softer way to proceed.
> >
> > This is very strange! Especially to happen twice! What are you doing to
> > your system?
> >
> > Is the filesystem that the kernel is mounting as root really the root
> > filesystem? Or is it mounting another filesystem thinking it is root? Is
> > sbin in that filesystem? Try passing the root= parameter to the kernel
> > as well with the root partition. eg. linux root=/dev/hda3
> > init=/sbin/init.
> >
> > Copying init from another system may have been very bad if that system
> > had init compiled against a different libc.
> >
> > What were you doing before this happened? Was it a kernel upgrade gone
> > wrong?
> >
> > Crispin
> >
> >
> >
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
Jerome

Attachment: pgpaV2vKct_UD.pgp
Description: PGP signature


Reply to: