lkml.org 
[lkml]   [2004]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Init single and Serial console : How to ?
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.146 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site