Linux black screen fix

Fix Linux Mint booting to the black screen issue

linux mint

N umerous Linux Mint users have reported seeing a dark or blank screen upon startup. This issue can be challenging to resolve, especially for Linux users with less technical skills. This problem appears to be connected to the Nvidia video drivers. Fortunately, there are several relatively straightforward ways for resolving this particular visual problem, as seen in this article guide.

Fixing the Linux Mint booting to black screen issue

Below are some of the tips you can employ to repair the Linux Mint booting to black screen issue

Restart the computer

The first issue with a dark or blank screen is that you usually cannot access any Linux Mint menus or launch a terminal. Therefore, hold down the power button for 10 seconds to switch off the computer.

Obtain GRUB menu access

Then, after restarting the machine, continually hit the F1 key to open the GRUB menu. Select “Advanced settings” from the GRUB menu by pressing the down arrow key.

advanced grub issues

Choose the appropriate recovery mode from the list.

linux mint recovery issues

Linux Mint recovery issues

Restore broken packages

repair damages packages

Press Enter after scrolling to “dpkg Repair damaged packages.” Continue after reading the warning notice that displays next.

accept prompt yes

Continue scrolling up to “Resume regular boot” and press Enter.

Use Nomodeset to edit the GRUB menu.

If fixing corrupted packages does not resolve your black or blank screen problem, restart your system and use F1 to reach the GRUB menu. The nomodeset argument asks the kernel to delay loading the video driver until X begins loading it. Press “e” to modify the menu when it displays. Scroll to the point that begins with “Linux” and then to the line’s conclusion. Type “nomodeset” immediately after “silent” and “splash” (without quotes). To restart, use CTRL-X or F10.

Alternatively, you might utilize a modeset tailored to your computer’s graphics hardware. For instance:

nvidia.modeset=0 nouveau.modeset=0 radeon.modeset=0

Drivers for graphics devices should be reinstalled

As with the previous step, navigate to the GRUB recovery menu and scroll down to “root Drop to root shell prompt.”

Читайте также:  Rapid scada установка linux

The procedure for uninstalling and reinstalling your graphics drivers varies according to your computer, graphics card, and installed graphics drivers.

As with the previous step, navigate to the GRUB recovery menu and scroll down to “root Drop to root shell prompt.” Take extra caution while using this prompt. Any command you write here will be executed as root and may cause modifications to your operating system that render it useless.

Then, using the command “ubuntu-drivers devices,” determine the video card you have and the installed drivers.

driver devices

For instance, if you have an ATI Radeon graphics card, you can attempt the following:

aptitude purge xserver-xorg-video-radeon aptitude install xserver-xorg-video-radeon

If you have an Nvidia graphics card, you can attempt the following:

aptitude purge ~nnvidia or apt-get purge nvidia* aptitude install nvidia-340

First, change the driver’s name to be installed if necessary depending on the “ubuntu-drivers devices” output.

If you’re using a standard terminal, make sure to prefix each of these instructions with “sudo.”

Conclusion

This article shows a quick fix to the Linux Mint booting to black screen issue. If you are a victim of this error, please try out the methods provided herein, and in case of any challenges, please let us know via the comments section below. Thanks for reading.

Источник

Ubuntu Linux – Black screen and frozen system after upgrade and/or install

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. This event can also occur on a fresh installation or when updates are installed.

This is due to a video mode issue that causes the system to halt or freeze. It’s much like the issue I described here on a Fedora Linux system.

Temporary Fix

To get the system to boot:

  1. After turning on your PC, hold the right SHIFT key to get to the GRUB bootloader if your computer uses a BIOS. If your computer uses EFI or UEFI, continuously tap the “ESC” (escape) key after turning on your PC.
  2. Once GRUB is open, press the “e” key to edit the first highlighted entry “Ubuntu”.
  3. 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”.
  4. Add “nomodeset” after these words.

Permanent Fix

