Re: Init single and Serial console : How to ?

From: Paul Rolland
Date: Thu Jul 08 2004 - 00:33:58 EST


Hello,

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 ?

Regards,
Paul

Paul Rolland, rol(at)as2917.net
ex-AS2917 Network administrator and Peering Coordinator

--

Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un navigateur

"Some people dream of success... while others wake up and work hard at it"



> -----Message d'origine-----
> De : linux-kernel-owner@xxxxxxxxxxxxxxx
> [mailto:linux-kernel-owner@xxxxxxxxxxxxxxx] De la part de Paul Rolland
> Envoyé : dimanche 4 juillet 2004 12:32
> À : 'Bernd Eckenfels'; linux-kernel@xxxxxxxxxxxxxxx
> Objet : Re: Init single and Serial console : How to ?
>
> Hello,
>
> > this is only about terminal settings like flags and line
> > speed, it is not
> > related to presenting the login on the serial console. It is
> > a good idea to
> > remove this file and set the baud rate on the boot command line.
> OK.
>
> > You must configure /sbin/sulogin which is called from init to run on
> > /dev/console, then you will be fine. Also you should start
> a getty on
> OK, but remember that my problem is to find a way to access
> the machine
> when I only have a serial console and it doesn't complete the
> "classical"
> boot process because some init script at runlevel 3 is blocking...
>
> This means that I can't go up to the "configure
> /sbin/sulogin", and need
> a way to be given a serial prompt only by giving parameter at the LILO
> prompt, considering that the kernel has already been
> configured for serial
> console.
>
> > /dev/ttySx for multi user modes (see the serial console howto)
> This is already done.
>
> Regards,
> Paul
>
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/