Fixing Ubuntu boot stuck because of Nvidia driver
When you install Ubuntu and it gets stuck on boot, it is likely due to the Nvidia driver. To fix this, you need to boot into recovery mode and remove the Nvidia driver. Here's how:
- Rapidly Press Shift Key to enter Ubuntu boot option
- Go to Advanced
- Go to recovery mode
- Go to root terminal
dpkg -l | grep -i nvidiasudo apt-get remove --purge '^nvidia-.*'sudo apt autoremoveexitand boot up as normal