From: michal@gortel.phys.ualberta.ca (Michal Jaegermann)
Subject: Re: Booting Linux without a head?
Date: 20 Oct 2000 02:41:10 GMT [thread overview]
Message-ID: <8sobc6$q4g$1@rover.ucs.ualberta.ca> (raw)
In-Reply-To: 8sl9u7$9v2$1@nntp9.atl.mindspring.net
JJ (john.jemiolo@mindspring.com) wrote:
: which dist do you have?
: The current kernels are built with serial console enabled
At least those distributed by us, i.e. Hard Data. :-)
: just add "console=ttyS0" to the -fl string you boot with, or if you use
: aboot.conf, add "console=ttyS0" to the entries.
The funny thing is that I was booting recently UP1100 with no video
card at all. SRM autodected a serial port and getting to an SRM
prompt was not a problem. Actually it was quite chatty and dumped on
my screen a lot of mesages you normally do not see while booting
with a regular monitor attached.
Using the method like above did work but it had this disconcerting
habit that all startup messages vanished. The screen was clear up
to the moment when 'login:' prompt appeared after a while and from
that moment things looked as usual. Also typing 'shutdown -h now'
rendered the whole thing silent until an SRM prompt returned after
a prolonge pause.
OTOH booting _without_ "console=ttyS0" in -flags, but with a kernel with
a support for a serial console, caused startup and shutdown to look as
usual - with all usual chatter on a terminal screen.
This effect may depend on properties of a particular SRM. I did not
have an opportunity to try that recently on some other boards.
If you are booting headless you should remember to add in your
/etc/inittab a line which spawns some kind of getty on /dev/ttyS0.
Something like that:
0:2345:respawn:/sbin/mingetty ttyS0
should do for Red Hat distributions. Also do not forget to add
/dev/ttyS0 to your /etc/securetty or you may have troubles to log
in into your freshly rebooted machine if only a root account is on
it. :-) Running some services is also kind of pointless in such
situations. 'keytable' and 'gpm' come to mind as prime candidates to
turn off. Likely 'kudzu' as well. Quite likely more - depends on
your plans.
Michal
next prev parent reply other threads:[~2000-10-20 2:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-18 4:00 Booting Linux without a head? Mike Sullivan
2000-10-18 4:00 ` Marble Head
2000-10-18 4:00 ` JJ
2000-10-20 2:41 ` Michal Jaegermann [this message]
2000-10-20 4:00 ` Marble Head
2000-10-21 4:00 ` Michal Jaegermann
2000-10-20 4:00 ` Hartmann Schaffer
2000-10-21 4:00 ` JJ
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox