Grub2 is used in Ubuntu 9.10, and its settings are completely different from Grub1. Grub2 is more convenient and has more functions. The following describes how to implement Grub2 background settings.
To view Grub2 background settings, follow these steps:
$ Grub-install-v
Grub-install (gnu grub 1.97 ~ Beta4)
Install Grub2 Splashimages:
$ Sudo apt-get install grub2-splashimages
Note: These files are installed in the/usr/share/images/grub directory.
To configure Grub2, follow these steps:
Grub2 configuration does not directly edit/boot/grub. cfg,
(1) files in the/etc/grub. d directory
(2)/etc/default/grub
After these files are modified, run update-grub to automatically generate/boot/grub. cfg.
Files under/etc/grub. d are named similarly to files under/etc/rcX. d.
/Etc/default/grub stores some global parameters, such as GRUB_DEFAULT and GRUB_TIMEOUT.
Grub2 background example: Modify Grub2 background image
For example, use/usr/share/imagse/grub/Windbuchencom. tga as the background image:
[Step 1]
Modify/etc/grub. d/05_debian_theme and find this line:
For I in {/boot/grub,/usr/share/images/desktop-base}/moreblue-orbit-grub. {png, tga}; do
Changed:
For I in {/boot/grub,/usr/share/images/desktop-base,/usr/share/images/grub}/Windbuchencom. {png, tga}; do
In this way, Grub will:
/Boot/grub
/Usr/share/images/desktop-base
/Usr/share/images/grub
Find the Winbuchencom file with the suffix png or tga.
NOTE: If your image is in JPG format, you only need to add a jpg image after the suffix.
[Step 2]
$ Sudo update-grub
In this way, you can see it after the restart.
If you want to modify the image resolution, the ratio is 1334x768, then modify/etc/default/grub: GRUB_GFXMODE = 1334x768