You can follow this tutorial:
https://deeptalk.lambdalabs.com/t/how-to-re-install-ubuntu-18-04-on-a-tensorbook/512