Difference between revisions of "Grub-Legacy-gfx"

From ArchWiki
Jump to navigation Jump to search
 
(Whole new page. Based on Grub-gfx (Deutsch) and Graphical GRUB)
Line 1: Line 1:
#REDIRECT [[Grub-gfx (Deutsch)]]
+
[[Category:Boot process (English)]]
 +
[[Category:HOWTOs (English)]]
 +
{{Article summary start}}
 +
{{Article summary text|Grub-gfx is a version of Grub patched to enable background images on your bootloader screen.}}
 +
{{Article summary heading|Available in languages}}
 +
{{i18n_entry|Deutsch|Grub-gfx (Deutsch)}}
 +
{{Article summary heading|Related articles}}
 +
{{Article summary wiki|GRUB}}
 +
{{Article summary wiki|Reinstalling GRUB}}
 +
{{Article summary wiki|Grub configure examples}}
 +
{{Article summary end}}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
==Installtion==
 +
The grub-gfx package is in the community repo. Check <code>/etc/[[pacman.conf]]</code> and make sure <code>[community]</code> is uncommented.
 +
[community]
 +
# Add your preferred servers here, they will be used first
 +
Include = /etc/pacman.d/mirrorlist
 +
 
 +
Back up your current Grub configuration. During the package installation this should actually happen automatically, this is more of a precaution.
 +
 
 +
cp /boot/grub/menu.lst /boot/grub/menu.lst.bac
 +
 
 +
Now download and install grub-gfx, this will also remove the normal grub package if it is installed.
 +
 
 +
pacman -Sy grub-gfx
 +
 
 +
After the installation check <code>/boot/grub/menu.lst</code>. Edit it accordingly to match the boot entries in your backup. If you failed to create your own backup, check for <code>/boot/grub/menu.lst.pacsave</code>. You could also just overwrite your back up copy over the new menu.lst and proceed to the configuration below.
 +
 
 +
==Configuration==
 +
The only change in configuration is the addition of the <code>splashimage</code> line. In the default /boot/grub/menu.lst you will see the following:
 +
# general configuration:
 +
timeout  5
 +
default  0
 +
color light-blue/black light-cyan/blue
 +
splashimage /boot/grub/arch.xpm.gz
 +
 
 +
Otherwise you will simply be adding the last line to your existing menu.lst. This line will point to the image you want to use as the background during your boot selection screen. Note, '''this line is relative to Grub's root partition'''. Meaning if you have your own /boot partition the above should read:
 +
splashimage /grub/arch.xpm.gz
 +
 
 +
==(Re)Installing Grub==
 +
Now we will need to install Grub to overwrite your current Grub installation or bootloader. Please read the wiki pages on [[Grub]] and [[reinstalling GRUB]] if you have no experience doing this. On a fairly "standard" install this would mean executing something like:
 +
 
 +
grub-install /dev/sda
 +
 
 +
But remember to adjust according to your system.
 +
 
 +
== Using Splash Images ==
 +
=== Requirements ===
 +
Splash images have to be xpm.gz file type, 640x480, and only 14 colors.
 +
=== Installing New Splash Images ===
 +
Just put the splash screen in the grub directory i.e. <code>/boot/grub/</code>. Then update your <code>menu.lst</code> to point to the image. No need to reinstall Grub. Just reboot and you should see the new image.
 +
 
 +
==Troubleshooting==
 +
===Black screen, no menu, blinking prompt===
 +
You should still be able to select an OS and boot from this screen. Once you are back into your system check your <code>menu.lst</code> file again. Ensure the path to your splash screen is correct. Remember, splashimage line is relative to Grub's root partition. If you have Grub on it's own /boot partition the line will read splashimage /grub/splashscreen.xpm.gz. Then remember to make sure you actually have the splash screen you wish to use in that directory.
 +
 
 +
== External Links ==
 +
[http://www.schultz-net.dk/grub.html Collection of Grub splashes]
 +
 
 +
[http://ruslug.rutgers.edu/~mcgrof/grub-images/ GRUB Splash Image Howto]
 +
 
 +
[http://gentoo-wiki.com/HOWTO_Splash_image_in_GRUB Creating Grub splash images]

Revision as of 17:42, 18 January 2008

Template:Article summary start Template:Article summary text Template:Article summary heading Template:I18n entry Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary wiki Template:Article summary end



Installtion

The grub-gfx package is in the community repo. Check /etc/pacman.conf and make sure [community] is uncommented.

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

Back up your current Grub configuration. During the package installation this should actually happen automatically, this is more of a precaution.

cp /boot/grub/menu.lst /boot/grub/menu.lst.bac

Now download and install grub-gfx, this will also remove the normal grub package if it is installed.

pacman -Sy grub-gfx

After the installation check /boot/grub/menu.lst. Edit it accordingly to match the boot entries in your backup. If you failed to create your own backup, check for /boot/grub/menu.lst.pacsave. You could also just overwrite your back up copy over the new menu.lst and proceed to the configuration below.

Configuration

The only change in configuration is the addition of the splashimage line. In the default /boot/grub/menu.lst you will see the following:

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue
splashimage /boot/grub/arch.xpm.gz

Otherwise you will simply be adding the last line to your existing menu.lst. This line will point to the image you want to use as the background during your boot selection screen. Note, this line is relative to Grub's root partition. Meaning if you have your own /boot partition the above should read:

splashimage /grub/arch.xpm.gz

(Re)Installing Grub

Now we will need to install Grub to overwrite your current Grub installation or bootloader. Please read the wiki pages on Grub and reinstalling GRUB if you have no experience doing this. On a fairly "standard" install this would mean executing something like:

grub-install /dev/sda

But remember to adjust according to your system.

Using Splash Images

Requirements

Splash images have to be xpm.gz file type, 640x480, and only 14 colors.

Installing New Splash Images

Just put the splash screen in the grub directory i.e. /boot/grub/. Then update your menu.lst to point to the image. No need to reinstall Grub. Just reboot and you should see the new image.

Troubleshooting

Black screen, no menu, blinking prompt

You should still be able to select an OS and boot from this screen. Once you are back into your system check your menu.lst file again. Ensure the path to your splash screen is correct. Remember, splashimage line is relative to Grub's root partition. If you have Grub on it's own /boot partition the line will read splashimage /grub/splashscreen.xpm.gz. Then remember to make sure you actually have the splash screen you wish to use in that directory.

External Links

Collection of Grub splashes

GRUB Splash Image Howto

Creating Grub splash images