Manual "nomodeset" Kernel Boot Line Option for Linux Booting

Manual "nomodeset" Kernel Boot Line Option for Linux Booting



Manually Set "nomodeset" Intel Driver Option for Linux Booting

You may find that generic Canonical Ubuntu media, some OEM Dell media, or other Linux media such as Fedora or RedHat does not boot to the live environment or installer as usual and instead the system will hang or get stuck.

The first troubleshooting step that may resolve your boot issue and allow you to install Ubuntu is to disable the intel graphics features by setting the "nomodeset" option before boot.

You can do this either for one time booting as shown in "Part I"* or you can also make it permanent as seen in "Part II"**

Note:
* Good for booting off of USB/Install media.
** Good for making permanent if your OS crashes or hangs after installing.

Solution I & II

Solution - Part I

  1. With media attached, power on the system.
  2. Watch for the " GNU GRUB" bootloader screen.
  3. When you see the option for "Ubuntu" as shown, press the "E" key on your keyboard (Figure 1).


    Figure 1
  4. In the editor, use the arrow keys to locate the end of the line that starts with "linux /boot/vmlinuz***" (each bootloader may say something slightly different). (Figure 2)


    Figure 2
  5. Type the "nomodeset" line option into the end of the line. (Figure 3)


    Figure 3
  6. Now press "CTRL+X" keys and your system should boot to the normal installer or live environment like normal.

Solution – Part II (Permanent "nomodeset" option)

  1. Open a terminal and type "sudo gedit /etc/default/grub"
  2. Enter your password if prompted.
  3. Move the cursor to the line that looks like the following (Figure 4):
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"


    Figure 4
  4. Change that line to match the following (Figure 5):
    (you can also remove quiet and or splash variables to troubleshoot no-boot issues)
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"


    Figure 5
  5. Click "Save".
  6. Close the window.
  7. In the terminal, type "sudo update-grub2" and hit enter.
  8. Once complete, you should be able to reboot your computer with this change made.




Article ID: SLN306327

Last Date Modified: 09/04/2018 03:09 PM


Rate this article

Accurate
Useful
Easy to understand
Was this article helpful?
Yes No
Send us feedback
Comments cannot contain these special characters: <>()\
Sorry, our feedback system is currently down. Please try again later.

Thank you for your feedback.