Shutdown the VM and add this to the vmx file and then restart the VM, if the host OS is Linux:
Serial0.present = "true"
Serial0.filetype = "device"
Serial0.filename = "/dev/ttys0"
If host is Windows:
Serial0.present = "true"
Serial0.filetype = "device"
Serial0.filename = "COM1"
The device name here depends on the operating system of the VM host, so the device name also comes from the operating system naming method.
By default, the virtual machine installed in VMWare does not contain a serial port (COM1). Here, we will briefly describe how to set a serial port under the VMware Virtual Machine:
1. Ensure that the virtual machine is shut down (to add or delete a virtual machine device, you must ensure that the virtual machine is shut down ).
2. in VM> Settings> hardware, add a serial port COM1.
3. Select use physical serial port
In this way, the virtual machine uses the host serial port. OK. Try it.
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/autofei/archive/2008/06/10/2529138.aspx