How do I set 'nomodeset' after I've already installed Ubuntu?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
78
down vote

favorite
40












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


























    up vote
    78
    down vote

    favorite
    40












    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
























      up vote
      78
      down vote

      favorite
      40









      up vote
      78
      down vote

      favorite
      40






      40





      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














      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













      share|improve this question




      share|improve this question








      edited Jul 16 '13 at 16:44









      Jorge Castro

      34.6k104421614




      34.6k104421614










      asked May 1 '11 at 11:38









      Dante Ashton

      2,390103147




      2,390103147




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          85
          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






          • 1




            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










          • Where does the ro go?
            – Hellreaver
            Dec 3 '15 at 9:09






          • 1




            What if there's no quiet splash? Should that be added too?
            – Nic Hartley
            Sep 14 '16 at 3:40

















          up vote
          102
          down vote













          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 save by hitting Ctrl+O, then exit nano with Ctrl+X, then simply run:



          sudo update-grub





          share|improve this answer





























            up vote
            6
            down vote













            I had the same problem. The above solutions are all correct, but it's a bit more tricky when you have to fix this when running from a Live CD. I found this blog post very helpful.



            The author basically proposes to mount the installed Linux from within the LiveCD. I did that, and it helped me a lot. So here are the steps:



            • Run from the Live CD, and either install Ubuntu or move on if already done

            • Check your installed partition with the command "gparted". It opens a Window telling you where you installed Ubuntu. In my case it was /dev/sda2 which contained an ext4 partition.

            • Mount the partition: sudo mount /dev/sdXY /mnt

            • Then mount/bind the directories Grub needs to access:

              sudo mount --bind /dev /mnt/dev &&
              sudo mount --bind /dev/pts /mnt/dev/pts &&
              sudo mount --bind /proc /mnt/proc &&
              sudo mount --bind /sys /mnt/sys


            • Then move on to this environment using chroot, which I found a supersmart idea: sudo chroot /mnt


            • You should now be able to edit /etc/default/grub, as the others pointed out. Like: sudo vi /etc/default/gruband change the line GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" I found it very useful to also remove quiet and splash so I could see something moving on behind the scenes.

            • The author originally noted, he needs that after an installation of Windows, which broke Grub. He had to reinstall. In my case Grub was intact, but my computer (mac) didn't boot with the original Grub settings. So the only thing left for me was update-grub

            The author unmounted, but I just rebooted and the new settings where in place. With the "nomodeset" option I was able to boot Ubuntu and Lubuntu from a MacBook Pro harddisk.






            share|improve this answer



















              protected by Community♦ Sep 13 '12 at 20:32



              Thank you for your interest in this question.
              Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



              Would you like to answer one of these unanswered questions instead?














              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              85
              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






              • 1




                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










              • Where does the ro go?
                – Hellreaver
                Dec 3 '15 at 9:09






              • 1




                What if there's no quiet splash? Should that be added too?
                – Nic Hartley
                Sep 14 '16 at 3:40














              up vote
              85
              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






              • 1




                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










              • Where does the ro go?
                – Hellreaver
                Dec 3 '15 at 9:09






              • 1




                What if there's no quiet splash? Should that be added too?
                – Nic Hartley
                Sep 14 '16 at 3:40












              up vote
              85
              down vote



              accepted







              up vote
              85
              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














              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














              share|improve this answer



              share|improve this answer








              edited Apr 13 '17 at 12:25









              Community♦

              1




              1










              answered May 1 '11 at 15:16









              fossfreedom♦

              146k34323367




              146k34323367











              • 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






              • 1




                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










              • Where does the ro go?
                – Hellreaver
                Dec 3 '15 at 9:09






              • 1




                What if there's no quiet splash? Should that be added too?
                – Nic Hartley
                Sep 14 '16 at 3:40
















              • 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






              • 1




                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










              • Where does the ro go?
                – Hellreaver
                Dec 3 '15 at 9:09






              • 1




                What if there's no quiet splash? Should that be added too?
                – Nic Hartley
                Sep 14 '16 at 3:40















              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




              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




              Dante - added some pictures to help hopefully
              – fossfreedom♦
              May 2 '11 at 14:04




              1




              1




              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




              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












              Where does the ro go?
              – Hellreaver
              Dec 3 '15 at 9:09




              Where does the ro go?
              – Hellreaver
              Dec 3 '15 at 9:09




              1




              1




              What if there's no quiet splash? Should that be added too?
              – Nic Hartley
              Sep 14 '16 at 3:40




              What if there's no quiet splash? Should that be added too?
              – Nic Hartley
              Sep 14 '16 at 3:40












              up vote
              102
              down vote













              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 save by hitting Ctrl+O, then exit nano with Ctrl+X, then simply run:



              sudo update-grub





              share|improve this answer


























                up vote
                102
                down vote













                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 save by hitting Ctrl+O, then exit nano with Ctrl+X, then simply run:



                sudo update-grub





                share|improve this answer
























                  up vote
                  102
                  down vote










                  up vote
                  102
                  down vote









                  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 save by hitting Ctrl+O, then exit nano with Ctrl+X, then simply run:



                  sudo update-grub





                  share|improve this answer














                  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 save by hitting Ctrl+O, then exit nano with Ctrl+X, then simply run:



                  sudo update-grub






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Nov 9 '15 at 10:54









                  hg8

                  9,369115287




                  9,369115287










                  answered May 1 '11 at 11:45









                  Coldfish

                  1,120164




                  1,120164




















                      up vote
                      6
                      down vote













                      I had the same problem. The above solutions are all correct, but it's a bit more tricky when you have to fix this when running from a Live CD. I found this blog post very helpful.



                      The author basically proposes to mount the installed Linux from within the LiveCD. I did that, and it helped me a lot. So here are the steps:



                      • Run from the Live CD, and either install Ubuntu or move on if already done

                      • Check your installed partition with the command "gparted". It opens a Window telling you where you installed Ubuntu. In my case it was /dev/sda2 which contained an ext4 partition.

                      • Mount the partition: sudo mount /dev/sdXY /mnt

                      • Then mount/bind the directories Grub needs to access:

                        sudo mount --bind /dev /mnt/dev &&
                        sudo mount --bind /dev/pts /mnt/dev/pts &&
                        sudo mount --bind /proc /mnt/proc &&
                        sudo mount --bind /sys /mnt/sys


                      • Then move on to this environment using chroot, which I found a supersmart idea: sudo chroot /mnt


                      • You should now be able to edit /etc/default/grub, as the others pointed out. Like: sudo vi /etc/default/gruband change the line GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" I found it very useful to also remove quiet and splash so I could see something moving on behind the scenes.

                      • The author originally noted, he needs that after an installation of Windows, which broke Grub. He had to reinstall. In my case Grub was intact, but my computer (mac) didn't boot with the original Grub settings. So the only thing left for me was update-grub

                      The author unmounted, but I just rebooted and the new settings where in place. With the "nomodeset" option I was able to boot Ubuntu and Lubuntu from a MacBook Pro harddisk.






                      share|improve this answer
























                        up vote
                        6
                        down vote













                        I had the same problem. The above solutions are all correct, but it's a bit more tricky when you have to fix this when running from a Live CD. I found this blog post very helpful.



                        The author basically proposes to mount the installed Linux from within the LiveCD. I did that, and it helped me a lot. So here are the steps:



                        • Run from the Live CD, and either install Ubuntu or move on if already done

                        • Check your installed partition with the command "gparted". It opens a Window telling you where you installed Ubuntu. In my case it was /dev/sda2 which contained an ext4 partition.

                        • Mount the partition: sudo mount /dev/sdXY /mnt

                        • Then mount/bind the directories Grub needs to access:

                          sudo mount --bind /dev /mnt/dev &&
                          sudo mount --bind /dev/pts /mnt/dev/pts &&
                          sudo mount --bind /proc /mnt/proc &&
                          sudo mount --bind /sys /mnt/sys


                        • Then move on to this environment using chroot, which I found a supersmart idea: sudo chroot /mnt


                        • You should now be able to edit /etc/default/grub, as the others pointed out. Like: sudo vi /etc/default/gruband change the line GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" I found it very useful to also remove quiet and splash so I could see something moving on behind the scenes.

                        • The author originally noted, he needs that after an installation of Windows, which broke Grub. He had to reinstall. In my case Grub was intact, but my computer (mac) didn't boot with the original Grub settings. So the only thing left for me was update-grub

                        The author unmounted, but I just rebooted and the new settings where in place. With the "nomodeset" option I was able to boot Ubuntu and Lubuntu from a MacBook Pro harddisk.






                        share|improve this answer






















                          up vote
                          6
                          down vote










                          up vote
                          6
                          down vote









                          I had the same problem. The above solutions are all correct, but it's a bit more tricky when you have to fix this when running from a Live CD. I found this blog post very helpful.



                          The author basically proposes to mount the installed Linux from within the LiveCD. I did that, and it helped me a lot. So here are the steps:



                          • Run from the Live CD, and either install Ubuntu or move on if already done

                          • Check your installed partition with the command "gparted". It opens a Window telling you where you installed Ubuntu. In my case it was /dev/sda2 which contained an ext4 partition.

                          • Mount the partition: sudo mount /dev/sdXY /mnt

                          • Then mount/bind the directories Grub needs to access:

                            sudo mount --bind /dev /mnt/dev &&
                            sudo mount --bind /dev/pts /mnt/dev/pts &&
                            sudo mount --bind /proc /mnt/proc &&
                            sudo mount --bind /sys /mnt/sys


                          • Then move on to this environment using chroot, which I found a supersmart idea: sudo chroot /mnt


                          • You should now be able to edit /etc/default/grub, as the others pointed out. Like: sudo vi /etc/default/gruband change the line GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" I found it very useful to also remove quiet and splash so I could see something moving on behind the scenes.

                          • The author originally noted, he needs that after an installation of Windows, which broke Grub. He had to reinstall. In my case Grub was intact, but my computer (mac) didn't boot with the original Grub settings. So the only thing left for me was update-grub

                          The author unmounted, but I just rebooted and the new settings where in place. With the "nomodeset" option I was able to boot Ubuntu and Lubuntu from a MacBook Pro harddisk.






                          share|improve this answer












                          I had the same problem. The above solutions are all correct, but it's a bit more tricky when you have to fix this when running from a Live CD. I found this blog post very helpful.



                          The author basically proposes to mount the installed Linux from within the LiveCD. I did that, and it helped me a lot. So here are the steps:



                          • Run from the Live CD, and either install Ubuntu or move on if already done

                          • Check your installed partition with the command "gparted". It opens a Window telling you where you installed Ubuntu. In my case it was /dev/sda2 which contained an ext4 partition.

                          • Mount the partition: sudo mount /dev/sdXY /mnt

                          • Then mount/bind the directories Grub needs to access:

                            sudo mount --bind /dev /mnt/dev &&
                            sudo mount --bind /dev/pts /mnt/dev/pts &&
                            sudo mount --bind /proc /mnt/proc &&
                            sudo mount --bind /sys /mnt/sys


                          • Then move on to this environment using chroot, which I found a supersmart idea: sudo chroot /mnt


                          • You should now be able to edit /etc/default/grub, as the others pointed out. Like: sudo vi /etc/default/gruband change the line GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" I found it very useful to also remove quiet and splash so I could see something moving on behind the scenes.

                          • The author originally noted, he needs that after an installation of Windows, which broke Grub. He had to reinstall. In my case Grub was intact, but my computer (mac) didn't boot with the original Grub settings. So the only thing left for me was update-grub

                          The author unmounted, but I just rebooted and the new settings where in place. With the "nomodeset" option I was able to boot Ubuntu and Lubuntu from a MacBook Pro harddisk.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jul 30 '17 at 19:59









                          Christian

                          17614




                          17614















                              protected by Community♦ Sep 13 '12 at 20:32



                              Thank you for your interest in this question.
                              Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                              Would you like to answer one of these unanswered questions instead?


                              Popular posts from this blog

                              pylint3 and pip3 broken

                              Missing snmpget and snmpwalk

                              How to enroll fingerprints to Ubuntu 17.10 with VFS491