Serial Console Access

Continuing on from my previous tutorials surrounding TrueNAS. In this article I will quick explain how to setup the serial console to provide command line access.

I previously laid out how to configure CrashPlan to work in a VM on TrueNAS, here:

Here, I talk about enabling bespoke alerts in TrueNAS:

To start this tutorial, make sure you are setting at the root shell inside your CrashPlan VM, then run the following:

# export PATH=$PATH:/sbin:/usr/sbin
# vim /etc/default/grub

Now edit or insert the following lines:

GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,19200n8"
GRUB_SERIAL_COMMAND="serial --speed=19200 --unit=0 --word=8 --parity=no --stop=1"

Now save the file, then run:

# update-grub

After completing the above steps and rebooting, you should find that serial console access is now working.