linux serial console

27 May

=================================

CentOS release 5.2 (Final)
Kernel 2.6.18-92.el5 on an x86_64

=================================

[root@rac ~]# vi /etc/grub.conf
timeout=30
serial –unit=0 –speed=9600 –word=8 –parity=no –stop=1
terminal –timeout=15  serial console

default=0
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz
#hiddenmenu

title CentOS (2.6.18-92.el5) !!!! monitor console !!!!
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet console=ttyS0 console=tty0
initrd /boot/initrd-2.6.18-92.el5.img

title CentOS (2.6.18-92.el5) !!!! serial console !!!!
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet console=tty0 console=ttyS0,9600n8
initrd /boot/initrd-2.6.18-92.el5.img

[root@rac ~]# vi /etc/inittab
co:2345:respawn:/sbin/agetty ttyS0 -L 9600 ttyS0 vt100-nav
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

[root@rac ~]# vi /etc/securetty
ttyS0

[root@rac ~]# mv /lib/security/pam_limits.so /lib/security/pam_limits.so.asli
[root@rac ~]# cp /lib64/security/pam_limits.so /lib/security/pam_limits.so

One Response to “linux serial console”

  1. pravink.22 November 28, 2010 at 10:27 am #

    Thxs buddy…!!!!!!!
    Try this link.., easy to understand

    http://www.redhatlinux.info/2010/11/steps-of-boot-process.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: