Re: Kernel panic error
--- Anim Asante <adwoa96@yahoo.co.uk> wrote: > >
-----Original Message-----
> > From: Bill Marcum [mailto:bmarcum@iglou.com]
> > Sent: 22 October 2003 07:01
> > To: debian-user@lists.debian.org
> > Subject: Re: Kernel panic error
> >
> >
> > On Tue, Oct 21, 2003 at 07:27:29AM +0100, Anim
> > Asante wrote:
> > > I have got a grub menu.lst file with a section
> of
> > the
> > > file looking like this
> > > root (hd1,0)
> > > kernel /vmlinuz root=/dev/hdb1
> > > boot
> > >
> > > When I restart my machine and select this
> option,
> > the
> > > boot up process begins up
> > > to a point and it gives the following error
> > message:
> > > Warning: unable to open an initial console.
> > > Kernel panic: No init found.
> > > Try passing init= option to kernel.
> > >
> > > Can anybody indicate what "option" should be?
> > > Thanks
> > >
> > The kernel can't find /sbin/init. Are you sure
> your
> > root partition is
> > at /dev/hdb1? Have you compiled a new kernel? If
> > so, did you remember
> > to build in support for your root filesystem? Try
> > booting from a floppy
> > or CD, or your old kernel if you have one. Or you
> > could try
> > init=/bin/sh
> >
>
> Thanks for the reply.
>
> I do not have any problems when I use lilo. I am not
> at my machine at the moment but I will give it a try
> and see what happens.
>
> Regards
> Anim
>
>
>
When I passed init=/bin/sh to the kernel, I got the
following error:
init:can't access tty; job control turned off.
Any ideas as to what is wrong? I am using kernel
verison 2.4.22 binary if that will help.
Regards,
Anim
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
Reply to: