[BusyBox] Bootup to VGA or serial automatically.

tom at ceisystems.com tom at ceisystems.com
Mon Jun 9 23:08:37 UTC 2003


Hello again,

	This will work with BusyBox's configuration, but you will not
get any output from your kernel, etc. while booting.  This is why I had
suggesting setting up two boot configs.  I usually keep a getty waiting
on ttyS0 anyway, so I can login with a serial cable if needed.

Thomas Cameron
CEI Systems, Inc.


> -----Original Message-----
> From: Lars Kellogg-Stedman [mailto:lars at larsshack.org] 
> Sent: Monday, June 09, 2003 10:37 AM
> To: jmrobert5 at mchsi.com
> Cc: busybox at busybox.net
> Subject: Re: [BusyBox] Bootup to VGA or serial automatically.
> 
> 
> > I have a box that I want to have the console be either the 
> serial port,
> > or the VGA port IF VGA is attached (usually only in a lab 
> situation).
> > The twist, we want a getty there, not a automatic login via 
> '-/bin/sh'
> >
> > I have TinyLogin1.4 and Busybox 0.60.5.  It will work 
> hard-configured in
> > the inittab for either case.  But how to set it for both?
> 
> I think if you replace the default console entry:
> 
>   ::askfirst:-/bin/sh
> 
> With a getty on /dev/console:
> 
>   ::askfirst:/bin/getty 38400 console
> 
> Things will work as you want.  Note that currently my only interaction
> with busybox is via a serial line (or network connection), so 
> I haven't
> actually tested this on a VGA console.
> 
> -- Lars
> 
> -- 
> Lars Kellogg-Stedman <lars at larsshack.org>
> 
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/mailman/listinfo/busybox
> 


More information about the busybox mailing list