{"id":919,"date":"2013-08-06T19:07:18","date_gmt":"2013-08-06T19:07:18","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=919"},"modified":"2014-09-26T15:05:14","modified_gmt":"2014-09-26T15:05:14","slug":"custom-boot-up-screen","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/pi-operating-systems\/raspbian\/custom-boot-up-screen","title":{"rendered":"Custom boot up screen"},"content":{"rendered":"<h4>\nDisplaying an image during boot instead of the default command line scrolling text<br \/>\n<\/h4>\n<p>\nThis is based on the guide <a href=\"http:\/\/raspberrypi.stackexchange.com\/questions\/1214\/how-to-add-custom-loading-screen\" target=\"_blank\">here.<\/a>&nbsp;\n<\/p>\n<p>\nThis solution works but there are a few seconds of text shown before the boot image appears.\n<\/p>\n<h5>\nInstall fbi<br \/>\n<\/h5>\n<pre>\r\n<code>\r\nsudo apt-get install fbi\r\n<\/code><\/pre>\n<h5>\nCopy the splashscreen image to be used<br \/>\n<\/h5>\n<p>\nCopy your custom splash image into: \/etc\/ and name it &quot;splash.png&quot;.\n<\/p>\n<p>\nPresumably the resolution to use is&nbsp;1920x1080px.\n<\/p>\n<p>\nCreate A Script\n<\/p>\n<pre>\r\n<code>\r\nsudo nano\r\n<\/code><\/pre>\n<p>\nPaste the following into the text editor:\n<\/p>\n<pre>\r\n<code>\r\n#! \/bin\/sh\r\n### BEGIN INIT INFO\r\n# Provides:          asplashscreen\r\n# Required-Start:\r\n# Required-Stop:\r\n# Should-Start:      \r\n# Default-Start:     S\r\n# Default-Stop:\r\n# Short-Description: Show custom splashscreen\r\n# Description:       Show custom splashscreen\r\n### END INIT INFO\r\n\r\n\r\ndo_start () {\r\n\r\n    \/usr\/bin\/fbi -T 1 -noverbose -a \/etc\/splash.png    \r\n    exit 0\r\n}\r\n\r\ncase &quot;$1&quot; in\r\n  start|&quot;&quot;)\r\n    do_start\r\n    ;;\r\n  restart|reload|force-reload)\r\n    echo &quot;Error: argument &#39;$1&#39; not supported&quot; &gt;&amp;2\r\n    exit 3\r\n    ;;\r\n  stop)\r\n    # No-op\r\n    ;;\r\n  status)\r\n    exit 0\r\n    ;;\r\n  *)\r\n    echo &quot;Usage: asplashscreen [start|stop]&quot; &gt;&amp;2\r\n    exit 3\r\n    ;;\r\nesac\r\n\r\n:\r\n<\/code><\/pre>\n<p>\n<strong><em>IMPORTANT &#8211; If copying and pasting via SSH check it has pasted in correctly (pasting via FiseSSH for us caused the # lines and the esac line to be altered and need modifying back to be correct)<\/em><\/strong>\n<\/p>\n<p>\nExit and save the file as: \/etc\/init.d\/asplashscreen\n<\/p>\n<p>\n(using a name starting with &#39;a&#39; will ensure it runs first)\n<\/p>\n<p>\nFinally make the script executable and install it for init mode:\n<\/p>\n<pre>\r\n<code>\r\nsudo chmod a+x \/etc\/init.d\/asplashscreen\r\nsudo insserv \/etc\/init.d\/asplashscreen\r\n<\/code><\/pre>\n<p>\nThats it:\n<\/p>\n<pre>\r\n<code>\r\nsudo reboot\r\n<\/code><\/pre>\n<p>\n&nbsp;\n<\/p>\n<h4>\nGetting Out Of Black Screen<br \/>\n<\/h4>\n<p>\nIf you get a black screen at the end of booting (if you&#39;ve not setup auto running the GUI etc) use CTRL + ALT + F2 to get the command prompt<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Displaying an image during boot instead of the default command line scrolling text This is based on the guide here.&nbsp; This solution works but there are a few seconds of text shown before the boot image appears. Install fbi sudo apt-get install fbi Copy the splashscreen image to be used Copy your custom splash image [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33,11],"tags":[],"class_list":["post-919","post","type-post","status-publish","format-standard","hentry","category-gui","category-raspbian"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=919"}],"version-history":[{"count":9,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/919\/revisions"}],"predecessor-version":[{"id":1749,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/919\/revisions\/1749"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}