Console redirection

From pressy's brainbackup
Revision as of 15:59, 15 December 2017 by Admin (talk | contribs) (Created page with "Worked on linux 7.4 running on Oracle Server X7-2 Spawn a TTY service on your serial console device port as a service: <pre> # systemctl --now enable getty@ttyS0 Created syml...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Worked on linux 7.4 running on Oracle Server X7-2

Spawn a TTY service on your serial console device port as a service:

# systemctl --now enable getty@ttyS0
Created symlink from /etc/systemd/system/getty.target.wants/getty@ttyS0.service to /usr/lib/systemd/system/getty@.service.

Another way is to tell grub2 to use the console... then you would also see booting and shutdown messages:

# grubby --remove-args="rhgb quiet" --args=console=ttyS0,9600 --update-kernel=ALL