Difference between revisions of "Grub-Legacy-gfx"

From ArchWiki
Jump to: navigation, search
(fix note)
(archive article, flagged July 6)
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Boot loaders]]
#REDIRECT: [[ArchWiki:Archive]]
[[Category:Eye candy]]
{{Note|[[GRUB Legacy]] has been deprecated and replaced by [[GRUB]] in Arch Linux. See the news [https://www.archlinux.org/news/grub-legacy-no-longer-supported/ here]. GRUB also offers enhanced graphical capabilities, such as background images and bitmap fonts. Users are recommended to switch to [[GRUB]] or [[Syslinux]] instead.}}
{{Out of date}}
{{Article summary start}}
{{Article summary text|{{AUR|grub-gfx}} is a version of GRUB patched to enable background images on your bootloader screen.}}
{{Article summary heading|Related}}
{{Article summary wiki|GRUB Legacy}}
{{Article summary wiki|GRUB}}
{{Article summary end}}
The {{AUR|grub-gfx}} package is in the [[AUR]]. Note that the package can be compiled on x86_64 architecture only with gcc-multilib.
Backup your current [[GRUB]] configuration. (During the package installation, this should happen automatically; this is a precautionary step.)
# cp /boot/grub/menu.lst /boot/grub/menu.lst.bak
The {{Pkg|grub}} package will be replaced if it is installed.
After the installation check {{ic|/boot/grub/menu.lst}}. Edit it accordingly to match the boot entries in your backup. If you failed to create your own backup, look for {{ic|/boot/grub/menu.lst.pacsave}}. You could also just overwrite your backup copy over the new {{ic|menu.lst}} and proceed to the configuration below.
The only change in configuration is the addition of the {{Ic|splashimage}} line. In the default {{ic|/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/splash.xpm.gz
Otherwise, you will simply be adding the last line to your existing {{ic|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 {{ic|/boot}} partition, the above should read:
splashimage /grub/splash.xpm.gz
Finally, it is necessary to (re)install GRUB to overwrite your current GRUB installation or bootloader. Please read [[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.
==Splash images==
Splash images have to be {{ic|.xpm.gz}} file type, 640x480, and only 14 colors.
To install a new splash image, copy the image to the GRUB directory (i.e. {{ic|/boot/grub/}}) then update your {{ic|menu.lst}} to point to the image. No need to reinstall GRUB; just reboot and you should see the new image.
===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 {{ic|menu.lst}} file again. Ensure the path to your splash screen is correct. Remember, {{Ic|splashimage}} line is relative to GRUB's root partition. If you have GRUB on its own {{ic|/boot}} partition, the line will read {{Ic|splashimage /grub/splash.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]

Latest revision as of 16:46, 26 August 2016

Redirect to: