<?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>Insomnitygrub | Insomnity</title>
	<atom:link href="http://insomnity.com/tag/grub/feed/" rel="self" type="application/rss+xml" />
	<link>http://insomnity.com</link>
	<description>Open Source, Design, Programming, Technology, Security</description>
	<lastBuildDate>Thu, 08 Sep 2011 22:08:24 +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>Classic way to costumize linux bootloader</title>
		<link>http://insomnity.com/2011/costumize-linux-bootloader/</link>
		<comments>http://insomnity.com/2011/costumize-linux-bootloader/#comments</comments>
		<pubDate>Tue, 03 May 2011 23:58:06 +0000</pubDate>
		<dc:creator>fath</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bootloaders]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[lilo]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://insomnity.com/?p=55</guid>
		<description><![CDATA[This is a classic way to customizing Bootloader, since its the same way I modified bootloader until few months ago. GRUB Grub uses 640&#215;480(px) and up to 14 color for the background image. You may convert/resize any images with any image editor, save it as .xpm file. If you have ImageMagick, you may use : $ convert yourbootimage.png  -colors 14 -resize 640x480  bootimggrub.xpm Then gzipped and copy boot-grub.xpm to /boot/grub $ gzip bootimggrub.xpm $ cp bootimggrub.xpm.gz /boot/grub Now open /boot/grub/grub.conf and add bootimggrub, here&#8217;s an example of configuration : default=0 timeout=33 splashimage=(hd1,0)/boot/grub/bootimggrub.xpm.gz foreground=000000 background=fafafafa hiddenmenu title Slackware 12 (2.6.21.5-huge-smp) root (hd1,0) kernel /boot/vmlinuz-huge-smp-2.6.21.5-smp root=/dev/hda10 ro boot title Windows XP SP3 rootnoverify (hd0,0) chainloader +1 The other customizable lines: default=0: The default priority boot Operating System timeout=33: Countdown timer setting for selecting OS foreground, background: This is for the color setting. title Slackware 12 (2.6.21.5-huge-smp): This is where you edit the title for your OS, only this line, the afterlines are meant to be left as is. LILO LILO uses the same resolution, 640&#215;480(px), but up to 255 color. Convert and save your image as .bmp file. After that, copy that file to /boot. For example, I use mybootimg.bmp, then : $ cp [...]]]></description>
			<content:encoded><![CDATA[<p>This is a classic way to customizing Bootloader, since its the same way I modified bootloader until few months ago.</p>
<p><strong>GRUB</strong></p>
<p>Grub uses 640&#215;480(px) and up to 14 color for the background image. You  may convert/resize any images with any image editor, save it as .xpm  file. If you have ImageMagick, you may use :</p>
<pre>
$ convert yourbootimage.png  -colors 14 -resize 640x480  bootimggrub.xpm
</pre>
<p>Then gzipped and copy boot-grub.xpm to /boot/grub</p>
<pre>
$ gzip bootimggrub.xpm
$ cp bootimggrub.xpm.gz /boot/grub
</pre>
<p>Now open /boot/grub/grub.conf and add bootimggrub, here&#8217;s an example of configuration :</p>
<pre>
default=0
timeout=33
splashimage=(hd1,0)/boot/grub/bootimggrub.xpm.gz
foreground=000000
background=fafafafa
hiddenmenu
title Slackware 12 (2.6.21.5-huge-smp)
root (hd1,0)
kernel /boot/vmlinuz-huge-smp-2.6.21.5-smp root=/dev/hda10 ro
boot
title Windows XP SP3
rootnoverify (hd0,0)
chainloader +1
</pre>
<p>The other customizable lines:<br />
default=0: The default priority boot Operating System<br />
timeout=33: Countdown timer setting for selecting OS<br />
foreground, background: This is for the color setting.<br />
title Slackware 12 (2.6.21.5-huge-smp): This is where you edit the title for your OS, only this line, the afterlines are meant to be left as is.</p>
<p><strong>LILO</strong></p>
<p>LILO uses the same resolution, 640&#215;480(px), but up to 255 color. Convert  and save your image as .bmp file. After that, copy that file to /boot. For example, I use mybootimg.bmp, then :</p>
<pre>
$ cp mybootimg.bmp /boot
</pre>
<p>Now edit file /etc/lilo.conf, and put these lines:</p>
<pre>
install=bmp
bitmap=/boot/mybootimg.bmp
bmp-table=50p,215p,1,6
bmp-colors=255,0,240,75,240,60
bmp-timer=580p,455p,0,254,
</pre>
<p>Where :<br />
bmp-table : A position of where the LILO table must be shown. The syntax is (x-coordinates),(y-coordinates),(column),(row); p means in pixels. On my examples, it means the LILO table will be shown 50pixels from left and 215pixels from top.</p>
<p>bmp-colors : Color setting. The syntax is &lt;foreground&gt;,&lt;background&gt;,&lt;shadowbackground&gt;,&lt;selectionforeground&gt;,&lt;selectionbackground&gt;,&lt;selectionshadow&gt;</p>
<p>You may left both shadow color and selection shadow color empty, the value is 0-254.</p>
<p>bmp-timer : Countdown Timer  setting for OS selection. The syntax is  &lt;x-coordinates&gt;,&lt;y-coordinates&gt;,&lt;bgcolor&gt;,&lt;fgcolor&gt;,&lt;shadowcolor&gt;</p>
<p>Check above rule for value.</p>
<p>Once you are sure that /etc/lilo.conf is properly configured, run</p>
<pre>
$ lilo -v
</pre>
<p>This is an old writing of mine, just want to keep it safe <img src='http://insomnity.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h4>Incoming search terms:</h4><ul><li>lilo bmp-color example</li><li>arch lilo resolution</li><li>slackware lilo bmp</li><li>slackware boot loader</li><li>lilo bootloader background</li><li>lilo bootloader</li><li>lilo bmp-colors</li><li>konfigurasi di boot loader slackware 12</li><li>grub xpm color</li><li>costumizing</li></ul><div id="seo_alrp_related"><h2>Posts Related to Classic way to costumize linux bootloader</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://insomnity.com/2011/netcut-arp-exploitation/" rel="bookmark">NETCUT ARP exploitation, how it works, how to avoid</a></h3><p>Well, lets see, who doesn't know about netcut ? Netcut has been around for sometimes as a handy little tools to wreak havoc on local ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://insomnity.com/2011/install-modem-aha-on-linux/" rel="bookmark">Install Modem AHA on Linux System</a></h3><p>Tested kernel : Linux 2.6.32 and UP Tested OS : Ubuntu 10.04 ++, Blankon 6.1, Backtrack 4R2++, OpenSUSE 11.3 ++, Fedora 14, Slackware 13.37, Archlinux ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://insomnity.com/2011/border-radius-css-rounded-corner/" rel="bookmark">Border Radius CSS Rounded Corner</a></h3><p>Particularly last years, a lot of people still get it hard to make a rounded corner layout using a pure CSS, there will still be ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://insomnity.com/2011/costumize-linux-bootloader/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

