0

I am trying to edit this file to add "nomodeset" to the end of the line.

Is there any way to edit a buffer? Is there a work-around for this?

enter image description here

  • 1
    I can tell you what files to edit in what way to make update-grub add the nomodeset flag to your kernel line every time, if you know how to use an editor. I never used Emacs though and don't know how it relates to your problem. – David Foerster Sep 15 '14 at 19:30
  • emacs is an editor...which editor do you use? yes I'd like help, thanks! – Alexander Mills Sep 15 '14 at 22:18
  • sudo nano /etc/default/grub Then make your changes and ctrl+x to exit. Then update grub. sudo update-grub – amanthethy Sep 15 '14 at 23:06

1 Answers1

1
  • Open Ubuntu's configuration file for grub:

    sudo nano /etc/default/grub
    
  • Edit the content of the variable GRUB_CMDLINE_LINUX to include the word nomodeset

  • Use ctrl+x to save the file and exit nano.

  • Update the grub boot script to use your new config with sudo update-grub.

amanthethy
  • 1,251