Ubuntu Won't Boot With Nvidia Driver Installed

I recently got a new Alienware M15 R6 gaming laptop computer from my lab. After installing Ubuntu (dual boot with Windows), the next thing to do is to utilize its RTX 3080 GPU by installing Nvidia drivers. The problem was with Nvidia drivers installed, the whole system won’t boot up. It just shows a black screen with some system prompt text and stuck.

How to fix

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now