I was experiencing problems with Ubuntu at the time of booting, apparently it was/is the Nvidia Drivers as my laptop has a 970M. One solution I found and worked well was every time before booting press e in Ubuntu and then editing the Linux part to nouveau.modeset=0. However, as this was tedious, I tried to set this to be automatic when booting, a solution was editing /etc/default/grub and then sudo update-grub, and the rebooting. After rebooting I can no longer enter to Ubuntu, and the command nouveau.modeset=0 does not work anymore as it gets stucked in a blank screen.
I would really appreciate help as there is my masters thesis.
grub.cfgthat belongs to the installed system. After booting into it, fix/etc/default/grubto avoid the problem the next timesudo update-grubis run (manually or automatically). – sudodus May 16 '23 at 09:14einUbuntu? I can do that, actually there is the command nouveau.modeset=0 not misspelled in fact. But if I try to delete or place at the end does not work as it did. As for the Ubuntu live, you mean installing Ubuntu then run wih the Try Ubuntu, and then mount the disk in order to edit again/etc/default/grub? – Angelo Espinoza May 16 '23 at 09:28nouveau.modeset=0. Very strange since the only line I modified was theGRUB_CMDLINE_LINE_DEFAULT="quiet splash"toGRUB_CMDLINE_LINE_DEFAULT="quiet splash nouveau.modeset=0"in/etc/default/grub, and thensudo update-grub. Just as in https://askubuntu.com/questions/1053150/nouveau-modeset0?newreg=444e841d08ac4464924b081efb179adf. – Angelo Espinoza May 16 '23 at 13:38nomodesetas well asnouveau.modeset=0directly from the grub menu.nouveau.modeset=0from/etc/default/grub, then simplyupdate-grubin/boot/grub. After that everything went back just as before. Of course, I currently have to access Ubuntu throughnouveau.modeset=0typed manually. Yet I have not tried any other solution to make it automatic. – Angelo Espinoza May 17 '23 at 05:04nouveau.modeset=0help by letting something get settled, maybe there is something else that is hard to find. Have you tried to install any proprietary driver for your nvidia graphics yet? – sudodus May 17 '23 at 07:44nouveau.modeset=0it didn't boot up. I was trying to use other options and nothing worked, so I decided to reinstall Ubuntu again with the hope it let me enter with or without the trick, and nothing has happened. After the message of restart the computer after installing Ubuntu it does not let me boot again :(. – Angelo Espinoza Mar 30 '24 at 00:51Thanks once again.
– Angelo Espinoza Mar 30 '24 at 20:08nouveau.modeset=0you should not bother with that. -- By the way, are you using X or Wayland? Check by the commandecho $XDG_SESSION_TYPE? I think it works better with X. – sudodus Mar 30 '24 at 22:09nouveau.modeset=0is needed anymore. I found that I had turned off the Secure Boot, however when I checked the TPM as the reference I saw that it was enabled, after disabling it, and automatically restarting I could enter Ubuntu without any problem along with Windows! Hopefully this solution remains forever. But so far, I think it does it. Thank you @sudodus once more, to be there after almost one year from the original post! – Angelo Espinoza Apr 01 '24 at 03:12