From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,c1494762c0404e09 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2000-10-19 20:30:37 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.direct.ca!look.ca!cyclone.bc.net!rover.ucs.ualberta.ca!michal From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Newsgroups: comp.os.linux.alpha Subject: Re: Booting Linux without a head? Date: 20 Oct 2000 02:41:10 GMT Organization: Disorganized Bits Message-ID: <8sobc6$q4g$1@rover.ucs.ualberta.ca> References: <39EDCAB5.A79828E5@oddjob.utias.utoronto.ca> <39EDDD73.DF7A3826@nospam.guacamole.com> <8sl9u7$9v2$1@nntp9.atl.mindspring.net> Reply-To: michal@phys.ualberta.ca NNTP-Posting-Host: gortel.phys.ualberta.ca X-Newsreader: TIN [version 1.2 PL2] Xref: supernews.google.com comp.os.linux.alpha:927 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