Manual "nomodeset" Kernel Boot Line Option for Linux Booting

Summary: Instructions to manually set "nomodeset" Kernal Boot Line Option for Linux Booting.

Article Content


Symptoms


This article contains information about manually setting the nomodeset option for Linux booting.


Manually Set "nomodeset" Intel Driver Option for Linux Booting

YGeneric Canonical Ubuntu media (some OEM Dell media) or other Linux media 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"**

SLN306327_en_US__1icon Note:
* Good for booting off USB or 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).

    SLN306327_en_US__2nomodeset_Linux_HC_ASM_01
    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)

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

    SLN306327_en_US__4nomodeset_Linux_HC_ASM_03
    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"

    SLN306327_en_US__5nomodeset_Linux_HC_ASM_04
    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"

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

If you have further questions about this article, contact Dell Technical Support.


Resolution

 
SLN306327_en_US__7image(13480)  Out of warranty? No problem click here, enter your Service Tag and view our offers. 
 
SLN306327_en_US__8icon Currently, offers are only available for US, Canada, UK, and France PC Customers. Server and Storage not applicable.

 


Article Properties


Last Published Date

10 Apr 2021

Version

3

Article Type

Solution

Rate This Article


Accurate
Useful
Easy to Understand
Was this article helpful?

0/3000 characters