HeadnotesMany equations and formulas look intimidating. However, when you hunt them down, they are definitely not! Just papertigers!
Now let's hunt the papertiger.
After the installation of ubuntu 18.04, I get trapped in a login loop. Then I found a solution online:
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
Voila! I logged in, and I found that the keyboard and mouse is unusable after logging in.
This is the solution to solve this:
sudo apt install xserver-xorg-input-all
FootnotesThere are many excellent tutorials out there. Some tutorials are too intuitive and it's helpful, but you cannot get it straight on the math details. Some focused on dymestifying math. Some focused on code. I found the best tutorials that give you the conceptual ideas and are possible for implementation without being blind to the math details. Drop a comment if I failed. It would be really appreciable.
Lachlan Chen, "Solution for Ubuntu 18.04 Login Loop or Desktop Freeze after Nvidia Driver Installation," in EarnFromScratch, October 19, 2019, https://www.earnfs.com/en/html/2013.htm.
title=Solution for Ubuntu 18.04 Login Loop or Desktop Freeze after Nvidia Driver Installation,
year=October 19, 2019