0

I have Ubuntu 18.04 LTS.

uname -a

Linux username-laptop 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

I have to manually add nomodeset after quiet splash $vt_handoff by pressing e during the grub. Instead of doing this manually, I want to make a permanent change. I tried this but it wouldn't solve the problem as it adds nomodeset between quiet splash and $vt_handoff and Ubuntu gets stuck on boot screen:

grub

How can I do this?

1 Answers1

0

As I had done previously, First I opened /etc/default/grub:

gedit admin:///etc/default/grub

Then I changed the line -GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to :

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

Then,

sudo update-grub
sudo update grub2

But after several restarts (adding nomodeset manually everytime), this finally worked.