# Customized splash screen in mender SD image

**URL:** <https://hub.mender.io/t/customized-splash-screen-in-mender-sd-image/2944>\
**Category:** General Discussions\
**Tags:** x86-grub\
**Created:** [December 7, 2020, 12:42pm UTC](https://hub.mender.io/t/customized-splash-screen-in-mender-sd-image/2944 "2020-12-07T12:42:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rohita83](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rohita83/32/436_2.png) [@Rohita83](https://hub.mender.io/u/Rohita83)\
**Post date:** [December 7, 2020, 12:42pm UTC](https://hub.mender.io/t/customized-splash-screen-in-mender-sd-image/2944/1 "2020-12-07T12:42:15Z")

</div>

I have created mender SD image using Ubuntu 18.04 base image.  
Now I want to add customized splash screen.  
I followed below link and added line “GRUB\_BACKGROUND=”/boot/grub2/images/RHEL\_8\_Desktop.png" in /etc/default/grub and ran command “sudo update grub”.

> **[5 easy steps change grub2 background image splash screen | GoLinuxCloud](https://www.golinuxcloud.com/change-grub2-background-image-splash-screen/)**
>
> Steps to change grub2 background image in Linux. The steps are valid for both legacy and UEFI BIOS. Use any JPE/JPEG or PNG image to set your own boot loader splash screen

But still I don’t see customized splash screen on boot.

@drewmoseley @mirzak any idea how can I achieve it.

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [December 7, 2020, 3:16pm UTC](https://hub.mender.io/t/customized-splash-screen-in-mender-sd-image/2944/2 "2020-12-07T15:16:41Z")

</div>

That is going to depend heavily on what your target distro is and whether it even uses GRUB and supports a splash screen.

You can add an image to the kernel that replaces the tux logo in the kernel console but that will come after the bootloader.

---

<div class="post-metadata">

**Author:** ![Rohita83](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rohita83/32/436_2.png) [@Rohita83](https://hub.mender.io/u/Rohita83)\
**Post date:** [December 8, 2020, 11:40am UTC](https://hub.mender.io/t/customized-splash-screen-in-mender-sd-image/2944/3 "2020-12-08T11:40:19Z")

</div>

@drewmoseley My target distro is Ubuntu X86.  
I have installed ubuntu base image in virtual box and then created img file out of it and then passed it as a input to mender-convert tool to generate SD image.  
So when I install image in virtual box, I can see splash screen appears. but when I create and install SD image on my device, splash screen doesn’t appear.

I also want to disable console logs on shutdown.  
Followed link - [https://askubuntu.com/questions/938808/how-to-not-have-console-messages-on-shutdown](https://askubuntu.com/questions/938808/how-to-not-have-console-messages-on-shutdown)  
and did following changes,  
`/etc/sysctl.d/10-console-messages.conf` and set  
`kernel.printk = 0 4 1 7`

But I still see logs on shutdown. But same thing works in ubuntu base image.  
Any idea why the similar things doesn’t work in mender SD image ?

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [December 8, 2020, 3:10pm UTC](https://hub.mender.io/t/customized-splash-screen-in-mender-sd-image/2944/4 "2020-12-08T15:10:13Z")

</div>

The splashscreen bits don’t work because Mender uses a highly customized grub.cfg. You may want to take a look at [this repo](https://github.com/mendersoftware/grub-mender-grubenv) as that will likely need to be modified to support splashscreens.

As for the console log messages I don’t know. I suspect it is because of the changes made in grub.cfg to the kernel command line and such. That’s where I would start digging.

Drew

---

<div class="post-metadata">

**Author:** ![Rohita83](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rohita83/32/436_2.png) [@Rohita83](https://hub.mender.io/u/Rohita83)\
**Post date:** [December 9, 2020, 2:52pm UTC](https://hub.mender.io/t/customized-splash-screen-in-mender-sd-image/2944/5 "2020-12-09T14:52:39Z")

</div>

Thanks @drewmoseley. I will have a look into that repository.

---

<div class="post-metadata">

**Author:** ![Rohita83](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rohita83/32/436_2.png) [@Rohita83](https://hub.mender.io/u/Rohita83)\
**Post date:** [December 28, 2020, 11:14am UTC](https://hub.mender.io/t/customized-splash-screen-in-mender-sd-image/2944/6 "2020-12-28T11:14:21Z")

</div>

@drewmoseley Can u guide me to add splash screen support ?

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [December 28, 2020, 2:32pm UTC](https://hub.mender.io/t/customized-splash-screen-in-mender-sd-image/2944/7 "2020-12-28T14:32:42Z")

</div>

I’ve never looked at it from grub. Sorry.
