Azitech

Azimout's Linux weblog

customizing grub2

leave a comment »

Since 9.10 (Karmic), Ubuntu uses Grub2 (package grub-pc) on new installations. This new version is much more flexible and modular than version 1 (now called Grub Legacy). Here are some customizations I like to make:

  1. Reduce the timeout: edit /etc/default/grub and set GRUB_TIMEOUT=3
  2. Remove the “memtest86+” and “recovery mode” menu entries: remove the memtest86+ package and uncomment GRUB_DISABLE_LINUX_RECOVERY="true" in /etc/default/grub
  3. Increase the resolution of the grub menu: set GRUB_GFXMODE=1280x1024,1024x768,800x600,640x480 in /etc/default/grub
  4. Add a grub splash image to the grub menu: install the package grub2-splashimages (or choose another image with the right resolution) and modify /etc/grub.d/05_debian_theme accordingly
  5. See the kernel output instead of the bootsplash while booting (usplash/plymouth): remove the words “quiet” and “splash” from GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub
  6. Increase the screen resolution of the kernel output: add “vga=771” to GRUB_CMDLINE_LINUX in /etc/default/grub
  7. Add a beep when entering the grub menu: uncomment GRUB_INIT_TUNE=”480 440 1″ in /etc/default/grub
Advertisements

Written by azimout

16/04/2010 at 18:25

Posted in Tricks

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

%d bloggers like this: