Editing grub2 for Ubuntu 10.2 to get over ctrl-alt-f1 (or ctrl alt f2-f6) issues in Ubuntu

This turns out to be much more painful than grub (v1) which had a simple menu.lst file. The new grub2 autoupdates based on kernel updates, which is great, but makes it a pain to edit basic configuration.

In my case I was attempting to change the default splash in an attempt to correct a framebuffer problem causing my ctrl-alt-f1 to not work. I went and updated the grub.cnf (equal to menu.lst file in grub1) file, but soon realized that it will be overwritten.

Reading further revealed that the trick is to update the /etc/default/grub file instead. Thereafter one has to run the update-grub command

So much to get ctrl-alt-f1 to get me a terminal!

(this applies to 10.2 atleast)

Amplify’d from help.ubuntu.com
  • No /boot/grub/menu.lst. It has been replaced by /boot/grub/grub.cfg.

GRUB vs GRUB 2

  • The primary configuration file for changing menu display settings is /etc/default/grub.

  • No changes made in the configuration files will take effect until the update-grub command is also run.

Read more at help.ubuntu.com

 

About these ads

1 Comment

  1. Pingback: Ctrl-Alt-F1 = Black,blank screen?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s