On Tue, Dec 30, 2003 at 03:42:56PM +0200, Alon Weinstein wrote:
> Assaf Flatto wrote:
> >
> >I tried the following :
> >init=/sbin/sh
> >init=/bin/bash
> >init=/sbin/sash
> >init=/etc/inittab -b
> >all came out with the same kernel panic error .
> >
> >The machine is/was mdk9.1 with 2.4.22-23mdk .
> >suggestions any one ??
>
> My 2 cents -- the "init=" parameter does not specify a shell (bash/tcsh
> etc) -- it specifies the location of the "init" program which is
> responsible for the startup process. It's usually placed in /sbin/init.
According to man bootparam,
`init=...'
This sets the initial command to be executed by the kernel.
If this is not set, or cannot be found, the kernel will try
/etc/init, then /bin/init, then /sbin/init, then /bin/sh
and panic if all of this fails.
Using the "init=" parameter the way Asaf tried to is a known method to
overcome boot problems.
--
"If you have an apple and I have an apple and we exchange apples then
you and I will still each have one apple. But if you have an idea and I
have an idea and we exchange these ideas, then each of us will have two
ideas." -- George Bernard Shaw (sent by shaulk @ actcom . net . il)
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]