How to change splash image in CentOS 7 grub2
-
- Posts: 2
- Joined: 2015/02/06 10:25:28
How to change splash image in CentOS 7 grub2
Hi,
How can I change grub2 splash screen in CentOS 7? I've searched google but I've found only how to do it in ubuntu. Because different paths, tools, etc. it is not working in CentOS 7. Please, help me change grub2 splash screen.
Thanks,
MakeMe50Cent
How can I change grub2 splash screen in CentOS 7? I've searched google but I've found only how to do it in ubuntu. Because different paths, tools, etc. it is not working in CentOS 7. Please, help me change grub2 splash screen.
Thanks,
MakeMe50Cent
-
- Posts: 2
- Joined: 2015/02/06 10:25:28
Re: How to change splash image in CentOS 7 grub2
Finally, I resolved it by myself...
The problem occured bacause I missed step number 3 in following list. For those who still don't know how to do it:
1) create/convert your splash picture to .tga in gimp
2) edit /etc/default/grub and add line:
GRUB_BACKGROUND="/path/to/your/tga/file.tga"
3) edit /etc/default/grub and comment following line:
GRUB_TERMINAL_OUTPUT="console"
4) run:
grub2-mkconfig -o /boot/grub2/grub.cfg
5) reboot and enjoy your work!
The problem occured bacause I missed step number 3 in following list. For those who still don't know how to do it:
1) create/convert your splash picture to .tga in gimp
2) edit /etc/default/grub and add line:
GRUB_BACKGROUND="/path/to/your/tga/file.tga"
3) edit /etc/default/grub and comment following line:
GRUB_TERMINAL_OUTPUT="console"
4) run:
grub2-mkconfig -o /boot/grub2/grub.cfg
5) reboot and enjoy your work!
Re: How to change splash image in CentOS 7 grub2
Wow, finally a working trick. Thanks for posting it
Re: How to change splash image in CentOS 7 grub2
This does not work with my machine. I am using EFI to boot. Can you help?
root:[~]# cat /etc/default/grub
GRUB_TIMEOUT="3"
GRUB_DEFAULT="saved"
GRUB_DISABLE_SUBMENU="true"
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet acpi_backlight=vendor"
GRUB_DISABLE_RECOVERY="true"
GRUB_CMDLINE_LINUX_DEFAULT="elevator=cfq transparent_hugepage=never"
GRUB_BACKGROUND="/usr/share/backgrounds/gnome/FootFall.tga"
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
root:[~]# cat /etc/default/grub
GRUB_TIMEOUT="3"
GRUB_DEFAULT="saved"
GRUB_DISABLE_SUBMENU="true"
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet acpi_backlight=vendor"
GRUB_DISABLE_RECOVERY="true"
GRUB_CMDLINE_LINUX_DEFAULT="elevator=cfq transparent_hugepage=never"
GRUB_BACKGROUND="/usr/share/backgrounds/gnome/FootFall.tga"
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
Re: How to change splash image in CentOS 7 grub2
Did you carry out step #3? From your post it would seem you too missed that one...
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.
-
- Posts: 48
- Joined: 2012/04/01 09:07:48
Re: How to change splash image in CentOS 7 grub2
For step 3 change your path to
Code: Select all
/boot/efi/EFI/centos/grub.cnf
Re: How to change splash image in CentOS 7 grub2
Guys!
make sure to 'chmod +x' your image file in whatever directory it is.
I troed everything with no success thousand times until I changed the file permission and it was done.
Thanks.
make sure to 'chmod +x' your image file in whatever directory it is.
I troed everything with no success thousand times until I changed the file permission and it was done.
Thanks.
Re: How to change splash image in CentOS 7 grub2
still facing same issue, splash image is not showing.
steps followed
vim /etc/default/grub
GRUB_TERMINAL_OUTPUT="console"
GRUB_BACKGROUND=”/home/kss/Pictures/edit.tga”
chmod +x /home/kss/Pictures/edit.tga
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot PC still not gettting the splash image
steps followed
vim /etc/default/grub
GRUB_TERMINAL_OUTPUT="console"
GRUB_BACKGROUND=”/home/kss/Pictures/edit.tga”
chmod +x /home/kss/Pictures/edit.tga
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot PC still not gettting the splash image
Re: How to change splash image in CentOS 7 grub2
I'd copy that file to somewhere under /boot as /home could potentially be on a different, unmounted filesystem.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 1
- Joined: 2016/12/16 18:43:33
Re: How to change splash image in CentOS 7 grub2
Changing CentOS 7 Grub Background
(CentOS Linux release 7.3.1611, x86_64)
1. Prepare a newfile.tga. Mine is 640x480, exported as targa with the Gimp as tga. It is also -rw-r--r-- root:root (but user does not matter)
2. Edit grub:
Two changes:
GRUB_BACKGROUND="/boot/grub/newfile.tga"
#GRUB_TERMINAL_OUTPUT="console"
Now it looks like this:
3. update-grub CentOS style:
4. Reboot n´enjoy:
Greetings, TranceFormator.
(CentOS Linux release 7.3.1611, x86_64)
1. Prepare a newfile.tga. Mine is 640x480, exported as targa with the Gimp as tga. It is also -rw-r--r-- root:root (but user does not matter)
2. Edit grub:
Code: Select all
vi /etc/default/grub
GRUB_BACKGROUND="/boot/grub/newfile.tga"
#GRUB_TERMINAL_OUTPUT="console"
Now it looks like this:
Code: Select all
GRUB_BACKGROUND="/boot/grub/newfile.tga"
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
#GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/swap crashkernel=auto selinux=0 rd.lvm.lv=centos/root vconsole.font=latarcyrheb-sun16 vconsole.keymap=de rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
Code: Select all
grub2-mkconfig -o /boot/grub2/grub.cfg
Code: Select all
init 6