Your Ubuntu is stuck on startup after installation? In this post I offer you these 3 solutions to make your linux work.
You just got a machine and you decided to replace the original OS with your favorite linux distribution, Ubuntu.
After taking the time to configure your linux distro and do the installation, you notice that nothing starts up after hours of waiting and rebooting.
If you recognized yourself in this story, you are not the only one. I experienced this situation with my current laptop. In this post, I provide 3 solutions to fix Ubuntu not booting problem after installation.
Ubuntu Stuck on Startup – Solution 1
The first solution is to Disable “secure boot” mode on your machine . Your ubuntu distribution may work fine during testing. The problem occurs after the complete and permanent installation in your hard drive.
What happens is that a black screen is displayed when launching without anything showing.
From experience, this has already happened to us for our ASUS ROG GL552VX machine.
The solution that worked was disabling "secure boot" mode in the BIOS. In our case we found it by following this path security -> secure boot menu . The Bios being different according to the machines, yours could be elsewhere.

The BIOS is different depending on the computer, the most important thing is to find and disable the “secure boot” mode. In our case, it is “secure boot control” as in the image above.
What is the “secure boot” mode for?
You would tell me what is “secure boot” for apart from preventing us from installing what we want?
This BIOS option, which is often enabled by default, ensures that only software officially approved by manufacturers can run on your machine.
One of the benefits is being able to prevent viruses and malware even unknown to antiviruses from getting into your computers. Normally you have nothing to fear if you are under a linux distribution like Ubuntu.
When to use it?
This type of problem often happens after installing a linux distribution. This BIOS setup is enough to fix your little problem.
Very often before installing a distribution, it is tested by booting it from a USB key or other memory medium.
In some machines like ours, live booting from a USB key fails to launch linux in live mode.
Our ASUS ROG had exactly the same problem with Ubuntu 16.04 LTS. If you are in this case, I suggest you apply the following solution.
Ubuntu stuck on booting after live booting installation – Solution 2
The second solution is to add “nomodeset” in the ubuntu boot configuration file.
Sometimes, when you boot a usb key in order to start linux from it, the distribution does not start.
There are 3 causes that can be deduced from this behavior.
- The distribution's ISO file is incorrectly downloaded (less plausible),
- the key is badly booted (more plausible) and,
- the kernel launch option is not appropriate (less obvious).
The first two causes of the problem are easy to verify, unlike the last. To configure the boot option of your linux you must:

- At the boot menu similar to the image above hit the “e” key.
- In the displayed terminal, add “nomodeset” at the end of the linux line. Usually it is in the form linux /boot/vmilnuz- root=UUID= … quiet splash …
- After modification, the line should look like this linux /boot/vmilnuz- root=UUID= … quiet splash nomodeset …
- type f10 or ctrl-x to launch your linux distribution with this configuration.
This is what we used to try out Ubuntu 16.04 LTS on our ASUS ROG GL552VX. This trick may work for newer linux distributions like Ubuntu 20.04 LTS, I haven't tested with the latest one yet.
When to use it?
This option is often required for machines with nVidia cards. We also use this trick when we can't launch a linux distribution from a usb key or other bootable medium.
Normally after trying the distro, you can easily install it and start it without problems.
If ever when starting linux you find nothing displayed, in short the same problem as in live mode, check if solution 1: deactivate “secure boot” mode is well executed.
If this is the case, it would therefore be time to move on to the next solution, which is a variant of the current solution.
Install Graphics Card Drivers – Solution 2.5
At startup, arrived at the boot menu, instead of directly launching Ubuntu or your favorite linux system, you must apply the previous solution by adding the instruction “nomodeset”When launching the linux kernel. Your system should boot normally.

If ubuntu or your linux distribution is running, that's a good sign. At this level two choices will be presented to you to solve the problem definitively. The first, which is the one we recommend, is to install the drivers for your video card.
To understand the reason see the section “Why does this solution work?”Towards the end of the article. After installing the drivers, you will just have to restart your linux normally.
If the problem persists despite installing the driver for your graphics card, repeat the procedure for adding the “nomodeset” at system startup.
From the desktop, the second solution would be to add yet the instruction “Nomodeset”. This time you will be taught later how to add the script permanently.
Ubuntu Stuck on Startup – Solution 3
The third and last solution will allow us to add “nomodeset” permanently .
You have certainly noticed that your configuration resets every time you restart the machine.
To prevent this from happening, add the “nomodeset” instruction permanently.. Here's how we actually do it.
- Open the terminal and type “sudo gedit / etc / default / grub”
- Enter your password
- Move your cursor to GRUB_CMDLINE_LINUX_DEFAULT = ”quiet splash”

- Add the nomodeset line at the end of " quiet splash " like this : GRUB_CMDLINE_LINUX_DEFAULT = ”quiet splash nomodeset”
- Save and close the window
- In the terminal type " sudo update-grub2»And validate with the Enter key
When you are done you can now shut down and restart your linux OS normally.
Why does this solution work?
With older linux kernels the GUI configuration was in the video card drivers used by the X server.
The latter is responsible for the operation of the graphical interface of any linux distribution. Today the GUI configurations are programmed directly into the linux kernel.
The latter can directly configure the X server without going through the drivers during system startup.
This allows distros to display a high definition splash screen and seamlessly transition to the login screen. Which was not possible in the past.
Unfortunately, some graphics cards do not support the new linux kernel, especially in live mode. This explains the reason why live booting does not launch linux with the default configurations.
What we did to solve this solution, is tell the linux kernel not to load the video drivers and instead use BIOS mode until the X server is loaded.
This is what the instruction” nomodeset ”Helps accomplish. Of course it's only temporary until you add it to the GRUB bootloader configuration file and apply the update. This is what we applied in this solution section.
Personal note
Our machine also has an NVIDIA video card. To successfully install ubuntu 16.04 LTS at the time, we used solutions 2 -> 1 -> 2.5 respectively.
Since the only update we apply is that of the linux kernels. It's unclear how things will be with newer linux distributions.