<?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>www.pokeroconnor.com</title>
	<atom:link href="http://www.pokeroconnor.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pokeroconnor.com</link>
	<description></description>
	<lastBuildDate>Fri, 18 May 2012 23:43:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Cloudfront custom origin</title>
		<link>http://www.pokeroconnor.com/cloudfront-custom-origin/</link>
		<comments>http://www.pokeroconnor.com/cloudfront-custom-origin/#comments</comments>
		<pubDate>Fri, 18 May 2012 22:05:40 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[hosting]]></category>
		<category><![CDATA[Linux/Unix/OSX/Apache]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=443</guid>
		<description><![CDATA[This is a quick guide to setting up Amazon Cloudfront using a custom origin Debian server source (as opposed to S3). For this guide, we will assume the following: you have a website at www.example.com you want to serve the images on www.example.com from a CDN, and the name of this CDN domain will be [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick guide to setting up <strong>Amazon Cloudfront using a custom origin</strong> Debian server source (as opposed to S3).</p>
<p>For this guide, we will assume the following:</p>
<ul>
<li>you have a website at <strong>www.example.com</strong></li>
<li>you want to serve the images on www.example.com from a CDN, and the name of this CDN domain will be<strong> i.example.com</strong></li>
<li>the CDN you want to use is Cloudfront, yet serve the images from the i.example.com domain name.</li>
<li><strong>dyyyzzz123.cloudfront.net</strong> is the Cloudfront distribution domain name you have</li>
</ul>
<p><strong>Step 1 - Set up a new Cloudfront distribution</strong>:</p>
<p>To do this, login to your AWS Console homepage, typically at <a href="https://console.aws.amazon.com/console/home">https://console.aws.amazon.com/console/home</a>.</p>
<p>Click <em>Create Distribution</em>, and select the <em>Download</em> option.</p>
<p><strong>Step 2 - Origin and Default Options</strong>:</p>
<p>For <em>Origin Domain Name</em> enter www.example.com. Leave the options at <em>HTTP Only</em>, and <em>Port 80</em> (unless you have a good reason not to).</p>
<p>The <em>Create Default Behavior</em> screen should be left as is (unless you have a good reason not to).</p>
<p><strong>Step 3 - Distribution Details</strong>:</p>
<p>For <em>Alternate Domain Names (CNAMES)</em> enter i.example.com.</p>
<p>For <em>Default Root Object</em> you can specify a file to be displayed if a non-existent resource is requested, i.e. to handle 404s. So for example enter <em>handler.html</em> here, where handler.html can contain whatever message or content you want.</p>
<p>Click to the <em>Review</em> step, and complete.</p>
<p>Note the domain name of the distribution you just created &#8211; in our example, its dyyyzzz123.cloudfront.net.</p>
<p><strong>Step 4 &#8211; CNAME setup</strong>:</p>
<p>Logon to your webserver, or wherever you have your DNS records handled. Here we will setup the CNAME records we specified in Step 3 above.</p>
<p>We are going to edit the <em>zone file</em> for example.com, to add i.example.com as a CNAME (alias) record.</p>
<p>I use Bind9 as my DNS server, and on my Debian server my DNS zone files are located in /var/lib/named/etc/bind. It may be different on your setup.</p>
<p>In /var/lib/named/etc/bind, edit the zone file example.com.db file.</p>
<p>Add the following to the bottom of the file:</p>
<p><em>i.example.com IN CNAME dyyyzzz123.cloudfront.net</em></p>
<p>What this does is create i.example.com as an alias of our Cloudfront distribution &#8211; in other words, content from dyyyzzz123.cloudfront.net will be transparently served to the user as content from i.example.com.</p>
<p><strong>Step 5 &#8211; Apache setup</strong>:</p>
<p>The next step is to set the CNAME i.example.com as a ServerAlias of the domain example.com.</p>
<p>So in /etc/apache2/sites-enabled/example.com, add the ServerAlias line directly below the ServerName line, as per this:</p>
<p><em>ServerName example.com</em></p>
<p><em>ServerAlias i.example.com</em></p>
<p><strong>Step 6 &#8211; restart services</strong>:</p>
<p>Reload Bind and Apache:</p>
<p><em>/etc/init.d/apache2 reload</em></p>
<p><em>/etc/init.d/bind9 reload</em></p>
<p>Going back to your AWS console, check that the distribution setup is complete. It usually takes about 15 mins, and once <em>State</em> is green and &#8220;Enabled&#8221;, as well as <em>Status</em> being &#8220;Deployed&#8221;, you are good!</p>
<p><strong>Step 7 &#8211; deploy and test</strong>:</p>
<p>That&#8217;s it, you should now be serving assets on i.example.com, via the dyyyzzz123.cloudfront.net distribution, and which were sourced from www.example.com.</p>
<p>E.g. in the doc_root of www.example.com, e.g. /var/www/example, place a new image named <em>image_name.jpg</em>.</p>
<p>If you now go to i.example.com/image_name.jpg, you will see the image in your browser. But how do we know it is coming from Cloudfront?</p>
<p>One of the easiest ways to do so is to use <em><strong>CURL</strong></em>. Open a command line and enter this:</p>
<p><em>curl -I -0 i.example.com/image_name.jpg</em></p>
<p>You should see quite clearly the header information for Cloudfront, e.g. <em>X-Cache: Hit from cloudfront</em> or <em>Via &#8230;. Cloudfront</em> etc.</p>
<p><strong>Useful Resources/Further Reading</strong></p>
<p>Some useful resources are listed below if you wish to read further or dig deeper into this.</p>
<ul>
<li><a href="http://docs.amazonwebservices.com/AmazonCloudFront/latest/GettingStartedGuide/WhereGoFromHere.html" target="_blank">Amazon starting guide</a></li>
<li><a href="http://docs.amazonwebservices.com/AmazonCloudFront/latest/GettingStartedGuide/" target="_blank">Good starting guide </a></li>
<li><a href="http://aws.amazon.com/sdkforphp/" target="_blank">http://aws.amazon.com/sdkforphp/</a></li>
<li><a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=4262">AWS SDK for PHP Tips and Tricks</a></li>
<li><a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=4263">Migrating to the AWS SDK for PHP</a></li>
<li><a href="http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=329">All Articles &amp; Tutorials</a></li>
<li><a href="http://d36cz9buwru1tt.cloudfront.net/videos/console/cloudfront_console.html">Video of Cloudfront Console</a></li>
<li><a href="http://www.zytrax.com/books/dns/ch8/cname.html" target="_blank">http://www.zytrax.com/books/dns/ch8/cname.html</a></li>
<li><a href="http://awsninja.com/2010/10/26/get-a-grip-on-cloudfront-private-streaming/">Way to implement private video</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/cloudfront-custom-origin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP autoload Zend library</title>
		<link>http://www.pokeroconnor.com/php-autoload-zend-library/</link>
		<comments>http://www.pokeroconnor.com/php-autoload-zend-library/#comments</comments>
		<pubDate>Mon, 14 May 2012 22:41:39 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=438</guid>
		<description><![CDATA[If you want to incorporate and use some of the functionality of the Zend Framework library in your custom application, without making having an actual Zend Framework application, you can use PHP&#8217;s magic __autoload() function to very quickly facilitate this. This code snippet below is code I used to make use of Zend&#8217;s SOAP web service library, and [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to incorporate and use some of the functionality of the <a href="http://framework.zend.com/">Zend Framework</a> library in your custom application, without making having an <em>actual</em> Zend Framework application, you can use PHP&#8217;s <a href="http://php.net/manual/en/language.oop5.autoload.php">magic __autoload() function</a> to very quickly facilitate this.</p>
<p>This code snippet below is code I used to make use of Zend&#8217;s SOAP web service library, and shows a typical usage of __autoload(). Basically, if a class being instantiated doesn&#8217;t exist in PHP&#8217;s include path, __autoload() is called before throwing a fatal error. So this gives you a chance to pull the necessary classes in, so to speak.</p>
<p><code><br />
function __autoload($class) {<br />
	if ($class!='this')	{<br />
	preg_match_all('/(\w+_)+(\w+)/',$class,$matches);  </p>
<p>	$final = $matches[2][0]; //this is the part of the filename with the '.php' extension<br />
	$expand_please = $matches[1][0]; //this part of the match is the directory structure of any length<br />
	$explode_matches =  explode('_',$expand_please);</p>
<p>	$base_string = '/home/user_name/soap_project';</p>
<p>	foreach ($explode_matches as $k => $v){<br />
		if ($v!= null){<br />
			$base_string .= '/'.$v;<br />
		}<br />
	}//end for<br />
	$base_string .= '/'.$final.'.php';</p>
<p>	require_once($base_string);<br />
	}<br />
}<br />
</code></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/php-autoload-zend-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Module to Apache2</title>
		<link>http://www.pokeroconnor.com/add-module-to-apache2/</link>
		<comments>http://www.pokeroconnor.com/add-module-to-apache2/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 20:45:08 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[Linux/Unix/OSX/Apache]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=434</guid>
		<description><![CDATA[I wanted to add mod_headers to my Apache2 install. Firstly, check what modules are enabled: apache2ctl -t -D DUMP_MODULES Secondly, with Apache2 its very easy to actually add a module: a2enmod headers DUMP_MODULES will show you mod_headers now, or you can should see it in etc/apache2/mods-enabled. &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p>I wanted to add mod_headers to my Apache2 install.</p>
<p>Firstly, check what modules are enabled:</p>
<p>apache2ctl -t -D DUMP_MODULES</p>
<p>Secondly, with Apache2 its very easy to actually <a href="http://desk.stinkpot.org:8080/tricks/index.php/2007/03/enable-mod_headers-in-apache-2/" target="_blank">add a module:</a></p>
<p>a2enmod headers</p>
<p>DUMP_MODULES will show you mod_headers now, or you can should see it in etc/apache2/mods-enabled.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/add-module-to-apache2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SPL CSV File Iterator</title>
		<link>http://www.pokeroconnor.com/spl-csv-files/</link>
		<comments>http://www.pokeroconnor.com/spl-csv-files/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 18:48:58 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=428</guid>
		<description><![CDATA[When using PHP&#8217;s SplFileObject for CSV file manipulation, as you will likely discover fgetcsv() also includes empty lines in the returned array. The suggestion is to use SplFileObject::DROP_NEW_LINE or SplFileObject::SKIP_EMPTY to handle this. However, I find I often need to use both to achieve the desired result of ignoring blank or empty lines. To achieve [...]]]></description>
			<content:encoded><![CDATA[<p>When using PHP&#8217;s SplFileObject for <a href="http://ie.php.net/manual/en/splfileobject.fgetcsv.php">CSV file manipulation</a>, as you will likely discover <em>fgetcsv</em>() also includes empty lines in the returned array.</p>
<p>The suggestion is to use <em>SplFileObject::DROP_NEW_LINE</em> or <em>SplFileObject::SKIP_EMPTY</em> to handle this.</p>
<p>However, I find I often need to use <strong>both</strong> to achieve the desired result of ignoring blank or empty lines. To achieve this, you need to use a bitmask in your <em>setflags</em> argument.</p>
<p>A value of &#8217;7&#8242; corresponds to both <em>SplFileObject::DROP_NEW_LINE</em> AND <em>SplFileObject::SKIP_EMPTY, e.g.<br />
</em></p>
<p><em><strong>$file = new SplFileObject($path); </strong></em><br />
<em><strong>$file-&gt;setFlags(7);</strong></em></p>
<p><em>setFlags(15) </em>would correspond to a <a href="http://www.daniweb.com/web-development/php/threads/331879">bitmask for DROP_NEWLINE, SKIP_EMPTY, READ_CSV</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/spl-csv-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Guide to New WordPress Install</title>
		<link>http://www.pokeroconnor.com/quick-guide-to-new-wordpress-install/</link>
		<comments>http://www.pokeroconnor.com/quick-guide-to-new-wordpress-install/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 19:50:55 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[hosting]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=424</guid>
		<description><![CDATA[http://codex.wordpress.org/Installing_WordPress Logon to your server, and cd document_root_name wget http://wordpress.org/latest.tar.gz tar -xzvf latest.tar.gz cd wordpress cp -r * ../ cd .. rm -r wordpress rm latest.tar.gz http://codex.wordpress.org/Installing_WordPress#Using_phpMyAdmin sudo chown www-data document_root_name/ http://example.com/wp-admin/install.php http://codex.wordpress.org/Changing_The_Site_URL. This is followed if you want to change the WordPress site name from example.com to www.example.com. You may need to add update_option(&#8216;siteurl&#8217;,'http://example.com/blog&#8217;); [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li><a href="http://codex.wordpress.org/Installing_WordPress">http://codex.wordpress.org/Installing_WordPress</a></li>
<li>Logon to your server, and <em>cd document_root_name</em></li>
<li>wget http://wordpress.org/latest.tar.gz</li>
<li>tar -xzvf latest.tar.gz</li>
<li>cd wordpress</li>
<li>cp -r * ../</li>
<li>cd ..</li>
<li>rm -r wordpress</li>
<li>rm latest.tar.gz</li>
<li>http://codex.wordpress.org/Installing_WordPress#Using_phpMyAdmin</li>
<li>sudo chown www-data document_root_name/</li>
<li>http://example.com/wp-admin/install.php</li>
<li><a href="http://codex.wordpress.org/Changing_The_Site_URL">http://codex.wordpress.org/Changing_The_Site_URL</a>. This is followed if you want to <a href="http://www.pokeroconnor.com/wordpress-site-redirect/">change the WordPress site name </a>from example.com to www.example.com. You may need to add update_option(&#8216;siteurl&#8217;,'http://example.com/blog&#8217;); and update_option(&#8216;home&#8217;,'http://example.com/blog&#8217;); to the theme functions.php file. Then reload site, then DELETE these two lines from theme functions.php file.</li>
<li>Change default theme to custom theme, so future updates don&#8217;t wipe your changes: cp -r twentyten/ customtheme</li>
<li>Run script as defined on http://www.pokeroconnor.com/recursive-sed-script/ to change all previous theme name mentions</li>
</ol>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/quick-guide-to-new-wordpress-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recursive SED Script</title>
		<link>http://www.pokeroconnor.com/recursive-sed-script/</link>
		<comments>http://www.pokeroconnor.com/recursive-sed-script/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 14:55:16 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[Linux/Unix/OSX/Apache]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=420</guid>
		<description><![CDATA[There are often times I want to run a SED find and replace across recursive directories, and the below is a very handy script to do so, from this excellent resource. There&#8217;s plenty of other variations of it there too. #SR does global replacement in html files, replacing its first parameter by #its second parameter--use [...]]]></description>
			<content:encoded><![CDATA[<p>There are often times I want to run a SED find and replace across recursive directories, and the below is a very handy script to do so, from<a href="http://cs.simons-rock.edu/unix/sed.html"> this excellent resource</a>. There&#8217;s plenty of other variations of it there too.</p>
<p><code><br />
#SR does global replacement in html files, replacing its first parameter by<br />
#its second parameter--use with extreme caution!</code></p>
<p><code> </code></p>
<p><code>find ./ -name '*.html' -print | while read i<br />
do<br />
sed "s/$1/$2/g" $i &gt;$i.bak &amp;&amp; mv $i.bak $i<br />
done<br />
</code></p>
<p>To use this, simply execute the command via:</p>
<p><code>./SR term_to_find term_to_replace_with</code></p>
<p>As a slight tweak, and what I find more useful, is to add a third input param, for example to switch on the file names you want to replace:</p>
<p><code>#SR does global replacement in files specified in STDIN as third parameter, replacing its first parameter by<br />
#its second parameter--use with extreme caution!</code></p>
<p><code>find ./ -name "*.$3" -print | while read i<br />
do<br />
sed "s/$1/$2/g" $i &gt;$i.bak &amp;&amp; mv $i.bak $i<br />
done</code></p>
<p>For example, to replace image1.jpg with image2.jpg, in all css files, run this:</p>
<p><code>./SR image1.jpg image2.jpg css</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/recursive-sed-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add New Header Image to Theme</title>
		<link>http://www.pokeroconnor.com/add-new-header-image-to-theme/</link>
		<comments>http://www.pokeroconnor.com/add-new-header-image-to-theme/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 14:24:09 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=418</guid>
		<description><![CDATA[In WordPress, for example in the TwentyTen theme, you may want to add a new header image to the default options available. This is useful for example if you are copying this theme, to use as the basis for a new theme. To do so, first upload the image you want to use, and a [...]]]></description>
			<content:encoded><![CDATA[<p>In WordPress, for example in the TwentyTen theme, you may want to add a new header image to the default options available. This is useful for example if you are copying this theme, to use as the basis for a new theme.</p>
<p>To do so, first upload the image you want to use, and a thumbnail of it to the <strong><em>wp-content/themes/NEW_THEME_NAME/images/headers</em></strong> directory.</p>
<p>Then, in <em>wp-content/themes/NEW_THEME_NAME/</em><strong><em>functions.php</em></strong> edit the<strong><em> </em>register_default_headers </strong>function<strong><em></em></strong>, to replace &#8216;sunset&#8217; below with your new image details:<br />
<code><br />
'sunset' =&gt; array(<br />
'url' =&gt; '%s/images/headers/sunset.jpg',<br />
'thumbnail_url' =&gt; '%s/images/headers/sunset-thumbnail.jpg',<br />
/* translators: header image description */<br />
'description' =&gt; __( 'Sunset', 'copied_twenty_theme' )<br />
),<br />
</code></p>
<p>Then go to Appearance -&gt; Theme -&gt; Headers in your Admin panel, and you should be able to select the new image as header.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/add-new-header-image-to-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Visual Editor Missing</title>
		<link>http://www.pokeroconnor.com/wordpress-visual-editor-missing/</link>
		<comments>http://www.pokeroconnor.com/wordpress-visual-editor-missing/#comments</comments>
		<pubDate>Wed, 04 May 2011 22:20:48 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=412</guid>
		<description><![CDATA[This is an annoying issue that happened to me lately, whereby the WordPress visual editor had its buttons and icons missing. I trawled various forums, and got the usual &#8220;do a full re-install&#8221; etc, or disable and re-enable all plugins blah blah blah. The solution is here &#8211; its elegant, simple and a one-liner: add [...]]]></description>
			<content:encoded><![CDATA[<p>This is an annoying issue that happened to me lately, whereby the WordPress visual editor had its buttons and icons missing.</p>
<p>I trawled various forums, and got the usual &#8220;do a full re-install&#8221; etc, or disable and re-enable all plugins blah blah blah.</p>
<p>The solution is <a href="http://wordpress.org/support/topic/visual-post-editor-not-working-only-html-post-editor">here</a> &#8211; its elegant, simple and a one-liner: add the below line to your wp-config.php file.</p>
<p><strong><em>define(&#8216;CONCATENATE_SCRIPTS&#8217;, false );</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/wordpress-visual-editor-missing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Boot Issue Module Not Found</title>
		<link>http://www.pokeroconnor.com/linux-boot-issue-module-not-found/</link>
		<comments>http://www.pokeroconnor.com/linux-boot-issue-module-not-found/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 22:01:45 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[Linux/Unix/OSX/Apache]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=376</guid>
		<description><![CDATA[This is a common issue on Dell and HP laptops apparently, and is not a Windows issue per se. For me, it happened on a Dell machine, and it is incredibly annoying. So, if you have enabled dual-booting, with say a Windows and Linux partition, all seems fine booting into your Ubuntu install, until that [...]]]></description>
			<content:encoded><![CDATA[<p>This is a common issue on Dell and HP laptops apparently, and is not a Windows issue per se.</p>
<p>For me, it happened on a Dell machine, and it is incredibly annoying.</p>
<p>So, if you have enabled <strong>dual-booting</strong>, with say a Windows and Linux partition, all seems fine booting into your Ubuntu install, until that is, you boot up Windows,<em><strong> and then try to subsequently boot up your machine</strong></em> to either Windows or Linux.</p>
<p>What happens is a message:</p>
<p dir="ltr">module name not found, press any key</p>
<p dir="ltr">Of course pressing the &#8220;any key&#8221; does nothing, and you are unable to boot up any OS from the HDD.</p>
<p>There are a series of excellent links on this, all worth a look, as your situation may have slight differences to some mentioned scenarios within the links below:</p>
<ul>
<li>http://ubuntuforums.org/showthread.php?t=1501591</li>
<li>http://ubuntuforums.org/showthread.php?t=1560177</li>
<li>http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot_Problems:Windows_Writes_To_MBR</li>
<li>http://ubuntuforums.org/showthread.php?t=1343851&amp;page=2</li>
</ul>
<p>What is happening is that certain Dell software, e.g. Datasafe, modify the MBR, and your GRUB gets corrupted/needs to be re-installed.</p>
<p><span style="text-decoration: underline;"><strong>Quick Solution:</strong></span></p>
<p>As described in links above, for a quick fix to allow you boot in again, load up your Live CD, e.g. ubuntu install CD you can download easily (using a Knoppix boot for example from the CD drive), and run from the CD drive. Then, open a terminal shell, and do the following:</p>
<p><em>sudo mount /dev/sda3 /mnt</em><br />
<em>sudo grub-install &#8211;recheck &#8211;root-directory=/mnt /dev/sda</em></p>
<p>In the above, sda3 represents whatever partition your Linux install is on, so will likely be different for you &#8211; that should be the only thing you need to change above.</p>
<p>Once done, you can boot up again as per usual, until of course you log into Windows again!</p>
<p>So long-term solution is to identify all Dell proprietary software (most listed in links above and http://download.cnet.com/ccleaner/ and http://forum.notebookreview.com/dell-xps-studio-xps/406492-how-do-i-remove-dells-datasafe.html), fully delete them using CC Cleaner for example, re-boot using the Live CD GRUB trick one final time, and then you should be good!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/linux-boot-issue-module-not-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Restore Panels</title>
		<link>http://www.pokeroconnor.com/ubuntu-restore-panels/</link>
		<comments>http://www.pokeroconnor.com/ubuntu-restore-panels/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 21:46:18 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[Linux/Unix/OSX/Apache]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=372</guid>
		<description><![CDATA[Running Ubuntu 10.10, and I accidentally deleted the panel (strip of information toolbar at the top of the screen). To get it back, just do as described here, but watching out for the typos in the commands as printed there, namely: gconftool &#8211;recursive-unset /apps/panel rm -rf ~/.gconf/apps/panel pkill gnome-panel Viola!!]]></description>
			<content:encoded><![CDATA[<p>Running Ubuntu 10.10, and I accidentally deleted the panel (strip of information toolbar at the top of the screen).</p>
<p>To get it back, just do <a href="http://www.watchingthenet.com/restore-panels-in-ubuntu-back-to-their-default-settings.html">as described here</a>, but watching out for the typos in the commands as printed there, namely:</p>
<p><em>gconftool &#8211;recursive-unset /apps/panel</em></p>
<p><em>rm -rf ~/.gconf/apps/panel</em></p>
<p><em>pkill gnome-panel</em></p>
<p>Viola!!<em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/ubuntu-restore-panels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

