RedHat Serial Port Console Install

Terminology

Machine #1, for these instructions, will be running Windows or Linux and will run a terminal program from which we will control the installation on Machine #2.

Machine #2, for these instructions, is the machine where we will be installing Linux to, but we will be controlling the install through the serial port.

——————————————————————————–

TERMINOLOGY STEP1 STEP2 STEP3 NOTES REFERENCE

——————————————————————————–

Step 1. Attach the Null Modem Cable

The first step is to attach the null modem cable between the serial ports of Machine #1 and Machine #2.

——————————————————————————–

TERMINOLOGY STEP1 STEP2 STEP3 NOTES REFERENCE

——————————————————————————–

Step 2. Set up the Terminal Program on Machine #1:

On the system you are controlling the install (Machine #1), type the following:

For Linux:

miterm -s 9600 -l /dev/ttyS0

If you want to capture output of the installation then use the script command:

script

miterm -s 9600 -l /dev/ttyS0

exit

Note: minicom, kermit, and others should work just as well as miterm.

For Windows:

HyperTerminal 9600, 8, N, 1

HyperTerminal can capture output if you need it to.

Other terminal programs will work as well.

——————————————————————————–

TERMINOLOGY STEP1 STEP2 STEP3 NOTES REFERENCE

——————————————————————————–

Step 3. Begin the Linux Install on Machine #2:

At the RedHat Installer Boot Prompt, type one of the following lines:

linux console=ttyS0,9600

or

linux serial

or

linux console=tty0 console=ttyS0,9600

If you watch closely (and you have a monitor and video card on Machine #2) you will see a couple of lines show up on Machine #2, but all following lines will show up through the serial port to the terminal on Machine #1. This behavior is normal.

On a headless machine (a machine without a video card nor monitor), you can modify one of the boot disks found in the /images directory on the RedHat CD. Create the floppy, then find the file named syslinux.cfg and add the console=… parameters there. Then when you boot the headless machine on that floppy you will be able to control the install through the serial port.

You can make the serial port the permanent default console by reading up on serial-console.txt

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

You may also like...

3 Responses

  1. 2024년 10월 6일

    … [Trackback]

    […] Read More on that Topic: nblog.syszone.co.kr/archives/2975 […]

  2. 2024년 10월 15일

    … [Trackback]

    […] Read More on that Topic: nblog.syszone.co.kr/archives/2975 […]

  3. 2024년 11월 20일

    … [Trackback]

    […] There you can find 79989 more Info on that Topic: nblog.syszone.co.kr/archives/2975 […]

페이스북/트위트/구글 계정으로 댓글 가능합니다.