Home > Grub, Linux, Ubuntu > Grub 2 and high resolution background …

Grub 2 and high resolution background …


GRUB 2 like GNOME 3 is completely written from scratch with improved flexibility and performance. GRUB 2 is version 1.98 or higher, the latest available version AFAIK is 1.99~RC.

You can check the version of your GRUB using the terminal command

grub-install -v

Though its mentioned that GRUB 2, is shipped along with Natty Narwhal, somehow it was not installed on my system on upgrading to Natty. I had to separately install it.

Major features of GRUB 2 are listed below

  • Scripting support including conditional statements and
  • functions
  • Dynamic module loading
  • Rescue mode
  • Custom Menus
  • Themes
  • Graphical boot menu support and improved splash capability
  • Boot LiveCD ISO images directly from hard drive
  • New configuration file structure
  • Non-x86 platform support (such as PowerPC)
  • Universal support for UUIDs (not just Ubuntu)

Some of the differences you will see in GRUB 2 are listed below

  • On New installation with no other installed OS for dual boot GRUB 2 Menu will not been displayed and will jump directly to the desktop, and for you to display Menu, hold down the “SHIFT” key
  • /boot/grub/menu.lst is replaced by /boot/grub/grub.cfg, this file has no write permission even for root and is overwritten anytime there is an update, a kernel is added/removed, or the user runs update-grub.
  • Running update-grub updates the list of accesible Kernels from the directory of files in /boot.
  • Now the question is how can we customise the entries If /boot/grub/grub.cfg can’t be edited ? No worries, one can use a custom file, /etc/grub.d/40_custom, in which the user can place his own entries. This file will not be overwritten.
  • The primary configuration file for changing menu display settings is /etc/default/grub and there are multiple files for configuring the menu – all the files in the /etc/grub.d/ directory.
  • Partition numbering has changed. The first partition is now 1 rather than 0. The first device is still hd0 by default (no change), although this can be changed in /boot/grub/device.map.
  • One more major difference is , no hassles for making the entries of you Windows OS or any other OSs,GRUB 2 provides automated searches for other OS whenever update-grub is executed..
  • Support for high resolution background and in a very easy steps, definitely like how humans do 🙂

How to install GRUB 2 ?

sudo apt-get install grub-pc

Follow the interactive Menu for Installation and reboot, Select

chainload into GRUB2

Check if everything is working fine, and after confirmation, use the terminal command

sudo upgrade-from-grub-legacy

You GRUB 2 is ready for use.

How to have a high resolution image background for my GRUB 2 ?
Simple ,
Copy any image (jpg, png or tga) to the /boot/grub folder and run the terminal command.

“sudo update-grub”.

GRUB 2 follows the below priority for searching the background

  • GRUB_BACKGROUND= setting in /etc/default/grub
  • First image found in /boot/grub in this order: jpg, JPG, jpeg, JPEG, png, PNG, tga, TGA and multiple images of same extension will be taken in alphanumeric order
  • Wallpaper designated in /usr/share/desktop-base/grub_backgorund.sh (if desktop-base installed)
  • /usr/share/images/desktop-base/desktop-grub.png (if desktop-base is installed)
  • Default theme

You can also do font/color/background settings but all that in next session, signing off for now.

Advertisements
Categories: Grub, Linux, Ubuntu Tags: , ,
  1. May 29, 2011 at 1:42 pm

    I like your post

    • NirajKakodkar
      May 29, 2011 at 2:38 pm

      Thanks Deonna ..

  2. May 31, 2011 at 6:45 pm

    Cheers for your website, keep up the extraordinary work and do not stop

  3. May 31, 2011 at 7:45 pm

    Excellent web site, outstanding content.

  1. No trackbacks yet.

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: