console redirect

andrew bezella abezella at archive.org
Wed Dec 15 02:02:12 CET 2010


hello -

On Tue, 2010-12-14 at 12:56 -0800, Shadow Roldan wrote:
[...] 
> 1.) added  "console=tty0 console=ttyS0,9" to the append  line in /srv/tftp/fai/pxelinux.cfg/default so it reads as follows;

unless it's a syntax/shortcut that i'm not aware of, i believe you need
to add either a bit more or a bit less to the append line.  per
http://www.vanemery.com/Linux/Serial/serial-console.txt it looks like
the default options are "9600n8".  so you might be able to get away with
"console=tty0 console=ttyS0".  otherwise i'd try spelling it all out
with "console=tty0 console=ttyS0,9600n8".  (if that still fails, might
be worth trying ttyS1.)

> 
> 2.) in my /srv/fai/nfsroot/live/filesystem.dir/ I set up /etc/init/ttyS0.conf as follows:
> 
> # ttyS0 - getty
> #
> # This service maintains a getty on ttyS0 from the point the system is
> # started until it is shut down again.
> 
> start on stopped rc RUNLEVEL=[2345]
> stop on runlevel [!2345]
> 
> respawn
> exec /sbin/getty -L 9600 ttyS0 vt102

looks correct in and of itself, but i haven't tried this in fai.

andy

-- 
andrew bezella <abezella at archive.org>
Internet Archive



More information about the linux-fai mailing list