<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>linux n00b</title>
	<atom:link href="http://linuxn00b.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxn00b.wordpress.com</link>
	<description>One day I wont be a n00b anymore!</description>
	<lastBuildDate>Tue, 04 Oct 2011 23:46:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='linuxn00b.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>linux n00b</title>
		<link>http://linuxn00b.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://linuxn00b.wordpress.com/osd.xml" title="linux n00b" />
	<atom:link rel='hub' href='http://linuxn00b.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Migrating Magento to new (sub)domain</title>
		<link>http://linuxn00b.wordpress.com/2010/08/12/migrating-magento-to-new-subdomain/</link>
		<comments>http://linuxn00b.wordpress.com/2010/08/12/migrating-magento-to-new-subdomain/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 23:45:48 +0000</pubDate>
		<dc:creator>downforce</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://linuxn00b.wordpress.com/?p=93</guid>
		<description><![CDATA[UPDATE: Well it turns out this fixes the store, but not the downloader/PEAR updater. More work to figure that one out! I&#8217;ve been trialing Magento on and off for a few years and one day I&#8217;ll get my butt into gear to migrate my whole store from Zen Cart (which desperately needs to be patched [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=93&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>UPDATE: Well it turns out this fixes the store, but not the downloader/PEAR updater. More work to figure that one out! </p>
<p>I&#8217;ve been trialing Magento on and off for a few years and one day I&#8217;ll get my butt into gear to migrate my whole store from Zen Cart (which desperately needs to be patched anyway) to Magento, but I&#8217;ve been trying to tie it into a new automated pricing script I&#8217;ve been developing (also for a year or so). </p>
<p>I&#8217;ve also rationalised my count of subdomains on my domain and moved my old magento development environment from dev.domain.com to store.domain.com. Previously migrating domains has been a major PITA for Magento but today I decided to screw around in the database and found it to be rather painless!</p>
<p>The database is in the same location with same username/password so all I needed to do was to update the base_url and here&#8217;s all I did:</p>
<p>So a few steps, confirm that the two config_data fields are where you want them:<br />
<pre class="brush: plain;">select * from mag_core_config_data where path like 'web/%/base_url';</pre><br />
I have the following output:<br />
<pre class="brush: plain;">
+-----------+---------+----------+-----------------------+---------------------------------+
| config_id | scope   | scope_id | path                  | value                           |
+-----------+---------+----------+-----------------------+---------------------------------+
|        19 | default |        0 | web/unsecure/base_url | http://dev.domain.com/ |
|        20 | default |        0 | web/secure/base_url   | http://dev.domain.com/ |
+-----------+---------+----------+-----------------------+---------------------------------+
</pre></p>
<p>So it was a simple case of updating these values:<br />
<pre class="brush: plain;">
update mag_core_config_data set value = 'http://store.domain.com/' where path like 'web/%/base_url';
</pre></p>
<p>BUT unfortunately it still wasn&#8217;t rendering properly. I discovered that the pages get cached! OH NOES!</p>
<p>Oh well, let&#8217;s just purge the cache and start again:<br />
<pre class="brush: plain;">#rm -Rf /path/to/magento/install/var/cache</pre></p>
<p>And good to go! Now to upgrade to the latest version.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxn00b.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxn00b.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxn00b.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxn00b.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxn00b.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxn00b.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxn00b.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxn00b.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxn00b.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxn00b.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxn00b.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxn00b.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxn00b.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxn00b.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=93&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxn00b.wordpress.com/2010/08/12/migrating-magento-to-new-subdomain/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd580a13186cd465268a194e1fc91991?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">downforce</media:title>
		</media:content>
	</item>
		<item>
		<title>Finding Duplicates based on Filename</title>
		<link>http://linuxn00b.wordpress.com/2010/06/22/finding-duplicates-based-on-filename/</link>
		<comments>http://linuxn00b.wordpress.com/2010/06/22/finding-duplicates-based-on-filename/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 05:05:08 +0000</pubDate>
		<dc:creator>downforce</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://linuxn00b.wordpress.com/?p=87</guid>
		<description><![CDATA[Found this brilliant snippet utilising Perl to find duplicates based on filename only, not comparing size (fdupes wins this!) Full credit goes to radoulov, a member of unix.com forums and cursory link to post in thread<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=87&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Found this brilliant snippet utilising Perl to find duplicates based on filename only, not comparing size (fdupes wins this!)</p>
<p>Full credit goes to radoulov, a member of unix.com forums and cursory <a href="http://www.unix.com/302406220-post7.html">link to post in thread</a></p>
<p><pre class="brush: plain;">
perl -MFile::Find -e'
  $d = shift || die &quot;$0 dir\n&quot;;
  find { 
    wanted =&gt; sub {
      -f and push @{$u{$_}}, $File::Find::name;
      }
    }, $d;
  @{$u{$_}} &gt; 1 and printf &quot;found %s in: \n\n%s\n\n&quot;, 
    $_, join $/, @{$u{$_}} for keys %u;    
  ' &lt;dirname&gt;
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxn00b.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxn00b.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxn00b.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxn00b.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxn00b.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxn00b.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxn00b.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxn00b.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxn00b.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxn00b.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxn00b.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxn00b.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxn00b.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxn00b.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=87&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxn00b.wordpress.com/2010/06/22/finding-duplicates-based-on-filename/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd580a13186cd465268a194e1fc91991?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">downforce</media:title>
		</media:content>
	</item>
		<item>
		<title>vim Search and Replace</title>
		<link>http://linuxn00b.wordpress.com/2010/04/15/vim-search-and-replace/</link>
		<comments>http://linuxn00b.wordpress.com/2010/04/15/vim-search-and-replace/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 15:01:49 +0000</pubDate>
		<dc:creator>downforce</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://linuxn00b.wordpress.com/?p=82</guid>
		<description><![CDATA[Had some grief tonight with a search and replace string. I am backing up some videos to an external HDD and some are files and some are folders, so I&#8217;ve created a rsync script which uses a include.txt file. rsync script is as follows: rsync -avr --progress --files-from=include.txt / /media/Ext\ Storage Then in my include.txt [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=82&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Had some grief tonight with a search and replace string.</p>
<p>I am backing up some videos to an external HDD and some are files and some are folders, so I&#8217;ve created a rsync script which uses a include.txt file.</p>
<p>rsync script is as follows:<br />
<code>rsync -avr --progress --files-from=include.txt / /media/Ext\ Storage</code></p>
<p>Then in my <code>include.txt</code> I have the following:<br />
<code>data/videos/dir1/<br />
data/videos/dir2/<br />
data/videos/file1.avi<br />
data/videos/file2.mkv<br />
</code></p>
<p>Which I obtained from doing a find dump into a file <code>find /data/videos/ &gt; include.txt</code></p>
<p>Except for the includes.txt, it the directories need to have the trailing slash.</p>
<p>I first off tried to create a regex search and replace in vim which found all rows that didn&#8217;t have a file extension. I managed to create a expression which DID find them but couldn&#8217;t work out how to then wrap that in a NOT.</p>
<p>So I thought screw it, I&#8217;ll add a trailing slash / to every row then strip them out and after 45min of screwing around I finally got it.</p>
<p><code>:1,$ s/\(\.[a-zA-Z]*\)\/$/\1/c</code></p>
<p>I used /c just to make sure it wasn&#8217;t going to go crazy, and it didn&#8217;t!</p>
<p>It&#8217;s probably not the most elegant or efficient but I have a sense of achievement all the same <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxn00b.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxn00b.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxn00b.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxn00b.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxn00b.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxn00b.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxn00b.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxn00b.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxn00b.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxn00b.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxn00b.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxn00b.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxn00b.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxn00b.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=82&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxn00b.wordpress.com/2010/04/15/vim-search-and-replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd580a13186cd465268a194e1fc91991?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">downforce</media:title>
		</media:content>
	</item>
		<item>
		<title>Posting from my mobile!</title>
		<link>http://linuxn00b.wordpress.com/2010/03/31/posting-from-my-mobile/</link>
		<comments>http://linuxn00b.wordpress.com/2010/03/31/posting-from-my-mobile/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 23:16:35 +0000</pubDate>
		<dc:creator>downforce</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://linuxn00b.wordpress.com/2010/03/31/posting-from-my-mobile/</guid>
		<description><![CDATA[Posting from my mobile!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=81&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Posting from my mobile!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxn00b.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxn00b.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxn00b.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxn00b.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxn00b.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxn00b.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxn00b.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxn00b.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxn00b.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxn00b.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxn00b.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxn00b.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxn00b.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxn00b.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=81&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxn00b.wordpress.com/2010/03/31/posting-from-my-mobile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>-31.996890 115.946503</georss:point>
		<geo:lat>-31.996890</geo:lat>
		<geo:long>115.946503</geo:long>
		<media:content url="http://1.gravatar.com/avatar/bd580a13186cd465268a194e1fc91991?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">downforce</media:title>
		</media:content>
	</item>
		<item>
		<title>Secure HDD wipe</title>
		<link>http://linuxn00b.wordpress.com/2010/01/17/secure-hdd-wipe/</link>
		<comments>http://linuxn00b.wordpress.com/2010/01/17/secure-hdd-wipe/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 04:27:47 +0000</pubDate>
		<dc:creator>downforce</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://linuxn00b.wordpress.com/?p=77</guid>
		<description><![CDATA[Selling off an old hard drive, I wanted to wipe it clean. Found the tip here shred -vfz -n 100 /dev/hda Here /dev/hda is my whole hard disk. And I am asking shred to make (-n) 100 passes by overwriting the entire hard disk with (-z) zeros. And shred program (-f) forces the write by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=77&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Selling off an old hard drive, I wanted to wipe it clean.</p>
<p>Found the tip <a href="http://linuxhelp.blogspot.com/2006/06/how-to-securely-erase-hard-disk-before.html#axzz0cnHfK48v">here</a></p>
<p><code>shred -vfz -n 100 /dev/hda</code></p>
<blockquote><p>Here /dev/hda is my whole hard disk. And I am asking shred to make (-n) 100 passes by overwriting the entire hard disk with (-z) zeros. And shred program (-f) forces the write by changing the permissions wherever necessary.</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxn00b.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxn00b.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxn00b.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxn00b.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxn00b.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxn00b.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxn00b.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxn00b.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxn00b.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxn00b.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxn00b.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxn00b.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxn00b.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxn00b.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=77&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxn00b.wordpress.com/2010/01/17/secure-hdd-wipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd580a13186cd465268a194e1fc91991?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">downforce</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting up a tt-rss daemon on Arch Linux</title>
		<link>http://linuxn00b.wordpress.com/2009/10/22/setting-up-a-tt-rss-daemon-on-arch-linux/</link>
		<comments>http://linuxn00b.wordpress.com/2009/10/22/setting-up-a-tt-rss-daemon-on-arch-linux/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 06:46:01 +0000</pubDate>
		<dc:creator>downforce</dc:creator>
				<category><![CDATA[Arch Linux]]></category>

		<guid isPermaLink="false">http://linuxn00b.wordpress.com/?p=72</guid>
		<description><![CDATA[NOTE: I originally wrote this on the tt-rss.org forums, but thought I&#8217;d post it here too. There doesn&#8217;t seem to be support for TT-RSS on Arch Linux, particularly in creating the /etc/rc.d/ daemon. So I hacked together this: I edited the init.d files for TT-RSS to run on Arch Linux, which uses rc.d and doesn&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=72&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>NOTE: I originally wrote this on the tt-rss.org forums, but thought I&#8217;d post it here too.</em></p>
<p>There doesn&#8217;t seem to be support for TT-RSS on Arch Linux, particularly in creating the /etc/rc.d/ daemon. So I hacked together this:</p>
<p>I edited the init.d files for TT-RSS to run on Arch Linux, which uses rc.d and doesn&#8217;t have start-stop-daemon. This is the first time I&#8217;ve done anything like this so please feel free to 1. provide constructive feedback and 2. be nice </p>
<p>Basically following the instructions as per UpdatingFeeds but use my attached files and place in rc.d instead of init.d</p>
<p>* Extract tt-rss-rc.tar.gz<br />
<code>cp tt-rss.default /etc/default/tt-rss<br />
cp tt-rss.rc-d /etc/rc.d/tt-rss<br />
/bin/chmod +x /etc/rc.d/tt-rss</code></p>
<p>* If you want Tiny Tiny RSS update daemon to start when you computer start :<br />
<code>Edit /etc/rc.conf<br />
Add to "DAEMONS=(... tt-rss ...)"</code></p>
<p>* Once all this done, you can use this command line to start the update daemon :<br />
<code>/etc/rc.d/tt-rss start</code></p>
<p>* And this command line to stop the update daemon :<br />
<code>/etc/rc.d/tt-rss stop</code></p>
<p>Been working great for me for a couple weeks.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxn00b.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxn00b.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxn00b.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxn00b.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxn00b.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxn00b.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxn00b.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxn00b.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxn00b.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxn00b.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxn00b.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxn00b.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxn00b.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxn00b.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=72&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxn00b.wordpress.com/2009/10/22/setting-up-a-tt-rss-daemon-on-arch-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd580a13186cd465268a194e1fc91991?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">downforce</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing ESXi 4 in a Home Network</title>
		<link>http://linuxn00b.wordpress.com/2009/10/22/installing-esxi-4-in-a-home-network/</link>
		<comments>http://linuxn00b.wordpress.com/2009/10/22/installing-esxi-4-in-a-home-network/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 15:44:52 +0000</pubDate>
		<dc:creator>downforce</dc:creator>
				<category><![CDATA[Virtualisation]]></category>

		<guid isPermaLink="false">http://linuxn00b.wordpress.com/?p=63</guid>
		<description><![CDATA[NOTE: I actually wrote this back on 16th August but did a Save Draft instead of Publish &#8230; DOH! Background I&#8217;ve run my linux server + Windows VM for a couple years now and the Windows VM does as much as the Linux host does. Coupling this with some issues with VMWare Server 1 on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=63&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>NOTE: I actually wrote this back on 16th August but did a Save Draft instead of Publish &#8230; DOH!</p>
<p><strong>Background</strong></p>
<p>I&#8217;ve run my linux server + Windows VM for a couple years now and the Windows VM does as much as the Linux host does. Coupling this with some issues with VMWare Server 1 on latest kernels and failed attempts to keep VMWare Server 2 stable, I decided to take the plunge into ESXi and virtualise my Linux machine too!</p>
<p><strong>Initial Research</strong></p>
<p>So my initial research indicated my NIC was fine but I can&#8217;t use linux software raid, which is how my linux box has been setup! Oh noes, oh well, time to get a hardware RAID controller. The cheapest one on the VMWare HCL is the Adaptec 2405, and found one 2nd hand for around 60% of the cost of a new one.</p>
<p><strong>Problems Problems Problems</strong></p>
<p>1. Virtualising my linux box. The VMWare Standalone Converter can&#8217;t convert Linux machines running mdadm/software RAID. BOO. Time to copy my important files off one of my RAID1 array to another single HDD.</p>
<p>2. Can&#8217;t initalise the disk. This is the problem and solution: http://ict-freak.nl/2009/03/14/vmware-failed-to-get-disk-partition-information/</p>
<p>3. Accessing the ESXi box via remote SSH:</p>
<p>http://professionalvmware.com/2009/05/26/unsupported-console-and-ssh-on-esxi-4/</p>
<p>4. Can&#8217;t access my non-mdadm drive in ESXi. RDM (Raw Device Mapping) is the answer. Here is the solution I used: http://www.daenks.info/2009/07/using-vcb-to-backup-entire-vms/</p>
<p>After solving all these issues though, I have to say, that moving to ESXi was the best thing ever. I&#8217;ve only had 1 problem since installing it and that was due to the USB drive becoming corrupted.</p>
<p>That was easily fixed by creating a new USB boot key and copying the local.tar.gz file from the old to new key. Boot up and wallah, good as new! Now I have a backup copy anyway <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxn00b.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxn00b.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxn00b.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxn00b.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxn00b.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxn00b.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxn00b.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxn00b.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxn00b.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxn00b.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxn00b.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxn00b.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxn00b.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxn00b.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=63&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxn00b.wordpress.com/2009/10/22/installing-esxi-4-in-a-home-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd580a13186cd465268a194e1fc91991?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">downforce</media:title>
		</media:content>
	</item>
		<item>
		<title>Arch Linux and Samsung Unified Linux Driver</title>
		<link>http://linuxn00b.wordpress.com/2009/10/22/arch-linux-and-samsung-unified-linux-driver/</link>
		<comments>http://linuxn00b.wordpress.com/2009/10/22/arch-linux-and-samsung-unified-linux-driver/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 15:38:46 +0000</pubDate>
		<dc:creator>downforce</dc:creator>
				<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[unified linux driver]]></category>

		<guid isPermaLink="false">http://linuxn00b.wordpress.com/?p=68</guid>
		<description><![CDATA[I&#8217;ve finally taken the plunge back into linux on my main desktop, after a loong looong break. Everything has been going swimmingly well (and I&#8217;ll comment more on this another time) but one of my last &#8216;issues&#8217; was getting my Samsung SCX-4521F printer working. The AUR doesn&#8217;t explicitly have it, the closest being this. So [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=68&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally taken the plunge back into linux on my main desktop, after a loong looong break.</p>
<p>Everything has been going swimmingly well (and I&#8217;ll comment more on this another time) but one of my last &#8216;issues&#8217; was getting my Samsung SCX-4521F printer working.</p>
<p>The AUR doesn&#8217;t explicitly have it, the closest being <a href="http://aur.archlinux.org/packages.php?ID=19983">this</a>.</p>
<p>So I tried using the Samsung driver out of the box and surprise surprise, no support for Arch Linux.</p>
<p>So I got out trusty old vim and added support for Arch Linux. The main issue is that:<br />
1. It doesn&#8217;t detect Arch as a distro; and<br />
2. It hardcodes the use of <code>/etc/init.d</code>.</p>
<p>So I just added an extra check for Arch Linux and set that variable then added a IF statement at the end to set a new variable INIT which sets it to rc.d or init.d and then updated all instances of init.d with $INIT. There is still a couple of WARNINGS produced but the driver works <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>THe last thing I needed to change comes care of <a href="http://www.elijahlofgren.com/ubuntu/#scx-4521f">this article</a> and thats:</p>
<blockquote><p>10. Open /etc/cups/printers.conf Under &#8220;DefaultPrinter scx4x21&#8243; change the &#8220;DeviceURI&#8221; so it looks like this:<br />
<code>DeviceURI file:/dev/usb/lp0</code></p></blockquote>
<p>Want to use it?</p>
<p>Download the Samsung Unified Linux Driver from the Samsung site and use this <a href="http://primelogic.com.au/files/Samsung_ULD-install.sh">install.sh</a> instead (you&#8217;ll need to rename it). The current version of the Samsung ULD is 3.00.37.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxn00b.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxn00b.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxn00b.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxn00b.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxn00b.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxn00b.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxn00b.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxn00b.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxn00b.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxn00b.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxn00b.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxn00b.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxn00b.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxn00b.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=68&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxn00b.wordpress.com/2009/10/22/arch-linux-and-samsung-unified-linux-driver/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd580a13186cd465268a194e1fc91991?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">downforce</media:title>
		</media:content>
	</item>
		<item>
		<title>Upgrading Bugzilla 2.20 to 3.2.4 with Errno 150 on namedqueries</title>
		<link>http://linuxn00b.wordpress.com/2009/07/15/upgrading-bugzilla-2-20-to-3-2-4-with-errno-150-on-namedqueries/</link>
		<comments>http://linuxn00b.wordpress.com/2009/07/15/upgrading-bugzilla-2-20-to-3-2-4-with-errno-150-on-namedqueries/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 01:46:27 +0000</pubDate>
		<dc:creator>downforce</dc:creator>
				<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://linuxn00b.wordpress.com/?p=61</guid>
		<description><![CDATA[I&#8217;ve spent most of this morning trying to figure out how to upgrade our antiquated Bugzilla 2.20 installation to the latest and greatest 3.2.4. The ./checksetup.pl kept failing with the error message : Converting table namedqueries&#8230; DBD::mysql::db do failed: Error on rename of &#8216;./bugzilla/#sql-3967_1c&#8217; to &#8216;./bugzilla/namedqueries&#8217; (errno: 150) [for Statement "ALTER TABLE namedqueries TYPE = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=61&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent most of this morning trying to figure out how to upgrade our antiquated Bugzilla 2.20 installation to the latest and greatest 3.2.4.</p>
<p>The <code>./checksetup.pl</code> kept failing with the error message :</p>
<blockquote><p>Converting table namedqueries&#8230; DBD::mysql::db do failed: Error on rename of &#8216;./bugzilla/#sql-3967_1c&#8217; to &#8216;./bugzilla/namedqueries&#8217; (errno: 150) [for Statement "ALTER TABLE namedqueries TYPE = InnoDB"] at Bugzilla/DB/Mysql.pm line 337<br />
Bugzilla::DB::Mysql::bz_setup_database(&#8216;Bugzilla::DB::Mysql=HASH(0x9c766d0)&#8217;) called at ./checksetup.pl line 144</p></blockquote>
<p>Running the SQL command <code>SHOW ENGINE INNODB STATUS;</code> within mysql gave me the following bit of useful info:</p>
<blockquote><p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
LATEST FOREIGN KEY ERROR<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
090715  8:58:13 Error in foreign key constraint of table bugzilla/namedqueries_link_in_footer:<br />
there is no index in referenced table which would contain<br />
the columns as the first columns, or the data types in the<br />
referenced table do not match to the ones in table. Constraint:<br />
,<br />
  CONSTRAINT fk_namedqueries_link_in_footer_namedquery_id_namedqueries_id FOREIGN KEY (namedquery_id) REFERENCES namedqueries (id) ON DELETE CASCADE ON UPDATE CASCADE<br />
The index in the foreign key in table is namedqueries_link_in_footer_id_idx<br />
See http://dev.mysql.com/doc/refman/5.0/en/innodb-foreign-key-constraints.html<br />
for correct foreign key definition.
</p></blockquote>
<p>So after a couple hours of research I&#8217;ve discovered the problem is that the table namedqueries doesn&#8217;t have the column id.</p>
<p>So in mysql:</p>
<blockquote><p>
use bugzilla;<br />
alter table namedqueries add id  mediumint(9) NOT NULL AUTO_INCREMENT UNIQUE FIRST;
</p></blockquote>
<p>Re-ran <code>./checksetup.pl</code> and all was good <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Now for the next upgrade error!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxn00b.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxn00b.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxn00b.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxn00b.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxn00b.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxn00b.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxn00b.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxn00b.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxn00b.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxn00b.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxn00b.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxn00b.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxn00b.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxn00b.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=61&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxn00b.wordpress.com/2009/07/15/upgrading-bugzilla-2-20-to-3-2-4-with-errno-150-on-namedqueries/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd580a13186cd465268a194e1fc91991?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">downforce</media:title>
		</media:content>
	</item>
		<item>
		<title>Re-creating a mdadm RAID1 array</title>
		<link>http://linuxn00b.wordpress.com/2008/11/01/re-creating-a-mdadm-raid1-array/</link>
		<comments>http://linuxn00b.wordpress.com/2008/11/01/re-creating-a-mdadm-raid1-array/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 12:12:46 +0000</pubDate>
		<dc:creator>downforce</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[archlinux]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[software raid]]></category>

		<guid isPermaLink="false">http://linuxn00b.wordpress.com/?p=58</guid>
		<description><![CDATA[I just converted my last Ubuntu machine to ArchLinux. Everything went fairly smoothly (with the exception of ever-changing order of HDD&#8217;s, which is now fixed without the Live CD thanks to UUID&#8217;s) but I couldn&#8217;t figure out how to re-create my RAID1 mdadm array. Googling away actually didn&#8217;t return what I wanted! I was starting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=58&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just converted my last Ubuntu machine to ArchLinux.</p>
<p>Everything went fairly smoothly (with the exception of ever-changing order of HDD&#8217;s, which is now fixed without the Live CD thanks to UUID&#8217;s) but I couldn&#8217;t figure out how to re-create my RAID1 mdadm array.<br />
Googling away actually didn&#8217;t return what I wanted! I was starting to panic, as I didn&#8217;t quite think out my backup routine quite as well as I should have (i.e. don&#8217;t backup to a software-raid-array!) I sorta needed to get it restored!</p>
<p>Thankfully I figured it out:<br />
<code>mdadm --assemble /dev/md5 /dev/sdc1 /dev/sdd1</code></p>
<p>Back in business!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxn00b.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxn00b.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxn00b.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxn00b.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxn00b.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxn00b.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxn00b.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxn00b.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxn00b.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxn00b.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxn00b.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxn00b.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxn00b.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxn00b.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxn00b.wordpress.com&amp;blog=898570&amp;post=58&amp;subd=linuxn00b&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxn00b.wordpress.com/2008/11/01/re-creating-a-mdadm-raid1-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd580a13186cd465268a194e1fc91991?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">downforce</media:title>
		</media:content>
	</item>
	</channel>
</rss>
