<?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>Winter&#039;s Fall &#187; grub</title>
	<atom:link href="http://wintersfall.westernesse.net/tag/grub/feed/" rel="self" type="application/rss+xml" />
	<link>http://wintersfall.westernesse.net</link>
	<description>Geekery. Imitating. Life.</description>
	<lastBuildDate>Sun, 11 Apr 2010 21:45:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>kontron pitx-sp</title>
		<link>http://wintersfall.westernesse.net/2010/04/06/kontron-pitx-sp/</link>
		<comments>http://wintersfall.westernesse.net/2010/04/06/kontron-pitx-sp/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 19:41:44 +0000</pubDate>
		<dc:creator>tallganglyguy</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://wintersfall.westernesse.net/?p=270</guid>
		<description><![CDATA[Well, my Kontron pITX-SP 1.6GHz board finally came. This is the souped up version of the 1.1GHz board that I evaluated in February. This version in addition to being clocked 500MHz faster also features a bootable microSD socket, and two &#8230; <a href="http://wintersfall.westernesse.net/2010/04/06/kontron-pitx-sp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well, my <a href="http://us.kontron.com/products/boards+and+mezzanines/embedded+sbc/pitx+25+sbc/pitxsp.html" target="_blank">Kontron pITX-SP</a> 1.6GHz board finally came. This is the souped up version of the 1.1GHz board that I evaluated in February. This version in addition to being clocked 500MHz faster also features a bootable microSD socket, and two SATA ports. Read on for more info about the board and getting debian up and running on it.</p>
<p><span id="more-270"></span>As is typical of everything in the embedded world getting an OS up on the board presented a few challenges. I knew that I wanted to run debian on the board, I just had to figure out how to get it installed on to the microSD card. I picked up a 4GB class 4 card for the purposes of loading the OS and evaluating the board. Since there was no optical disk drive connected that ruled out the typical route of burning a debian install image. I couldn&#8217;t find a USB flash drive that I could format that was of sufficient size to load the install image on to. That left me with the option of putting the install image on a CF card using a USB CF card reader. Then, I booted the system with this drive and everything worked as though it would have with a USB flash drive. The only downside was the slow speed of the older CF card.</p>
<p>The install appeared to be going great, I got everything setup and I was ready for a reboot. So, I rebooted the system and I got nothing. Well technically I got the word &#8220;grub&#8221; printed on the screen and that was it. Thinking I had dorked something up I re-installed again, double checking everything. Same result! So, I decided to disconnect the USB CF card reader and try to boot up that way. Now I got even less! Just a flashing cursor. This told me that GRUB had some how gotten dorked up. So, I rewrote the installer image to CF card and booted up in rescue mode. I mounted my /boot partition by issuing mount /dev/mmcblk0p1 /boot. I looked at /boot/grub/device.map and I saw my problem immediately. My device.map read:</p>
<pre>(hd0)   /dev/sda
(hd1)   /dev/mmcblk0</pre>
<p>It was thinking that /dev/sda was my first disk, and that mmcblk0 was my second. It installed the MBR on /dev/sda (which is what was screwing up my CF card after the install), but didn&#8217;t create a partition for /boot. Which is why I only got &#8220;GRUB&#8221; on my screen. So, I changed the device map to reflect the true state of my system, and re-did a grub-install specifying the device map. Rebooted the system and I got a grub menu as I expected but still couldn&#8217;t boot! The grub menu was still pointing to (hd1) for the kernel image. A quick edit of the boot parameters and I was booting.</p>
<p>After a bit of frustration everything is up and going. So, now it is time to get my packages installed and make sure I can run the embedded app on this board! I&#8217;ll post some more benchmarks at a later date. I am expecting good performance given what I saw with the 1.1GHz board.</p>
<p class="signatureImage" style="display: none;"><img src="http://wintersfall.westernesse.net/wp-content/themes/twentyten/images/Sig.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://wintersfall.westernesse.net/2010/04/06/kontron-pitx-sp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

