Here's a little guide on how to change the background of Grub 2 with one of your choice on Ubuntu 9.10.
first refresh our
Ubuntu sudo apt-get update
sudo apt-get upgrade
then once installed update sudo aptitude install
grub2-splashimages
with this we already provided some background and find them saved in
/ Usr / share / images / grub.
first time the file 05_debian_theme to do just write terminal
sudo gedit / etc/grub.d/05_debian_theme
and look for the following line (from Gedit ctrf + f)
for i in {/ boot / grub / usr / share / images / desktop-base} / moreblue-orbit-grub. {png, tga}
Now modify the line by adding the path in the name of the image to put in the background (for example, we Plasma-image lamp.tga) modificara the line will be:
{for i in / boot / grub / usr / share / images / desktop-base / usr / share / images / grub} / Plasma-lamp . {png, tga}
save everything and update our grub with 2
sudo update-grub2
and restart
Warning
If we want to use a different resolution for your background we have to correct the file 00_header to do enough to give a terminal
sudo gedit / etc/grub.d/00_header
look for the line (from Gedit ctrf + f)
if ["$ {x} GRUB_GFXMODE" = "x"]; then GRUB_GFXMODE = 640 × 480; fi
640 × 480 and change the resolution you want.
With the new background you may have problems of readability due to a wrong contrast of colors, we can also change the color of the grub entries 2.
going to change the usual 05_debian_theme
giving a terminal sudo gedit / etc/grub.d/05_debian_theme
and try the following code: if
background_image make_system_path_relative_to_its_root `$ {bg}`; then
September color_normal = black / black
September color_highlight = magenta / black else
where:
color_normal is the normal color of the text is
color_highlight text highlighting
just change the pairs with the colors that we want can be:
black (transparent) dark-gray light-gray white brown cyan light magenta light cyan-magenta-yellow-red light red light blue light green-blue-green
thank forum.ubuntu -it to the starting point of the guide
Next To: )
0 comments:
Post a Comment