<?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>ralreegorganon</title>
	<atom:link href="http://blog.ralreegorganon.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ralreegorganon.com</link>
	<description>sometimes you&#039;ve gotta roll the hard six</description>
	<lastBuildDate>Sun, 03 Jan 2010 18:31:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>asus p5n32-e and ubuntu don&#8217;t play nice</title>
		<link>http://blog.ralreegorganon.com/2009/04/25/asus-p5n32-e-and-ubuntu-dont-play-nice/</link>
		<comments>http://blog.ralreegorganon.com/2009/04/25/asus-p5n32-e-and-ubuntu-dont-play-nice/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 17:45:44 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.ralreegorganon.com/?p=34</guid>
		<description><![CDATA[Each time I&#8217;ve installed Ubuntu on my current desktop, the network adapters have failed to work &#8216;out of the box&#8217;. The culprit is the 680i chipset that my motherboard uses. There&#8217;s a simple fix, however: the forcedeth module needs to be loaded with some special sauce. A quick way to make it work is as [...]]]></description>
			<content:encoded><![CDATA[<p>Each time I&#8217;ve installed Ubuntu on my current desktop, the network adapters have failed to work &#8216;out of the box&#8217;. The culprit is the 680i chipset that my motherboard uses. There&#8217;s a simple fix, however: the forcedeth module needs to be loaded with some special sauce. A quick way to make it work is as follows:</p>
<pre>
sudo rmmod forcedeth
sudo modprobe forcedeth msi=0 msix=0
</pre>
<p>You should see the network adapter spring to life. Assuming that works, you can make the fix permanent by adding the following line to /etc/modprobe.d/forcedeth.conf:</p>
<pre>
options forcedeth msi=0 msix=0
</pre>
<p>and then running</p>
<pre>
sudo update-initramfs -u
</pre>
<p>and rebooting to save the changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ralreegorganon.com/2009/04/25/asus-p5n32-e-and-ubuntu-dont-play-nice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu 9.04, ext4 and grub</title>
		<link>http://blog.ralreegorganon.com/2009/04/25/ubuntu-904-ext4-and-grub/</link>
		<comments>http://blog.ralreegorganon.com/2009/04/25/ubuntu-904-ext4-and-grub/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 16:56:40 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.ralreegorganon.com/?p=27</guid>
		<description><![CDATA[Guess what! If you install Ubuntu 9.04 with /boot on an ext4 partition and you previously had grub installed into the MBR (and were using ext3), your system won&#8217;t boot! You need to boot the live cd and manually run grub-install. # /dev/sdc2 has /boot on it, amongst other things sudo mount /dev/sdc2 /mnt sudo [...]]]></description>
			<content:encoded><![CDATA[<p>Guess what! If you install Ubuntu 9.04 with /boot on an ext4 partition and you previously had grub installed into the MBR (and were using ext3), your system won&#8217;t boot! You need to boot the live cd and manually run grub-install.</p>
<pre>
# /dev/sdc2 has /boot on it, amongst other things
sudo mount /dev/sdc2 /mnt
sudo grub-install --root-directory=/mnt /dev/sdc2
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ralreegorganon.com/2009/04/25/ubuntu-904-ext4-and-grub/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>psql and passwords on the command line</title>
		<link>http://blog.ralreegorganon.com/2008/08/23/psql-and-passwords-on-the-command-line/</link>
		<comments>http://blog.ralreegorganon.com/2008/08/23/psql-and-passwords-on-the-command-line/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 02:15:58 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://ralreegorganon.com/blog/?p=8</guid>
		<description><![CDATA[psql doesn’t let you pass it a password at the command line (and with good reason–otherwise everyone would be able to see it with ps) but it can be somewhat frustrating if you’re trying to use psql in a script, as it will prompt for the password. One way to deal with this is to [...]]]></description>
			<content:encoded><![CDATA[<p>psql doesn’t let you pass it a password at the command line (and with good reason–otherwise everyone would be able to see it with ps) but it can be somewhat frustrating if you’re trying to use psql in a script, as it will prompt for the password. One way to deal with this is to create a .pgpass file in your home directory. The lines in the file should be in the following format:</p>
<pre>
hostname:port:database:username:password
</pre>
<p>All values but the password can have * to match anything. Additionally, the file needs to have its permissions restricted, otherwise it will be ignored.</p>
<pre>
chmod 0600 ~/.pgpass
</pre>
<p>With that in place, you should be able to run psql from the command line without being prompted for a password.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ralreegorganon.com/2008/08/23/psql-and-passwords-on-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>resizing xen images</title>
		<link>http://blog.ralreegorganon.com/2008/08/23/resizing-xen-images/</link>
		<comments>http://blog.ralreegorganon.com/2008/08/23/resizing-xen-images/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 02:14:40 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://ralreegorganon.com/blog/?p=6</guid>
		<description><![CDATA[I recently ran into a scenario where I needed to resize one of my Xen disk images. In this case, I wanted to add an extra 5GB. I shut down the guest and run the following commands. # use dd to create a 5GB file dd if=/dev/zero of=temp bs=1024 count=5000000&#60;/code&#62; # append the temp file [...]]]></description>
			<content:encoded><![CDATA[<p>I recently ran into a scenario where I needed to resize one of my Xen disk images. In this case, I wanted to add an extra 5GB.</p>
<p>I shut down the guest and run the following commands.</p>
<pre>
# use dd to create a 5GB file
dd if=/dev/zero of=temp bs=1024 count=5000000&lt;/code&gt;

# append the temp file to the existing image
cat temp &gt;&gt; disk.img

# resize the file system
resize2fs -f disk.img
</pre>
<p>Start up the guest, and volia, we’ve got some free space!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ralreegorganon.com/2008/08/23/resizing-xen-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>postgis and postgresql 8.3 on ubuntu 8.04</title>
		<link>http://blog.ralreegorganon.com/2008/08/20/postgis-and-postgresql-83-on-ubuntu-804/</link>
		<comments>http://blog.ralreegorganon.com/2008/08/20/postgis-and-postgresql-83-on-ubuntu-804/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 02:13:06 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gis]]></category>
		<category><![CDATA[postgis]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ralreegorganon.com/blog/?p=3</guid>
		<description><![CDATA[More of a note to myself than anything: # log in to the database template1: psql template1 # issue command to create new database: create database template_postgis with template = template1; # update pg_database table to indicate that new database is a template UPDATE pg_database SET datistemplate = TRUE where datname = 'template_postgis'; # connect [...]]]></description>
			<content:encoded><![CDATA[<p>More of a note to myself than anything:</p>
<pre># log in to the database template1:
psql template1

# issue command to create new database:
create database template_postgis with template = template1;

# update pg_database table to indicate that new database is a template
UPDATE pg_database SET datistemplate = TRUE where datname = 'template_postgis';

# connect to new database
\c template_postgis

# add PostGIS extensions and grant access to everyone to spatial tables.
CREATE LANGUAGE plpgsql ;
\i /usr/share/postgresql-8.3-postgis/lwpostgis.sql;
\i /usr/share/postgresql-8.3-postgis/spatial_ref_sys.sql;
GRANT ALL ON geometry_columns TO PUBLIC;
GRANT ALL ON spatial_ref_sys TO PUBLIC;

# prevent further changes to this database
VACUUM FREEZE;</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ralreegorganon.com/2008/08/20/postgis-and-postgresql-83-on-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