To permanently resolve the issue:

  1. Once the system has booted using the temporary fix, log in.
  2. Open a terminal window (Applications -> Terminal, or press the “Start” button and type terminal).
  3. 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”):
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

Please Note: Always make sure you have a full system backup before modifying any system files!

81 Responses to “Ubuntu Linux – Black screen and frozen system after upgrade and/or install”

Worked for me after upgrade to Xubuntu 19.10. The only difference is Esc key to enter grub menu. Thanks

Had this happen to me between package linux-image-5.3.0-28-generic (5.3.0-28.30~18.04.1) and linux-image-5.3.0-40-generic (5.3.0-40.32.~18.04.1). The machine is a HP laptop model 17-ca1006no with Ryzen 3 CPU. $ uname -a
Linux hp-laptop-17 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 23
model : 24
model name : AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx

$ sudo lspci -v

04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c4) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 85b3

Capabilities: [320] Latency Tolerance Reporting
Kernel modules: amdgpu

$ With the new kernel the system halts, with black screen and not responding to anything. With the older kernel, it works as it should with full HDMI resolution. With the nomodeset, the new kernel boots, but only with the 1027×768 resolution. So my solution will be to have the old kernel and see if next will fix this, and look for bug reports at Ubuntu.com

During install of16.04, the system encountered an error, supposedly from the original disk write. Ubuntu tried to send error message, no go. Tried another disk, nothing. Machine is Toshiba Satelite A15 AMD Turion.
Bios splash appears then nothing but a nonresponsive flashing cursor.
Tried Windows rescue, nothing.

After dual booting Ubuntu into system, I shutdown the system after a day and on restart, the goes into black screen. So I added nomodeset after quite splash in the grub and pressed ctrl+X, but now the system falls into PCIe bus error. What do I do? I even tried by removing quite splash and added nomod set but still it goes into PCIe bus error. There were solutions on internet to add pci=nomsi or noaer but then system goes into clearing orphaned inode . So I completely reinstalled the Ubuntu but still the same thing happens again black screen, PCIe bus error, etc.. can anybody understand my problem and give me solution to this mess? I have been trying the solutions all over the internet since a week. But this doesn’t seem to get resolved. Please help!

This happened to me after upgrading from Ubuntu 18.04 LTS to 20.04 LTS. I’m now able to at least boot into the operating system. Thanks.

I tried with adding nomodeset and removed quiet and splash. But after pressing F10, system not booting
please help

Hi anjana, It sounds like your issue is different from the issue in the blog post. I’d recommend troubleshooting the issue to attempt to find out what’s going on so that you can try to find a solution once the issue is identified.

Ubuntu 20.04 fresh install black screen and upgrade black screen your article helps get my computer back up. I have a GeForce GTX 550 TI from the video and that seemed to be the problem but how do I get my graphics back or do I wait. At least I’m inside everything’s fine, but my graphics suck should I upgrade to the driver 4:40 or just leave it alone? Thanks a bunch.

Thanks a lot.
I’ve not performed both sequences, only the temporary fix.
That’s because I’ve knowed that the NVIDIA grafic is the reason for the black screen after login, I’ve installed the propriete driver from NVIDIA after the successful login.
After installation and rebooting the system (then without the modification “nomodeset”), after the login, the desktop has appeared as it shall.
Since it isn’t described 100 %: Before and after “nomodeset” there shall be a blank or rather space to the other words (no idea if it’s really required, but initially I was unsure if or if not). For your information:
My support request with Dell has gone over weeks. I’ve asked if there are special drivers necessary. Also I’ve asked for a Dell specific image for installation, but for both I’ve got a “NO”.
With help of a forum I found out that NVIDIA is the reason. And once again I’ve asked the Dell support how to solve this. After many “Try this link”, “do that”, they’ve sent me the link to your instructions. Seams that they are not able to generate such a description, or rather to solve this problem in total with Canonical or NVIDIA, for all the other users which are having this problem.
Well done – thanks.

Источник

Оцените статью
Adblock
detector