[ale] Serial & Console
Brandon Colbert
colbert.brandon at gmail.com
Sun Jul 23 13:51:57 EDT 2006
I got it! The trick is with the time. You have 3 sec. to press any key on
the serial side to allow it to redirect to the serial side if not it will
boot using the console. Once I am in the serial side I am able to modify
grub, so if I wanted to single the box I will add the following line to the
kernel line: single console=ttyS0,57600
This is working great!
/etc/grub.conf
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
serial --unit=0 --speed=57600 --word=8 --parity=no --stop=1
terminal --timeout=3 serial console
hiddenmenu
/etc/securetty
ttyS0
/etc/inittab
# Allows Serial Console
co:2345:respawn:/sbin/agetty ttyS0 57600 vt100
On 7/20/06, Jerry Yu <jjj863 at gmail.com> wrote:
>
> I have similar setup. I have default boot entry to do serial console and
> 2nd entry to do both ttyS1 & tty0.
>
> one thing I didn't see in your config is to comment out splashimage.
> Otherwise it could ruin your serial console.
>
> # splashimage=(hd0,0)/grub/splash.xpm.gz
>
> what's your /etc/securetty ?
>
>
> On 7/19/06, Christopher Fowler < cfowler at outpostsentinel.com> wrote:
> >
> > I don't think you can.
> >
> >
> > --- serial-console.txt ----
> > You can specify multiple console= options on the kernel command line.
> > Output will appear on all of them. The last device will be used when
> > you open /dev/console. So, for example:
> >
> > console=ttyS1,9600 console=tty0
> >
> > defines that opening /dev/console will get you the current foreground
> > virtual console, and kernel messages will appear on both the VGA
> > console and the 2nd serial port (ttyS1 or COM2) at 9600 baud.
> >
> > Note that you can only define one console per device type (serial,
> > video).
> >
> > If no console device is specified, the first device found capable of
> > acting as a system console will be used. At this time, the system
> > first looks for a VGA card and then for a serial port. So if you don't
> > have a VGA card in your system the first serial port will automatically
> > become the console.
> > --------------------------
> >
> > The problem is that you will not see startup messages on both
> > since /dev/console will be associated with tty0.
> >
> > Do what I do. Say screw VGA and do everything headless with serial
> > consoles.
> >
> > On Wed, 2006-07-19 at 14:04 -0400, Brandon Colbert wrote:
> > > Hey everybody. Hope everyone is well. I have not post here in awhile.
> > >
> > >
> > > I am working on a Cyclades system that allows me to setup serial
> > > connection via ethernet.
> > >
> > > I have the server setup so that I can see the server boot through
> > > serial and console. My problem is that I can only choose which one is
> > > the main place to display the kernel messages.
> > >
> > > I want to see the services start and stop through local console and
> > > serial.
> > >
> > > Here is want I have.
> > >
> > > GRUB:
> > > default=0
> > >
> > timeout=5
> > ;
> > > splashimage=
> > > (hd0,0)/grub/splash.xpm.gz
> > > serial --unit=0 --speed=57600 --word=8 --parity=no --stop=1 terminal
> > > --timeout=1
> > > 0 serial
> > > console
> > > title Red Hat Enterprise Linux ES
> > > (2.6.9-34.EL)
> > > root
> > > (hd0,0)
> > > kernel /vmlinuz-2.6.9-34.EL ro root=LABEL=/1 selinux=0
> > > console=ttyS0,576
> > > 00n8
> > > console=tty0
> > > initrd /initrd-2.6.9-34.EL.img
> > >
> > > INITTAB:
> > > # Allows Serial
> > > Console
> > > co:2345:respawn:/sbin/agetty ttyS0 57600 vt100
> > >
> > > Can anyone help?
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://www.ale.org/mailman/listinfo/ale
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> >
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ale
mailing list