I installed nvidia-390 drivers on my brand new Ubuntu 18.04 installation and now it freezes during the boot screen that appears before the login screen.
I solved the problem by entering recovery mode, update grub ( which enables read-write mode ) and then continue to boot.
However I'd like not to have to enter recovery mode every time I boot my machine. Is there any real solution to this problem?
I'm on an Asus x370 Pro Prime motherboard and my GPU is a GTX Geforce 1070 Ti.
Things I have already done:
-
Secure Boot is already disabled both in BIOS and also through
mokutil. -
Replaced 'quiet splash' by 'quiet splash nomodeset' at
/etc/default/grub
Best Answer
I've already solved the problem by doing something that's quite hacky, but it worked. If you boot on text mode and then automatically jump to graphical mode then the problem is gone.
I set text mode as the default boot mode (
systemctl set-default multi-user.target
) and then you can set up the commandsystemctl start graphical.target
to automatically run right after startup, or manually run it on text mode every time you need a graphical interface.After that you can edit your grub files to disable authentication either in text or graphical mode or otherwise you'll have to authenticate twice.