User Tools

Site Tools


grub:custom_grub_splash_image

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
grub:custom_grub_splash_image [2017/01/30 14:20] – created petergrub:custom_grub_splash_image [2019/11/29 16:10] (current) – removed peter
Line 1: Line 1:
-====== Grub - Custom GRUB splash image ====== 
  
-Get an image file to use for the new splash image (can be some wallpaper in jpg, png format). 
- 
-Check whether ImageMagick rpm is installed 
- 
-<code bash> 
-rpm -q ImageMagick 
-</code> 
- 
-If it's not installed you have to install it first 
- 
-<code bash> 
-yum -y install ImageMagick 
-</code> 
- 
-Then, Assuming the image is in the root's home folder & the image name is "myboot.jpg" 
- 
-<code bash> 
-cd 
-convert myboot.jpg -resize 640x480! -colors 14 -depth 8 myboot.xpm 
-ls 
-</code> 
- 
-Now you will be able to see a file call "myboot.xpm". 
- 
-Then you have to gzip it. 
- 
-<code bash> 
-gzip myboot.xpm 
-ls 
-</code> 
- 
-Now you will be able to see a file call "myboot.xpm.gz" 
- 
-Then you have to copy it to "/boot/grub" folder: 
- 
-<code bash> 
-cp myboot.xpm.gz /boot/grub 
-</code> 
- 
-Edit "grub.conf" file with your favorite text editor: 
- 
-<code bash> 
-vi /etc/grub.conf 
-</code> 
- 
-Edit the following line 
- 
-<file> 
-splashimage=(hd0,0)/grub/splash.xpm.gz 
-</file> 
- 
-to 
- 
-<file> 
-splashimage=(hd0,0)/grub/myboot.xpm.gz 
-</file> 
- 
-<WRAP IMPORTANT> 
-**IMPORTANT**: DON'T EDIT ANY OTHER PARAMETER OF THE LINE, ONLY CHANGE THE IMAGE FILE NAME. 
-</WRAP> 
- 
-Save & exit. 
- 
-Reboot your system. 
- 
-<code bash> 
-reboot 
-</code> 
- 
-You should see the new GRUB spalsh image during the startup. 
grub/custom_grub_splash_image.1485786033.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki