<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LinuxHub &#187; beautify grub 2</title>
	<atom:link href="http://linuxhub.net/tag/beautify-grub-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxhub.net</link>
	<description>Making Linux Simple!</description>
	<lastBuildDate>Sun, 16 Oct 2011 13:13:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Grub 2: Add splash image to beautify grub 2</title>
		<link>http://linuxhub.net/2009/07/grub-2-add-splash-image-to-beautify-grub-2/</link>
		<comments>http://linuxhub.net/2009/07/grub-2-add-splash-image-to-beautify-grub-2/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 20:39:38 +0000</pubDate>
		<dc:creator>Vivek</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[background grub 2]]></category>
		<category><![CDATA[beautify grub 2]]></category>
		<category><![CDATA[GNU GRUB]]></category>
		<category><![CDATA[grub 2 splash images]]></category>
		<category><![CDATA[grub 2 splash screen]]></category>
		<category><![CDATA[grub 2 themes]]></category>
		<category><![CDATA[images grub 2]]></category>

		<guid isPermaLink="false">http://linuxhub.net/?p=252</guid>
		<description><![CDATA[Yesterday I did a post on how to install grub 2 on Jaunty Jackalope machine. And I started getting comments that it was as ugly as it&#8217;s predecessor. And I could not agree more on that. Following which I started looking for way to pimp up grub 2 to look a little more eye candy. Let&#8217;s see how to get  [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-260 alignright" style="border: 0pt none; margin-left: 5px; margin-right: 5px;" title="grubtheme7" src="http://linuxhub.net/wp-content/uploads/2009/07/grubtheme7.png" alt="grubtheme7" width="179" height="150" />Yesterday I did a post on how to <a href="http://linuxhub.net/2009/07/install-grub-2-on-ubuntu-jaunty-jackalope/" target="_blank">install grub 2 on Jaunty Jackalope</a> machine. And I started getting comments that it was as ugly as it&#8217;s predecessor. And I could not agree more on that. Following which I started looking for way to pimp up grub 2 to look a little more eye candy. Let&#8217;s see how to get splash (background) image for your grub.</p>
<p>1. First we&#8217;ll have to download the splash image package for Ubuntu. Bring up a <a class="zem_slink" title="Terminal emulator" rel="wikipedia" href="http://en.wikipedia.org/wiki/Terminal_emulator">terminal window</a> by hitting ALT+F2 and typing &#8220;<span style="color: #888888;">gnome-terminal</span>&#8220;. In the terminal window type the following command.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> grub2-splashimages</pre></div></div>

<p><img class="alignnone size-full wp-image-253" title="grubtheme1" src="http://linuxhub.net/wp-content/uploads/2009/07/grubtheme1.png" alt="grubtheme1" width="550" height="390" /></p>
<p>2. This will install the splash image package. Let&#8217;s check what splash images are installed. These images can be found at:</p>
<p>/usr/share/images/grub/</p>
<p>On the terminal type the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span>  <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>images<span style="color: #000000; font-weight: bold;">/</span>grub<span style="color: #000000; font-weight: bold;">/</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">ls</span></pre></div></div>

<p>You&#8217;ll see a list of available splash theme for grub 2.</p>
<p><img class="alignnone size-full wp-image-254" title="grubtheme2" src="http://linuxhub.net/wp-content/uploads/2009/07/grubtheme2.png" alt="grubtheme2" width="550" height="390" /></p>
<p>The files are in .tga format which is a <a class="zem_slink" title="Image file formats" rel="wikipedia" href="http://en.wikipedia.org/wiki/Image_file_formats">image format</a>. Following is a thumbnail of all the files:</p>
<p><img class="alignnone size-full wp-image-256" title="grubthemethumbnail" src="http://linuxhub.net/wp-content/uploads/2009/07/grubthemethumbnail1.png" alt="grubthemethumbnail" width="546" height="366" /></p>
<p>3. All you need is to zero down on the image you want to have as your grub splash image. I found them boring, so I created my own image.</p>
<ul>
<li>Downloaded an image from <a href="http://kneeki.deviantart.com/art/ubuntu-wallpaper-53572046" target="_blank">here</a>. (Caution, this image could be <a class="zem_slink" title="Not safe for work" rel="wikipedia" href="http://en.wikipedia.org/wiki/Not_safe_for_work">NSFW</a>)</li>
</ul>
<ul>
<li>Using <a class="zem_slink" title="GIMP" rel="homepage" href="http://www.gimp.org">Gimp</a>, I resized the image to 640&#215;480 and saved it by name ubuntu-girl.tga (Unfortunately, that is the dimension supported by Grub 2. However, you can also use a larger dimension image but it&#8217;ll be cut at the Grub splash.</li>
<li>I then moved the image to /usr/share/images/grub/</li>
<li>Final image looks like this:</li>
</ul>
<p style="padding-left: 30px;"><img class="alignnone size-full wp-image-257" title="ubuntu-girl" src="http://linuxhub.net/wp-content/uploads/2009/07/ubuntu-girl.png" alt="ubuntu-girl" width="512" height="384" /></p>
<p>4. Now we have to tell Grub 2 to use this image. To do so, type the following command at terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>grub.d<span style="color: #000000; font-weight: bold;">/</span>05_debian_theme</pre></div></div>

<p>find the line</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>grub,<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>images<span style="color: #000000; font-weight: bold;">/</span>desktop-base<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #000000; font-weight: bold;">/</span>moreblue-orbit-grub.<span style="color: #7a0874; font-weight: bold;">&#123;</span>png,tga<span style="color: #7a0874; font-weight: bold;">&#125;</span>; <span style="color: #000000; font-weight: bold;">do</span></pre></div></div>

<p>and replace it with the following</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>grub,<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>images<span style="color: #000000; font-weight: bold;">/</span>desktop-base,<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>images<span style="color: #000000; font-weight: bold;">/</span>grub<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #000000; font-weight: bold;">/</span>ubuntu-girl.<span style="color: #7a0874; font-weight: bold;">&#123;</span>png,tga<span style="color: #7a0874; font-weight: bold;">&#125;</span>; <span style="color: #000000; font-weight: bold;">do</span></pre></div></div>

<p>5. All that is left now is to update grub 2 . Type the following command on terminal</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> update-grub</pre></div></div>

<p>Grub 2 will detect the new theme and you should see something like this</p>
<p><img class="alignnone size-full wp-image-259" title="grubtheme6" src="http://linuxhub.net/wp-content/uploads/2009/07/grubtheme6.png" alt="grubtheme6" width="550" height="390" /></p>
<p>(This is a little old screenshot and here the background is named Aesculus hippo&#8230;. However it should be ubuntu-girl.tga)</p>
<p>All that is left now is to reboot the machine to check the new sexy grub 2 splash in action.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxhub.net/2009/07/grub-2-add-splash-image-to-beautify-grub-2/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
	</channel>
</rss>

