Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to redirect the serial port output on RedHat 5.7 to some recordable or reviewable medium.

The normal way to do this on a physical machine is to add the console parameters to the kernel in grub like what's below, connect it to another machine via a serial port and null modem cable and use minicom, hyperterminal or TeraTerm with matching settings, which would enable viewing the console startup messages on the machine and debug output if the kernel crashes (and log them to a file in the case of Tera Term).

kernel /vmlinuz-2.6.18-274.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet crashkernel=128M@16M console=tty0 console=ttyS0,38400 hda=noprobe hdb=noprobe

In VMWare ESX I could do something similar, where the serial port can be redirected to a file giving me the same effect.

Hyper-V redirects serial output to a named pipe, no file option.

Is there a program that I can run on the Hyper-V hypervisor that lets me capture the named pipe to a file? (Could I do this with HyperTerminal or TeraTerm somehow?) Or would I have to write a program from scratch to accomplish this?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.