<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: ALIX Centos Image</title>
	<atom:link href="http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/feed/" rel="self" type="application/rss+xml" />
	<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/</link>
	<description>Linux Admin tips and tricks</description>
	<lastBuildDate>Tue, 31 Jan 2012 14:58:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: jfreivald</title>
		<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/comment-page-1/#comment-162</link>
		<dc:creator>jfreivald</dc:creator>
		<pubDate>Sat, 31 Dec 2011 06:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=87#comment-162</guid>
		<description>@casten The boot loader is already configured on the image. It should &#039;just work&#039;. 

I expect that something is wrong with the process you used to copy the image to the flash.  Could you enlighten me as to your procedure?

--JATF</description>
		<content:encoded><![CDATA[<p>@casten The boot loader is already configured on the image. It should &#8216;just work&#8217;. </p>
<p>I expect that something is wrong with the process you used to copy the image to the flash.  Could you enlighten me as to your procedure?</p>
<p>&#8211;JATF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: casten</title>
		<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/comment-page-1/#comment-160</link>
		<dc:creator>casten</dc:creator>
		<pubDate>Sat, 31 Dec 2011 05:01:53 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=87#comment-160</guid>
		<description>Hi Joseph,

I had iMedia Linux installed on my alix box, but was looking for something with better package management, etc.  I flashed up my 2gb card with alix-centos-5.5-2gcf, but it won&#039;t boot.  I think I don&#039;t have the right bootloader.  The last bit that shows up before boot fails is:

   01F0 Master 045A InnoDisk Corp. - iCF4000 2GB
   Phys C/H/S 4063/16/63 Log C/H/S 1015/64/63
   Loading iMedia ...Error 17

Do I need to update the bootloader with GRUB or something like that?  I followed the general directions for dd&#039;ing the image, but that was apparently not enough.
Thanks in advance for your help!
-Casten</description>
		<content:encoded><![CDATA[<p>Hi Joseph,</p>
<p>I had iMedia Linux installed on my alix box, but was looking for something with better package management, etc.  I flashed up my 2gb card with alix-centos-5.5-2gcf, but it won&#8217;t boot.  I think I don&#8217;t have the right bootloader.  The last bit that shows up before boot fails is:</p>
<p>   01F0 Master 045A InnoDisk Corp. &#8211; iCF4000 2GB<br />
   Phys C/H/S 4063/16/63 Log C/H/S 1015/64/63<br />
   Loading iMedia &#8230;Error 17</p>
<p>Do I need to update the bootloader with GRUB or something like that?  I followed the general directions for dd&#8217;ing the image, but that was apparently not enough.<br />
Thanks in advance for your help!<br />
-Casten</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jfreivald</title>
		<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/comment-page-1/#comment-154</link>
		<dc:creator>jfreivald</dc:creator>
		<pubDate>Mon, 07 Nov 2011 14:33:52 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=87#comment-154</guid>
		<description>@!Cris

Thanks for the information!  I don&#039;t have any Alix with the vga, so I&#039;m unable to test.  I&#039;ll put your comment into the main post.

--JATF</description>
		<content:encoded><![CDATA[<p>@!Cris</p>
<p>Thanks for the information!  I don&#8217;t have any Alix with the vga, so I&#8217;m unable to test.  I&#8217;ll put your comment into the main post.</p>
<p>&#8211;JATF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: !Cris</title>
		<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/comment-page-1/#comment-153</link>
		<dc:creator>!Cris</dc:creator>
		<pubDate>Mon, 07 Nov 2011 10:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=87#comment-153</guid>
		<description>for anyone trying to use this image with an Alix 3D3 with vga, irqpoll must be added as kernel boot parameter.
i had trouble without with irq sharing between USB controller and network card. none of them was working.</description>
		<content:encoded><![CDATA[<p>for anyone trying to use this image with an Alix 3D3 with vga, irqpoll must be added as kernel boot parameter.<br />
i had trouble without with irq sharing between USB controller and network card. none of them was working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jfreivald</title>
		<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/comment-page-1/#comment-141</link>
		<dc:creator>jfreivald</dc:creator>
		<pubDate>Sat, 27 Aug 2011 02:22:24 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=87#comment-141</guid>
		<description>@prochat

Interesting.  I&#039;m not sure why you would need to delete the cache, but it&#039;s probably a good idea for me to remove the cache from future images anyway.  Thanks for the heads up.

The backup you suggest is the easiest and most complete way to do a backup of the compact flash.  It will also take the longest time, since it is copying empty space as well as data.  There are a variety of other, more efficient ways of doing it (just like any linux system), but the command you specify is certainly the simplest.  I would suggest that you compress the image after the fact with bzip [ bzip /tmp/my-wifi-alix-centos.cf ] or during the process [ dd if=/dev/hda &#124; bzip &gt; /tmp/my-wifi-alix-centos.cf.bzip ] which will make the image much smaller, especially with all that empty space.

--JATF</description>
		<content:encoded><![CDATA[<p>@prochat</p>
<p>Interesting.  I&#8217;m not sure why you would need to delete the cache, but it&#8217;s probably a good idea for me to remove the cache from future images anyway.  Thanks for the heads up.</p>
<p>The backup you suggest is the easiest and most complete way to do a backup of the compact flash.  It will also take the longest time, since it is copying empty space as well as data.  There are a variety of other, more efficient ways of doing it (just like any linux system), but the command you specify is certainly the simplest.  I would suggest that you compress the image after the fact with bzip [ bzip /tmp/my-wifi-alix-centos.cf ] or during the process [ dd if=/dev/hda | bzip > /tmp/my-wifi-alix-centos.cf.bzip ] which will make the image much smaller, especially with all that empty space.</p>
<p>&#8211;JATF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jfreivald</title>
		<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/comment-page-1/#comment-139</link>
		<dc:creator>jfreivald</dc:creator>
		<pubDate>Sat, 27 Aug 2011 02:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=87#comment-139</guid>
		<description>@scoob8000:

I don&#039;t recommend disabling logging, especially in a production environment.  Doing a post mortem off a failure of a production device is critical, and modern flash drives are very robust.  Each cell can be written to millions of times, and the flash disk hardware ensures that the lifespan of the device is maximized by using write leveling (prevents you from writing to the same spot over and over, even if you try), and error correction and lockout (verifys each block after write and locks out blocks as they fail).  What I would do is this: on your test device, verify the average daily log file size in blocks.  Calculate how many blocks per year are expected to be written.  Divide by 1,000,000 writes.  That&#039;s how many blocks you would &#039;consume&#039; (as in wear out completely) in one year.  Multiply by the lifespan of the device (say 10 years), and then double that amount.

You will notice that unless your logs are VERY large, the results are small enough as to be meaningless because there wouldn&#039;t be enough of them to store the data in the first place.  That&#039;s because flash drives are very, very robust and you shouldn&#039;t worry about it unless you are really pushing the limits.

The benefits of having system logs far outweigh the maintenance headache they may cause.

Cheers.

--JATF</description>
		<content:encoded><![CDATA[<p>@scoob8000:</p>
<p>I don&#8217;t recommend disabling logging, especially in a production environment.  Doing a post mortem off a failure of a production device is critical, and modern flash drives are very robust.  Each cell can be written to millions of times, and the flash disk hardware ensures that the lifespan of the device is maximized by using write leveling (prevents you from writing to the same spot over and over, even if you try), and error correction and lockout (verifys each block after write and locks out blocks as they fail).  What I would do is this: on your test device, verify the average daily log file size in blocks.  Calculate how many blocks per year are expected to be written.  Divide by 1,000,000 writes.  That&#8217;s how many blocks you would &#8216;consume&#8217; (as in wear out completely) in one year.  Multiply by the lifespan of the device (say 10 years), and then double that amount.</p>
<p>You will notice that unless your logs are VERY large, the results are small enough as to be meaningless because there wouldn&#8217;t be enough of them to store the data in the first place.  That&#8217;s because flash drives are very, very robust and you shouldn&#8217;t worry about it unless you are really pushing the limits.</p>
<p>The benefits of having system logs far outweigh the maintenance headache they may cause.</p>
<p>Cheers.</p>
<p>&#8211;JATF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prochat</title>
		<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/comment-page-1/#comment-136</link>
		<dc:creator>prochat</dc:creator>
		<pubDate>Fri, 01 Jul 2011 10:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=87#comment-136</guid>
		<description>Great Job !!! A really nice package and well document, it was a pleasure to have it working smoothly on my Alix Box.

- I would add I had to remove yum cache to have it working properly  to be able to install the wap_supplicant package (something like rm -rf /var/cache/yum/...

- Now just a question: to create an image (I&#039;d like to backup my CF) is it enough to do: dd if=/dev/hda of=/tmp/my-wifi-alix-centos.cf ?

Regards,
PhR.</description>
		<content:encoded><![CDATA[<p>Great Job !!! A really nice package and well document, it was a pleasure to have it working smoothly on my Alix Box.</p>
<p>- I would add I had to remove yum cache to have it working properly  to be able to install the wap_supplicant package (something like rm -rf /var/cache/yum/&#8230;</p>
<p>- Now just a question: to create an image (I&#8217;d like to backup my CF) is it enough to do: dd if=/dev/hda of=/tmp/my-wifi-alix-centos.cf ?</p>
<p>Regards,<br />
PhR.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scoob8000</title>
		<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/comment-page-1/#comment-135</link>
		<dc:creator>scoob8000</dc:creator>
		<pubDate>Fri, 17 Jun 2011 12:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=87#comment-135</guid>
		<description>What are your thoughts on moving logging to tmpfs or disabling most logging?

I&#039;m going to be using this in a production environment, so I want to maximize my CF card lifespan.

Thanks, and thanks for this image!  :)

PS:  I installed to a 4gb card and successfully added a pv and extended the lvm group with no problems.  :)</description>
		<content:encoded><![CDATA[<p>What are your thoughts on moving logging to tmpfs or disabling most logging?</p>
<p>I&#8217;m going to be using this in a production environment, so I want to maximize my CF card lifespan.</p>
<p>Thanks, and thanks for this image!  <img src='http://joseph.freivald.com/linux/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>PS:  I installed to a 4gb card and successfully added a pv and extended the lvm group with no problems.  <img src='http://joseph.freivald.com/linux/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jfreivald</title>
		<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/comment-page-1/#comment-134</link>
		<dc:creator>jfreivald</dc:creator>
		<pubDate>Fri, 20 May 2011 15:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=87#comment-134</guid>
		<description>@T-One

I had considered each of those items when creating the image.  Our requirements are somewhat different.  If you are maintaining an image for your work you have tight control over who does what to the unit.  Releasing the image to the public, I must consider that novice builders will use the image to make a variety of appliances and I wanted to make it as bulletproof as possible. Plus, let&#039;s be honest: I&#039;m lazy, and the closer I can keep it to a stock Centos install, the less likely I&#039;ll be to have people asking questions because something isn&#039;t where they expect it to be. ;)

I selected ext3 because the Alix has no backup power facilities, and if someone uses it for a SOHO router or firewall it is very likely that a user will unplug the unit at some point to reset the network, or a power outage will cause the unit to be reset mid-process.  Ext3 should automatically recover from this, but ext2, without the journal, has a high probability of causing the file system to stall when the unit is booted next, requiring a console hook-up to complete the fsck cycle.  For most appliances, this would be considered unacceptable.  Advanced users will know that they can turn the journal off with tune2fs, but the novice builder will be better off with this safeguard. Modern flash cartridges use write leveling and bad-block exclusion and each block is good for tens of millions of writes, so even with the journal they should last years and years as an appliance.  Also, the use of tmpfs should limit the flash-based writes to the /tmp directory.  The Alix&#039;s processor and memory specifications restrict it from being an effective server for write-intensive services like a major database or web server anyway, so I think there is very little risk there.  If someone is looking to use the Alix in a write-intensive environment (say, as an IDS logger) they are most likely an advanced user and should solder an IDE header in place and put in a 1.8&quot; or 2.5&quot; hard disk instead of flash.  They&#039;ll have much more space and much better long-term performance since the flash write performance will degrade over time.

As for the space savings, I considered that the price of flash having dropped like a stone the last few years and the small level of space savings compared to the 2GB image size did not warrant the inconvenience of having no documentation or basic services at the builder&#039;s disposal.  Again, the advanced user can remove any package they wish with a variety of tools, but the novice may not know exactly how to get that basic functionality back, or at the very least might have to waste many hours trying to figure it out.  I run my servers with 4GB cards and 8 - 64GB cards are available for someone who might need vast amounts of space in a small package, or who want to extend the run-time of the unit.

I thought about having more descriptive LVM names, but most tutorials online use the standard names so I just stuck with them. Again: Keep it simple so I can be lazy.

Thanks for the input.  I&#039;m not attempting to be argumentative and hopefully I&#039;m not letting my ego get the best of me.  I just wanted to let you know that I did think about each of the points you brought up. I might have made bad decisions for some people, but I hope that they are good decisions for most people. :)

It&#039;s nice to know I have a bedfellow out there working the Alix/Centos images.  Do you have many of the platforms?  I have only the 6e2.  I&#039;ve been swamped with our youngest son finishing High School and my wife starting a new job so I haven&#039;t done an upgrade to 5.6 yet.  I&#039;ll be on travel for two weeks and I plan to bring one with me to work on in the hotel.  Who knows - maybe they&#039;ll release 6 in the mean time and I can get them both done at once!

Cheers

--JATF</description>
		<content:encoded><![CDATA[<p>@T-One</p>
<p>I had considered each of those items when creating the image.  Our requirements are somewhat different.  If you are maintaining an image for your work you have tight control over who does what to the unit.  Releasing the image to the public, I must consider that novice builders will use the image to make a variety of appliances and I wanted to make it as bulletproof as possible. Plus, let&#8217;s be honest: I&#8217;m lazy, and the closer I can keep it to a stock Centos install, the less likely I&#8217;ll be to have people asking questions because something isn&#8217;t where they expect it to be. <img src='http://joseph.freivald.com/linux/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I selected ext3 because the Alix has no backup power facilities, and if someone uses it for a SOHO router or firewall it is very likely that a user will unplug the unit at some point to reset the network, or a power outage will cause the unit to be reset mid-process.  Ext3 should automatically recover from this, but ext2, without the journal, has a high probability of causing the file system to stall when the unit is booted next, requiring a console hook-up to complete the fsck cycle.  For most appliances, this would be considered unacceptable.  Advanced users will know that they can turn the journal off with tune2fs, but the novice builder will be better off with this safeguard. Modern flash cartridges use write leveling and bad-block exclusion and each block is good for tens of millions of writes, so even with the journal they should last years and years as an appliance.  Also, the use of tmpfs should limit the flash-based writes to the /tmp directory.  The Alix&#8217;s processor and memory specifications restrict it from being an effective server for write-intensive services like a major database or web server anyway, so I think there is very little risk there.  If someone is looking to use the Alix in a write-intensive environment (say, as an IDS logger) they are most likely an advanced user and should solder an IDE header in place and put in a 1.8&#8243; or 2.5&#8243; hard disk instead of flash.  They&#8217;ll have much more space and much better long-term performance since the flash write performance will degrade over time.</p>
<p>As for the space savings, I considered that the price of flash having dropped like a stone the last few years and the small level of space savings compared to the 2GB image size did not warrant the inconvenience of having no documentation or basic services at the builder&#8217;s disposal.  Again, the advanced user can remove any package they wish with a variety of tools, but the novice may not know exactly how to get that basic functionality back, or at the very least might have to waste many hours trying to figure it out.  I run my servers with 4GB cards and 8 &#8211; 64GB cards are available for someone who might need vast amounts of space in a small package, or who want to extend the run-time of the unit.</p>
<p>I thought about having more descriptive LVM names, but most tutorials online use the standard names so I just stuck with them. Again: Keep it simple so I can be lazy.</p>
<p>Thanks for the input.  I&#8217;m not attempting to be argumentative and hopefully I&#8217;m not letting my ego get the best of me.  I just wanted to let you know that I did think about each of the points you brought up. I might have made bad decisions for some people, but I hope that they are good decisions for most people. <img src='http://joseph.freivald.com/linux/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It&#8217;s nice to know I have a bedfellow out there working the Alix/Centos images.  Do you have many of the platforms?  I have only the 6e2.  I&#8217;ve been swamped with our youngest son finishing High School and my wife starting a new job so I haven&#8217;t done an upgrade to 5.6 yet.  I&#8217;ll be on travel for two weeks and I plan to bring one with me to work on in the hotel.  Who knows &#8211; maybe they&#8217;ll release 6 in the mean time and I can get them both done at once!</p>
<p>Cheers</p>
<p>&#8211;JATF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T-One</title>
		<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/comment-page-1/#comment-133</link>
		<dc:creator>T-One</dc:creator>
		<pubDate>Fri, 20 May 2011 10:52:23 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=87#comment-133</guid>
		<description>Hi Jo,

i work on the same project regarding centos and alix in our company and have made some images by my self.
I would like to share my experience with you: it would be better to use a ext2 filesystem or deactivate the journaling in ext3 so write operations are as minmal as possible. also a minimal installation of centos would be nice, this way some of the stuff you have deactivated, kudzu, iptables..., wouldn&#039;t be installed, you just can uncheck all boxes in the extended package selector at the setup screen, you also would save much diskspace because all documentations are not installed this way....

some meaningful names for the volume groups and logical volumes in LVM would nice, but that could be just my petty-minded brain :)

kind regards.</description>
		<content:encoded><![CDATA[<p>Hi Jo,</p>
<p>i work on the same project regarding centos and alix in our company and have made some images by my self.<br />
I would like to share my experience with you: it would be better to use a ext2 filesystem or deactivate the journaling in ext3 so write operations are as minmal as possible. also a minimal installation of centos would be nice, this way some of the stuff you have deactivated, kudzu, iptables&#8230;, wouldn&#8217;t be installed, you just can uncheck all boxes in the extended package selector at the setup screen, you also would save much diskspace because all documentations are not installed this way&#8230;.</p>
<p>some meaningful names for the volume groups and logical volumes in LVM would nice, but that could be just my petty-minded brain <img src='http://joseph.freivald.com/linux/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>kind regards.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

