
The machine is a HP laptop model 17-ca1006no with Ryzen 3 CPU. Please Note: Always make sure you have a full system backup before modifying any system files! Posted by Stephen Wagner at 8:08 AMĨ1 Responses to “Ubuntu Linux – Black screen and frozen system after upgrade and/or install” Restart your system, it should now boot!.At the bash prompt, execute the following command to regenerate the nf file on the /boot partition from your new default file: update-grub.Save the file and exit the text editor (CTRL+X to quit, the press “y” and enter to save).Here’s an example of my line after editing (yours will look different): GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" Feel free to remove “splash” and “quiet” if you’d like text boot.
Locate the line with the variable “GRUB_CMDLINE_LINUX_DEFAULT”, and add “nomodeset” to the variables. Either “su” in to root, or use “sudo” to open your favorite text editor and edit the file “/etc/default/grub” (I use nano which can be install by running “apt install nano”): nano /etc/default/grub. Open a terminal window (Applications -> Terminal, or press the “Start” button and type terminal). Once the system has booted using the temporary fix, log in. Feel free to remove “quiet” and “splash” for more verbosity to troubleshoot the boot process. Move your cursor down to the line that starts with “linux”, and use the right arrow key to find the section with the words “ro quiet splash”. Once GRUB is open, press the “e” key to edit the first highlighted entry “Ubuntu”. If your computer uses EFI or UEFI, continuously tap the “ESC” (escape) key after turning on your PC. After turning on your PC, hold the right SHIFT key to get to the GRUB bootloader if your computer uses a BIOS. It’s much like the issue I described here on a Fedora Linux system. This is due to a video mode issue that causes the system to halt or freeze.
This event can also occur on a fresh installation or when updates are installed. After upgrading a computer from Ubuntu 16.04 LTS to Ubuntu 18.04 LTS or Ubuntu 18.04 LTS to Ubuntu 20.04 LTS, during boot the screen goes blank (turns black), all HD disk activity halts, and the system becomes frozen.