<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>The Art of Tech</title>
      <link>http://blogs.gurulabs.com/lamont/</link>
      <description>Useful tidbits from Guru Labs&apos; Senior Instructor, Lamont Peterson.</description>
      <language>en</language>
      <copyright>Copyright 2007</copyright>
      <lastBuildDate>Tue, 06 Mar 2007 17:23:10 -0700</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>Root Filesystem Conversion</title>
         <description><![CDATA[<p><i>Ed: This post was originally written on 2006/08/03, but for some reason I missed publishing it. As I believe the information is useful, I'm publishing it now.</i></p>

<p>On my home workstation, I used LVM for the one 160GB hard drive. When I first built the box (in May of 2004), I installed <a href="http://fedora.redhat.com/">Fedora Core</a> 2 for x86_64; it's a dual <a href="www.amd.com/">AMD</a> <a href="http://www.amd.com/us-en/Processors/ProductInformation/0,,30_118_8826,00.html">Opteron</a> 242 (1.6GHz). I created four partitions:</p>
<ol>
<li>100MB <code>/boot/</code></li>
<li>2GB swap (there's 1GB RAM, but I can expand to 8GB)</li>
<li>remainder (~96GB) LVM</li>
<li>60GB Windows XP Professional</li>
</ol>

<p>For a couple of weeks, I have been unable to install any updates to FC5. When I run <code>yum update</code>, I get a series of error messages telling me that yum needs additional disk space on the root partition in order to install packages. Strangely enough, almost none of those packages have files that end up in the root partition.</p>

<p>The root filesystem was a 512MB ext3 LVM logical volume. Sure, I could make it bigger, but I shouldn't have to. In fact, I should be able to have it be only about 256MB and still have a completely usable system. I have <code>/home/</code>, <code>/tmp/</code>, <code>/usr/</code>, <code>/var/</code> and even <code>/opt/</code> all split off onto their own LVs, so there's not that much stuff left on the root volume. In fact, running <code>du -sx /</code> shows that there is just barely 200MB of data present. However, running <code>df /</code> shows that it is 99% full (about 508MB used). Clearly, ext3 is not an efficient choice for a root partition when the bulky filesystems are split out like this.</p>

<p>So, I decided to "convert" to another filesystem type. I chose to use XFS for the root volume. Converting the root partition can be a little bit tricky, as the initrd needs to have the right drivers to work with it. Here's my step-by-step (assuming that the volume group is named <code>system</code>):</p>

<ol>
<li>Create a new volume and format it with the new filesystem type (the size could be smaller, if desired):
<pre>
# <b>lvcreate -L 512MB -n newroot system</b>
# <b>mkfs.xfs /dev/system/newroot</b>
</pre>
</li>
<li>Mount the new root volume and remount the current root volume read-only:
<pre>
# <b>mkdir /mnt/temp</b>
# <b>mount /dev/system/newroot /mnt/temp/</b>
# <b>mount -o remount,ro /</b>
</pre>
</li>
<li>Copy the contents of just the root volume to the new root volume (the <code>-x</code> switch is <em>very</em> important):
<pre>
# <b>cp -ax /* /mnt/temp/</b>
</pre>
</li>
<li>Unmount the new root volume:
<pre>
# <b>umount /mnt/temp/</b>
</pre>
</li>
<li>Run <code><b>uname -r</b></code> and record the value. This will be needed later when running <code>mkinitrd</code>.</li>
<li>Reboot the system into a rescue environment. In order to be able to boot with the new root partition, it is necessary to recreate the initrd. You could hand edit the existing one(s) to fix things up, but this will be quite a bit easier. Use a CD or a network bootable rescue environment for your distro (FC5 in my case).</li>
<li>If you let the setup for the rescue environment mount your partitions/volumes, that's fine, just make sure to unmount everything so you can switch root partitions. If you don't let it mount up the parts, that's fine too; just use the LVM commands for your rescue environment to activate LVM.</li>
<li>Rename the old root volume out of the way and rename the new one into place (this only works while the volumes are not mounted):
<pre>
# <b>lvrename system root oldroot</b>
# <b>lvrename system newroot root</b>
</pre>
<li>Mount the (new) root volume and at least <code>/boot/</code> and <code>/usr/</code> on top of that:</li>
<pre>
# <b>mkdir /mnt/system/</b>
# <b>mount /dev/system/root /mnt/system/</b>
# <b>mount /dev/sda1 /mnt/system/boot/</b>
# <b>mount /dev/system/usr /mnt/system/usr/</b>
</pre>
<li>It's time to recreate the initrd. This is easiest when done <code>chroot</code>'ed into the system environment found on your hard drive (assuming your new root volume was mounted at <code>/mnt/system/</code>):
<pre>
# <b>chroot /mnt/system/</b>
</pre>
</li>
<li>Run <code>mkinitrd</code>. Depending on which distribution is installed, this could require quite a different set of switches than what I'm showing you here. In my case, it was Fedora, so I used the <code>mkinitrd</code> command found in the <code>/sbin/new-kernel-pkg</code> script, which is run as part of the post-install scripts from every Red Hat kernel RPM (just open up <code>/sbin/new-kernel-pkg</code> and find the right command to run, replacing "<code><i>something</i></code>" with the correct kernel version string recorded earlier from the <code>uname -r</code> command):
<pre>
# <b>/sbin/mkinitrd --allow-missing -f /boot/initrd-2.6.<i>something</i> 2.6.<i>something</i></b>
</pre>
</li>
<li>Leave the <code>chroot</code> environment and unmount everything (yes, if you just cleanly exit the rescue environment, it should cleanly unmount everything, but let's just be sure it happens right, shall we?):
<pre>
# <b>exit</b>
# <b>umount /mnt/system/usr/</b>
# <b>umount /mnt/system/boot/</b>
# <b>umount /mnt/system/</b>
</pre>
</li>
<li>Reboot. The system should come up with your root volume in use with a new filesystem type.
</ol>

<p>That's it. That wasn't so difficult, was it?</p>

<p>The entire thing could be done from within the rescue environment, including copying the contents of the root volume to the new root volume, if you like.</p>]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2007/03/root_filesystem.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2007/03/root_filesystem.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Guru Labs</category>
        
        
         <pubDate>Tue, 06 Mar 2007 17:23:10 -0700</pubDate>
      </item>
            <item>
         <title>Windows NTP Client</title>
         <description><![CDATA[<p>I've had a <a href="http://en.wikipedia.org/wiki/Network_Time_Protocol">Network Time Protocol (NTP)</a> server running in my home network for many years. The two workstation dual boot Windows and Linux. When running Linux, the ntpd daemon keeps them in sync with my NTP server. When running Windows, I haven't bothered, as there isn't anything running under windows that cares about time at all, and since they run Linux most of the time.</p>

<p>Today, I decided to figure out how to keep Windows client's clock synchronized with NTP. A quick Google search located an <a href="http://www.nist.gov/">NIST</a> PDF document titled, "<i><a href="http://tf.nist.gov/service/pdf/win2000xp.pdf">Configuring Windows 2000 and Windows XP to use NIST Time Servers</a></i>." There is also a link in the introductory pages of that document to the freely available download from Microsoft to enable Windows NT systems to be configured as NTP clients.</p>

<p>As it turns out, it's really easy to configure Windows 2000 and Windows XP Professional, as they both have native, out-of-the-box support to run as a NTP clients. So, to boil down the NIST's 12 page document, open a "DOS prompt" command shell as a user with admin rights and run:</p>

<pre>
> <b>net /setsntp:<i>servername</i></b>
> <b>net stop w32time</b>
> <b>net start w32time</b>
</pre>

<p>That's it.</p>

<p>You could also use the Time/Date control panel. When I tried it (first) on one of my boxes, it had the default configuration of using a Microsoft time server already configured. When I changed it in that dialog box to use my time server, it griped that it wouldn't use the time I was providing as the server's stratum was <i>lower</i> than the host's. I wonder what goofy things Microsoft's time server is doing, as my time server is stratum 2. Anyway, I ran those three commands and it successfully switched over to using my NTP server.</p>

<p>You would think that the fact that Windows 2000 and Windows XP have the NTP client built-in would be one of those things that I would have already "just known." Well, I didn't, but now I do.</p>]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2007/03/windows_ntp_cli.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2007/03/windows_ntp_cli.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Guru Labs</category>
        
        
         <pubDate>Tue, 06 Mar 2007 11:06:23 -0700</pubDate>
      </item>
            <item>
         <title>Adobe Flashplayer 9 for Linux Installed</title>
         <description><![CDATA[About three weeks ago, I ran <code>rug update</code> on my notebook (II'm mainly using <a href="http://www.opensuse.org/">openSUSE</a> 10.2) and got the <a href="http://www.adobe.com/">Adobe</a> <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&promoid=BIOW">Flashplayer</a> 9 for Linux update installed.

That was easy.

I last checked about 12 days ago, but there wasn't an RPM for <a href="http://fedora.redhat.com/">Fedora</a> Core 6 (the current release), available yet.]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2007/02/adobe_flashplay.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2007/02/adobe_flashplay.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Guru Labs</category>
        
        
         <pubDate>Fri, 09 Feb 2007 10:40:39 -0700</pubDate>
      </item>
            <item>
         <title>DHCP, VoIP &amp; Updated Kernel</title>
         <description><![CDATA[Yesterday, I was working on a new <a href="http://en.wikipedia.org/wiki/Domain_name_system">DNS</a> server I was setting up for someone, when I noticed that I hadn't setup <code>rndc</code> on my home DNS server. After fixing that, I added a couple of zones to my home DNS server to have it serve (for now) as the secondary server for some new domains, but the zone transfers weren't working. It was immediately obvious that I needed to alter the firewall configuration to allow the DNS server to initiate zone transfers, so I ended up looking at a couple parts of my firewall configuration.

It was an easy change, but in the course of all of this, I had made a typo that caused me a problem with one of my VLAN connections. When I tried to bring the link down so I could reinitialize it with some fixed configuration, it hung. Running <code>kill -9</code> didn't work, so I decided to just reboot. It had been several months since my last boot and there was a newer kernel that I wanted to be using, anyway, so it wasn't a big deal.

But then, <a href="http://en.wikipedia.org/wiki/DHCP">DHCP</a> (which is on the same box) no longer worked. I double-checked that <code>dhcpd</code> was running, did a little sniffing and discovered that the DHCP segments weren't actually getting past the firewall configuration. This is odd, since a <a href="http://www.netfilter.org/">Netfilter firewall</a> configuration that is completely locked down (i.e. a policy of <code>DROP</code> on all built-in chains and no rules) has always still permitted DHCP traffic to get through. However, I decided to add a couple of rules to the firewall, such as:

<pre>-A INPUT -p udp --sport 68 --dport 67 -m state --state new -j ACCEPT</pre>

With those new DHCP rules loaded up, it started working again. It would appear that the latest kernel for <a href="http://www.redhat.com/rhel/">Red Hat Enterprise Linux</a> 4 and <a href="http://www.centos.org/">CentOS</a> 4 (which that server runs), has made a change in Netfilter so that it now affects DHCP renewals.

Perhaps a little explanation of DHCP is order, here (skip down a little if you already know this part, in order to get the rest of the story).]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2006/09/dhcp_voip_updat.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2006/09/dhcp_voip_updat.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Guru Labs</category>
        
        
         <pubDate>Tue, 05 Sep 2006 22:46:52 -0700</pubDate>
      </item>
            <item>
         <title>Why Code Must be Tested</title>
         <description><![CDATA[I received an email this morning from <a href="http://www.usair.com/">U.S. Airways</a>, updating me on my mileage status. Here's a clipping from it:

<blockquote>Account Balance Update

Dear LAMONT R PETERSON,

Tier Level: {% if (  = " " ) %}Dividend Miles{% endif %} {% if (  = "S" ) %}Silver Preferred{% endif %} {% if (  = "G" ) %}Gold Preferred{% endif %} {% if (  = "P" ) %}Platinum Preferred{% endif %} {% if (  = "C" ) %}Chairman's Preferred{% endif %} 
Dividend Miles #: 1234567890

Welcome to the new Dividend Miles:

You now have access to over 842 worldwide destinations at your fingertips and mileage-earning opportunities with over 100 partners such as hotels, rental car and financial service companies, just to name a few.

<code>. . . snip . . .</code>
</blockquote>

Apparently, the marketing department gets more proofreading resources than the programmers.]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2006/08/why_code_must_b.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2006/08/why_code_must_b.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Programming</category>
        
        
         <pubDate>Mon, 28 Aug 2006 13:41:50 -0700</pubDate>
      </item>
            <item>
         <title>Yum GPG Keys</title>
         <description><![CDATA[I forgot to mention the use of GPG keys with <code>yum</code> in my <a href="http://blogs.gurulabs.com/lamont/archives/2006/07/macromedia_flas.html">recent post</a> about using the <a href="http://macromedia.mplug.org/">mplug</a> repository to install <a href="http://www.adobe.com/">Adobe</a> <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Flash Player</a>.

In the <code>.repo</code> file for the mplug Yum repository, there are two lines about GPG; <code>gpgcheck=1</code> turns on the feature that GPG signatures must be present and valid for packages downloaded from that repo or <code>yum</code> will not install them. <code>gpgkey=http://macromedia.mplug.org/FEDORA-GPG-KEY</code> provides the location where the GPG key file can be found. Simply download the key and run <code><b>rpm --import FEDORA-GPG-KEY</b></code> (as root, of course) to install the key into RPM.

There is older documentation on the Internet that will tell you to run <code><b>gpg --import <i>keyfile</i></b></code> either prior to or in stead of <code><b>rpm --import <i>keyfile</i></b></code>. That's for way older versions of RPM and no longer applies; it is only necessary (and desireable) to install the key into RPM.]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2006/08/yum_gpg_keys.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2006/08/yum_gpg_keys.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Guru Labs</category>
        
        
         <pubDate>Fri, 04 Aug 2006 10:29:12 -0700</pubDate>
      </item>
            <item>
         <title>Macromedia Flash 9 for Linux</title>
         <description><![CDATA[In a <a href="http://blogs.gurulabs.com/lamont/archives/2006/07/macromedia_flas.html">recent post of mine</a>, I talked about using the <a href="http://macromedia.mplug.org/">mplug</a> yum repository to install the <a href="http://www.adobe.com/">Adobe</a> <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Flash Player</a> web browser plugin (Adobe <a href="http://www.adobe.com/aboutadobe/invrelations/adobeandmacromedia.html">bought Macromedia</a> in 2005).

I also talked a little about the future of Flash Player on Linux. The main thing is that Flash 8 will probably never come to Linux, but 8.5 would. Today, I came across <a href="http://weblogs.macromedia.com/emmy/archives/2006/05/yes_virginia_th.cfm">this post</a> by <a href="http://weblogs.macromedia.com/emmy/">Emmy Huang</a> which talks about Flash Player 9 for Linux. There should be a Linux beta late this year for public testing with the final release sometime in early 2007, according to Huang.

Also, there is a new <a href="http://blogs.adobe.com/penguin.swf/">Penguin.SWF</a> blog at Adobe, run my "Mike M." Go there for all the latest on Flash for Linux.]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2006/08/macromedia_flas_1.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2006/08/macromedia_flas_1.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Guru Labs</category>
        
        
         <pubDate>Fri, 04 Aug 2006 09:45:11 -0700</pubDate>
      </item>
            <item>
         <title>Old Hard Drive: R.I.P.</title>
         <description><![CDATA[Well, it finally happened. Over this past weekend, while <a href="http://blogs.gurulabs.com/lamont/archives/2006/07/the_lvm_advanta.html#more">working to finish migrating data from a failing drive to a new one</a>, I found the end of the rope. I have been unable to recover enough data from the old drive to be able to do anything useful with it and since it was still part of the LVM Volume Group (or VG), the problems it was causing were just too much to deal with.

So, I wiped all of the hard drives for the <code>data</code> VG. I am rebuilding everything from my backups. Ha, I'm sure I got some of you. You thought that perhaps I was going through all those gyrations trying to save my data because I didn't have any backups. Well, I think I'm a little smarter than that :) .

Seriously, though, I had backed up all the stuff that would be difficult to replace/reconstruct as well as all the irreplaceable data. I had things like several Linux distributions' files and .iso images, to make it easy to burn discs and to do network installs (either whole installs or just to have the packages handy). There were mirrors of updates and other software. All of that is easy to replace, though, so I didn't bother backing it up.

The next thing I would like to do for my file server is to pick up another 320GB drive so that I can pair it with the one I have now and migrate everything into an LVM on RAID1 set. Later, I'll add more 320GB drives and convert the RAID1 to RAID5 or RAID6. In the meantime, the 45GB drive is now sitting in the target pile, waiting for the next target shooting outing and the 120GB drive is going to be an online backup store in the file server. That leaves me with only 299GB of storage on my file server.

How will I ever get by? :)]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2006/07/old_hard_drive_1.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2006/07/old_hard_drive_1.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Equipment</category>
        
        
         <pubDate>Tue, 25 Jul 2006 10:44:34 -0700</pubDate>
      </item>
            <item>
         <title>The LVM Advantage: Migrating Data</title>
         <description><![CDATA[The Linux Logical Volume Management system (LVM) is a wonderful piece of technology. In a nutshell, you take disparate storage devices and place them under the control of LVM in a container called a Volume Group (or VG for short). You can then create Logical Volumes (or LV for short) in the VG, which can be formatted, mounted and used, just like any block device. The LVM code will manage everything.

Sometimes, when I'm first introducing students to LVM, they ask me something like, "Why would I ever want to do this? Add an extra layer of complexity and overhead, just to get some fancy looking partitions? No thanks; I'll stick to plain partitions."

First of all, LVM is <i>very</i> efficient, introducing almost zero overhead for most normal operations. Yes, there is a little, but it can be difficult to meassue, let alone notice. Second, there are many irritating storage management tasks that are downright child's play to accomplish with LVM in place but quite difficult with just plain partitions.]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2006/07/the_lvm_advanta.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2006/07/the_lvm_advanta.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Equipment</category>
        
        
         <pubDate>Mon, 17 Jul 2006 23:15:25 -0700</pubDate>
      </item>
            <item>
         <title>New Hard Drive? Test It First</title>
         <description><![CDATA[As you may have read in my most recent entries, I am updating my home file server, replacing the two existing ATA data drives with a new larger, faster SATA drive.

The old drives are 45GB & 120GB in size, which works out to approximately 41GB and 111GB formatted capacity, for just over 152GB storage. The new drive is a 320GB model, which works out to just over 299GB formatted capcity.

Since the old drives are nearly full, I'm going to be moving a lot of data. As I'm using LVM, I can migrate the data to the new drive with ease, while I have everything online and in use, but I'll cover that later. But before I move the data over, I would like to know if the new drive is good. Although this technique won't tell you for sure (as in life, sometimes there is no certainty), but it's a good indication that things are OK and it gives the new drive a little bit of a workout.

I simply used the <code>badblocks</code> command to test the entire drive, like so:]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2006/07/new_hard_drive_1.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2006/07/new_hard_drive_1.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Equipment</category>
        
        
         <pubDate>Mon, 17 Jul 2006 20:08:44 -0700</pubDate>
      </item>
            <item>
         <title>PCI SATA Controller is Working</title>
         <description><![CDATA[In my <a href="http://blogs.gurulabs.com/lamont/archives/2006/07/mkisofs_bootabl.html">recent post about creating bootable CD images</a>, I talked about the reasons why I was trying to build a bootable CD:  I needed to install an updated BIOS to try and get my new ($19, BTW) PCI SATA controller to show up.

The new card is built using a <http://www.sis.com/">Silicon Integrated Systems Corp.</a> (SiS) chip. This controller needs the "sis-sil" driver. My dual Opteron box still has <a href="http://fedora.redhat.com/">Fedora Core</a> 4 on it, which apparently either doesn't have the driver with it, or didn't try loading it. I discovered this while trying to test the card and the new <a href="http://www.westerndigital.com/">Western Digital</a> WD3200J hard drive I bought the card for in my dual Opteron workstation. The drive showed up if I connected it to the on-board SATA controller, but not on the PCI card. But, <code>lspci</code> did show and identify the PCI SATA controller.

I decided to try it again in the file server box, so I put the whole thing back together and fired it up, entering a rescue mode using a <a href="http://www.redhat.com/rhel">RHEL</a> 4 ES DVD that was lying close by. Nothing from <code>lspci</code>, so I decided to button up the box (I had it sitting on the back of my desk while working on it) and replace it in the server stack so that I could at least use the storage I had.

Boy, was I in for a pleasant surprise.]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2006/07/pci_sata_contro.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2006/07/pci_sata_contro.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Equipment</category>
        
        
         <pubDate>Sun, 16 Jul 2006 23:23:19 -0700</pubDate>
      </item>
            <item>
         <title>Creating a Bootable CD Image with mkisofs</title>
         <description><![CDATA[I've been working on my home file server this weekend. It has had a little over 150GB of storage for about 2.5 years, running <a href="http://www.redhat.com/rhel/">RHEL</a>3. About 2 months ago, I picked up a 320GB SATA drive and a PCI SATA controller to upgrade the system.

Unfortunately, there have been a few bumps and bruises on the way to getting the new drive working in my server. To help you understand some of the issues, here are the specs on that box:

<ol>
<li>700MHz <a href="http://www.amd.com/">AMD</a> <a href="http://www.amd.com/us-en/Processors/ProductInformation/0,,30_118_1260_1202,00.html">Duron</a> processor</li>
<li>Syntax SV266AD motherboard</li>
<li>1GB RAM, 1 DIMM from <a href="http://www.crucial.com/">Crucial</a></li>
<li>4GB Quantum Fireball hard drive (used for OS with separate LVM VG)</li>
<li>45GB hard drive (<a href="http://www.westerndigital.com/">Western Digital</a> WD450AA)</li>
<li>120GB hard drive (<a href="http://www.westerndigital.com/">Western Digital</a> WD1200BB</li>
</ol>

In case you were wondering, it was only about $2 more to get a 1GB DIMM than a 256MB DIMM when I bought it and the 45GB &amp; 120GB drives provide the shared storage under LVM.

Not a bad system, but not terribly modern either. For example, my problems begin with the fact that SATA is a newer technology than the Duron boards or, for that matter, RHEL 3 (because it sports the 2.4 version of the kernel).]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2006/07/mkisofs_bootabl.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2006/07/mkisofs_bootabl.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Equipment</category>
        
        
         <pubDate>Sun, 16 Jul 2006 19:55:02 -0700</pubDate>
      </item>
            <item>
         <title>Macromedia Flash on FC5</title>
         <description><![CDATA[Last year, I wrote a post providing <a href="http://blogs.gurulabs.com/lamont/archives/2005/03/installing_the.html">instructions on how to manually install</a> the <a href="http://www.macromedia.com/">Macromedia</a> <a href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Flash</a> plugin for Linux so that it would work with all of your browsers.

As my good friend <a href="http://www.fozzilinymoo.org/">Doran Barton</a> pointed out in a comment on my previous post, there are RPMs available to provide the Flash plugin. At the time I wrote that post, I had tried using that RPM for the current release of <a href="http://fedora.redhat.com/">Fedora Core</a> which I had recently installed, but it didn't work for me. Additionally, other instructions &amp; HOWTOs that I had found on the Internet didn't work for all of my browsers. As I do some web stuff, I like to keep several working browsers around for testing.

When Fedora Core 4 came out (in May of 2005), I continued to use the instructions I had written to make Flash available in all of my browsers. A couple of months later, I found that the <a href="http://macromedia.mplug.org">mplug</a> yum repo (which Doran had suggested using) now worked for me and that it installs the Flash plugin such that it works with all the browsers I have installed.

When I upgraded to FC5, I found that the same RPM works there, too. You can <a href="http://macromedia.mplug.org/macromedia-i386.repo">download the .repo file</a>, which should be placed into your <code>/etc/yum.repos.d/</code> directory, then run <code>yum install flash-plugin</code> as root.

I did <a href="http://blog.openbrainstem.net/peregrine/2006/07/01/review-superman-returns/">run into a website recently</a> that required Flash 8, which is not available for Linux. It's doubtful that the <a href="http://www.kaourantin.net/2005/08/porting-flash-player-to-alternative.html">complications in porting Flash Player 8 to Linux</a> will be overcome, however, it looks like <a href="http://www.kaourantin.net/2005/12/flash-player-8-for-linux-update.html">Flash Player 8.5 will be made available for Linux</a>.

So, I would highly recommend using the mplug Macromedia yum repository. But if it doesn't work for you, refer back to my instructions for manually setting up Flash for all of your browsers.

If you experience any troubles with the Flash plugin in your browsers, check out <a href="http://macromedia.mplug.org/faq.html">the FAQ</a> at mplug, which has some good tips for dealing with common issues. For those of you using FC5, there is a note in the FAQ about font issues that could apply to your situation. There are also notes regarding installing the flash plugin with other distributions.]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2006/07/macromedia_flas.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2006/07/macromedia_flas.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Guru Labs</category>
        
        
         <pubDate>Tue, 11 Jul 2006 09:25:28 -0700</pubDate>
      </item>
            <item>
         <title>Swap Happy NICs on FC5</title>
         <description><![CDATA[When <a href="http://www.redhat.com/">Red Hat</a>'s <code>system-config-network</code> or <code>netconfig</code> tools (on either <a href="http://www.redhat.com/rhel/">RHEL</a> or <a href="http://fedora.redhat.com/">Fedora</a>) create <code>/etc/sysconfig/network-scripts/ifcfg-eth<i>X</i></code> files, they always add in the <code>HWADDR=<i>00:00:00:00:00:00</i></code> line. There have been a couple of times that I have run into trouble because of that line.

When <code>ifup</code> finds the <code>HWADDR</code> variable in an <code>ifcfg-<i>foo</i></code> file, it uses the value to verify that it is configuring the correct interface. If it doesn't match, it bails out. Because of this, I have often told students that if they expect to be swapping NICs or if they run into a problem where ifup refuses to configure the interface, to try removing (or commenting out) the <code>HWADDR</code> line entirely. I have even gotten into the habit of just removing it on my own personal servers, workstations &amp; notebooks.

However, not having <code>HWADDR</code> in my <code>/etc/sysconfig/network-scripts/ifcfg-eth<i>X</i></code> files on my notebook actually caused me a little bit of trouble, today.]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2006/07/swap_happy_nics_on_fc5.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2006/07/swap_happy_nics_on_fc5.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Guru Labs</category>
        
        
         <pubDate>Mon, 10 Jul 2006 15:37:25 -0700</pubDate>
      </item>
            <item>
         <title>Encrypting Partitions on a Fedora Core Notebook</title>
         <description><![CDATA[(Ed. <i>I originally wrote this in August of 2005, but never published it, planning on reworking it to use dm-crypt instead. Unfortunately, with all the traveling and other things keeping me busy here at <a href="http://www.gurulabs.com">Guru Labs</a>, I've still not gotten around to it, so, I decided to publish this version as is. I should have the dm-crypt version written as a new <a href="http://www.gurulabs.com/goodies/guru+guides.php">Guru Guide</a>, soon.</i>

Working for <a href="http://www.GuruLabs.com/">Guru Labs</a>, I travel many tens of thousands of miles per year.  I go through airports and fly all over North America.  In all this traveling, I have never had to deal with the loss or theft of a notebook computer. Hopefully, my luck will hold for many years (decades?) to come.

Of course, I'm not going to just say, "Well, I'll never have to worry about that!," and call it "security".  I have data on my notebook that I would not want to lose.  If my notebook was lost or stolen, I have all that data on other system and could reconstruct it (well, <i>almost</i> all that data).

However, some of it should never be allowed to fall into the "wrong" hands, either.  Encryption is a good answer to this problem.]]></description>
         <link>http://blogs.gurulabs.com/lamont/archives/2006/07/encrypting_part.html</link>
         <guid>http://blogs.gurulabs.com/lamont/archives/2006/07/encrypting_part.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Guru Labs</category>
        
        
         <pubDate>Fri, 07 Jul 2006 11:45:32 -0700</pubDate>
      </item>
      
   </channel>
</rss>
