Questions tagged [nomodeset]

nomodeset is a kernel boot option. Adding the nomodeset parameter instructs the kernel to not load video drivers and use BIOS modes instead until X is loaded.

The newest kernels have moved the video mode setting into the kernel, so all the programming of the hardware specific clock rates and registers on the video card happen in the kernel rather than in the X driver when the X server starts. This makes it possible to have high resolution, nice looking splash (boot) screens and flicker free transitions from boot splash to login screen. Unfortunately, on some cards this doesn't work properly and you end up with a black screen. Adding the nomodeset parameter instructs the kernel to not load video drivers and use BIOS modes instead until X is loaded.source

Many open source drivers have removed support for non-kernel mode setting, so in those cases when you use nomodeset you will end up falling back to the very basic VESA unaccelerated driver.


How to enable nomodeset option when booting from Ubuntu live USB

From the purple ubuntu screen press the F6 key. If you don't see this screen, shutdown, boot from the Ubuntu live USB again, and immediately after the BIOS/UEFI splash screen during boot, with BIOS, quickly press and hold the Shift key, which will bring up a GNU GRUB menu screen. With UEFI press (perhaps several times) the Esc key to get to the GNU GRUB menu screen. Sometimes the manufacturer's splash screen is a part of the Windows bootloader, so when you power up the machine it goes straight to the GNU GRUB menu screen, and then pressing Shift is unnecessary.

If you see a screen that looks like the menu in the third screenshot, then scroll down to the next section (How to enable nomodeset option when booting from hard disk) and follow the instructions in that section instead.

enter image description here

After pressing F6, press Enter on nomodeset and an "x" will appear to the left of the option. Press Esc to leave the popup menu. The selections are retained at the time the user presses the Esc key. Then use the down arrow key to highlight the Install Ubuntu option and press the Enter key to select it.

enter image description here


How to enable nomodeset option when booting from hard disk

Safe Graphics Mode. A new option is added to the GRUB menu in 19.04 and later which will boot with nomodeset on. This may help you resolve issues on certain graphics cards and allow you to boot and install any proprietary drivers needed by your system.

Immediately after the BIOS/UEFI splash screen during boot, with BIOS, quickly press and hold the Shift key, which will bring up a GNU GRUB menu screen. With UEFI press (perhaps several times) the Esc key to get to the GNU GRUB menu screen. Sometimes the manufacturer's splash screen is a part of the Windows bootloader, so when you power up the machine it goes straight to the GNU GRUB menu screen, and then pressing Shift is unnecessary.

You will see a GNU GRUB menu screen that looks like this:

enter image description here

Press e to enter editing mode. This will bring up a GNU GRUB screen that looks like this:

enter image description here

Use the arrow keys to navigate when screen editing the above screen. Navigate to after the string on this screen that starts with root=. In this example screen the full string is root= followed by UUID= and a hexadecimal string as shown below:

root=UUID=bcf15ef2-a0b2-4753-9558-8399dd12a729   

Immediately after this string replace ro quiet splash by nomodeset quiet splash. This change is only temporary — it will just be used once and GRUB won't remember it in the future. Press Ctrl+X or F10 to boot with the nomodeset option that was added. If you make a mistake, press Esc to go back to the previous screen.

To make the change permanent you need to add it to the /etc/default/grub file. Append nomodeset inside the quotes of the line GRUB_CMDLINE_LINUX_DEFAULT="...". Then update your grub settings with sudo update-grub.

167 questions
118
votes
2 answers

What does `nomodeset` do

Since installing Ubuntu 12.10 I have been playing around trying to get my Radeon HD 5450 gpu to work with the proprietary driver, as from the start installing the driver meant losing unity. I won't list the steps I took as it is not a requirement to…
Chris Carter
  • 2,997
5
votes
2 answers

How to boot without 'nomodeset'?

I installed Ubuntu 12.04 on my laptop, and am now trying to get it to run. In the grub menu, if I load it normally, all I get is a black screen. In order for it to boot successfully, I have to edit the menu item and add 'nomodeset'. With this,…
1
vote
1 answer

Colored Vertical Lines upon boot and nomodeset DOES NOT fix it

I have installed Lubuntu 13.04 on a Dell Inspiron 1501 laptop, rebooted the machine and encountered this problem. I edited the GRUB configuration to remove "quite splash" and enter "nomodeset", updated grub, and everything was fine. I could reboot…