星期二, 1月 08, 2008

Boot System by redirect function via serial port


[Test steps]

1. Completing Linux installation.

2. Change BIOS settings /Server/Serial Console Features/BIOS Redirection Port to [Serial port 1 or 2]

3. Power on System.

4. Edit the file /boot/grub/grub.conf, change some arguments to redirects Linux console to ttyS0 (ttyS1) as followings:
"kernel /vmlinuz ro root=/dev/hda3 console=ttyS0,19200,vt100"

5. Edit the file /etc/inittab, add some arguments as followings:

c0:2345:respawn:/sbin/agetty ttyS0 19200 vt100
c1:2345:respawn:/sbin/agetty ttyS1 19200 vt100

6. Modify /etc/securetty, and add some arguments in the tail of the file:

ttyS0 ttyS1

沒有留言: