Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I know that editing the boot options line and adding 'nomodeset' solves my laptops problem during LiveCD mode, what I don't know is how to set it at boot up through Grub2 after I've installed Ubuntu.

So, my question is, how do I set nomodeset before I boot into Ubuntu?

share|improve this question

2 Answers

up vote 13 down vote accepted

To edit Grub2 during the boot process try the following:

  1. Immediately after the BIOS splash screen during boot, press and hold the SHIFT button. This will display you grub containing a list of kernels and recovery options

    enter image description here

  2. Press e to edit the first kernel displayed

    enter image description here

  3. Find the line ending with quiet splash. Add your boot option before these key words - i.e. so the line looks like [...]nomodeset quiet splash
  4. Press CTRL + X to boot

Follow the steps in Coldfish's answer on how to fix the nomodeset boot option permanently so that you don't have to go through this manual procedure again.

share|improve this answer
I'm afraid I don't have a quiet splash option in that area. I don't recognize any of the lines, actually. – Dante Ashton May 2 '11 at 12:21
Dante - added some pictures to help hopefully – fossfreedom May 2 '11 at 14:04
fossfreedom. Thank you so much! I've had this problem since 10.04! My god, I would hug you if I could! :D – Dante Ashton May 6 '11 at 11:26

You should add this option to /etc/default/grub, firstly:

sudo nano /etc/default/grub

and then add nomodeset to GRUB_CMDLINE_LINUX_DEFAULT:

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
GRUB_CMDLINE_LINUX=""

And then simply run:

sudo update-grub
share|improve this answer
And how do I get into a position to do that, my friend? I've been looking elsewhere and I'm told how to give the command for Grub to boot with nomodeset, but not Grub2. – Dante Ashton May 1 '11 at 13:40
Are you asking for Grub Legacy? – Coldfish May 1 '11 at 19:00

protected by Community Sep 13 '12 at 20:32

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

Not the answer you're looking for? Browse other questions tagged or ask your own question.