Go to the first, previous, next, last section, table of contents.


serial

Command: serial [@option{--unit=unit}] [@option{--port=port}] [@option{--speed=speed}] [@option{--word=word}] [@option{--parity=parity}] [@option{--stop=stop}] [@option{--device=dev}]
Initialize a serial device. unit is a number in the range 0-3 specifying which serial port to use; default is 0, that corresponds the port often called COM1. port is the I/O port where the UART is to be found; if specified it takes precedence over unit. speed is the transmission speed; default is 9600. word and stop are the number of data bits and stop bits. Data bits must be in the range 5-8 and stop bits are 1 or 2. Default is 8 data bits and one stop bit. parity is one of `no', `odd', `even' and defaults to `no'. The option @option{--device} can only be used in the grub shell and is used to specify the tty device to be used in the host operating system (see section Invoking the grub shell).

The serial port is not used as a communication channel unless the @command{terminal} command is used (see section terminal).

This command is only available if GRUB is compiled with serial support. See also section Using GRUB via a serial line.


Go to the first, previous, next, last section, table of contents.