Saturday, April 17, 2010

Best Espresso Machines For Under 200

View A small image Grub2 Ubuntu

Hi, as the first journal, published here is a guide on how to be grub2 menu (if it is for display) can change in Ubuntu.

grub2 after the installation is capable of displaying a background image. But as this is not there, GRUB will automatically drop to the text console. The image may be reproduced in one of the formats
. Jpg
, . Png or
. Tga
 present, the location is by default 
/ boot / grub
or
/ usr / share / images / desktop-base and the name was more than blue-orbit-grub.png
 or more blue-orbit-grub.tga 
set.

In order to change the image, can the etc/grub.d/05_debian_theme / edit directly, but is not recommended, because this file could be overwritten after every update. to take
 Instead, the change in the above file before, you can easily create a script which integrates the background image: 

Specifies a one file in the folder named grub_background.sh / usr / share / images / desktop-base to
. This file you can, for example in your home directory and then create copy: sudo chmod + x

/ home / your username
 / grub_background.sh 
sudo mkdir / usr / share / desktop-base
see the contents of the file so from: #! / Bin / sh-e #
name of the script = 'grub_background.sh'
 WALLPAPER = "/ usr / share / images / desktop-base / more blue-orbit-grub.png" 
COLOR_NORMAL = "black / black"
COLOR_HIGHLIGHT = "magenta / black"

if ["$ {GRUB_MENU_PICTURE}"] then echo
 "My Data used for 05_debian_theme"> & 2 

[$ {GRUB_COLOR_NORMAL}] & & COLOR_NORMAL = "$ GRUB_COLOR_NORMAL {} "


Once your file is created, you can in the file / etc / default / grub adapt this script with the following variables: export GRUB_MENU_PICTURE = "NamedesBildes.jpg"
export GRUB_COLOR_NORMAL = "dark-gray/black"

export GRUB_COLOR_HIGHLIGHT = "light-gray/black"


    This opens the file with an editor with root privileges:
  1. gksu gedit / etc / default / grub After you've followed these steps, you can picture as the following example, use GRUB image:
     http://gnome-look.org/content/show. php / Linux + Rocks% 21? content = 123 334   

0 comments:

Post a Comment