
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: https://medium.com/nerd-for-tech/setting-up-truenas-with-crashplan-pro-backup-8707cb1f6e8b
Here, I talk about enabling bespoke alerts in TrueNAS: https://medium.com/nerd-for-tech/truenas-bespoke-alerts-e8f91e3de5c1
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_TERMINAL=serial
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.