From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Paul Rolland <rol@as2917.net>
Cc: "'Bernd Eckenfels'" <ecki-news2004-05@lina.inka.de>,
linux-kernel@vger.kernel.org
Subject: Re: Init single and Serial console : How to ?
Date: Thu, 8 Jul 2004 08:44:19 +0100 [thread overview]
Message-ID: <20040708084419.A13706@flint.arm.linux.org.uk> (raw)
In-Reply-To: <200407080532.i685WpX28901@tag.witbe.net>; from rol@as2917.net on Thu, Jul 08, 2004 at 07:32:45AM +0200
On Thu, Jul 08, 2004 at 07:32:45AM +0200, Paul Rolland wrote:
> Got this one working :
>
> LILO: linux init=/sbin/sulogin /dev/ttyS0
>
> It finally asked me to enter root password, I did my maintenance,
> and then...
> /sbin/reboot did nothing
> leaving the shell (exit) said :
> Attempting to kill init
> Panic, will reboot in 30 seconds.
> (or something like that), but it didn't restart, and I had to reboot
> the machine...
> Is this the expected behaviour ?
Yes, since you exited the process which was pretending to be the init
program. Basically, whatever program is pretending to be init must
never exit or be killed off - it's special.
You probably wanted to do /sbin/reboot -f
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
next prev parent reply other threads:[~2004-07-08 7:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-04 5:09 Init single and Serial console : How to ? Paul Rolland
2004-07-04 10:09 ` Bernd Eckenfels
2004-07-04 10:32 ` Paul Rolland
2004-07-08 5:32 ` Paul Rolland
2004-07-08 7:44 ` Russell King [this message]
2004-07-09 6:28 ` Paul Rolland
-- strict thread matches above, loose matches on Subject: below --
2004-07-04 6:07 Milton Miller
2004-07-04 8:44 ` Paul Rolland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040708084419.A13706@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=ecki-news2004-05@lina.inka.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rol@as2917.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.