<?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>Cinq Software &#187; Linux</title>
	<atom:link href="http://cinq.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://cinq.com</link>
	<description>my code</description>
	<lastBuildDate>Fri, 23 Mar 2012 01:42:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>VirtualBox on MacOSX running RHEL6.1</title>
		<link>http://cinq.com/2011/05/29/virtualbox-on-macosx-running-rhel6-1/</link>
		<comments>http://cinq.com/2011/05/29/virtualbox-on-macosx-running-rhel6-1/#comments</comments>
		<pubDate>Mon, 30 May 2011 00:31:26 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://cinq.com/?p=136</guid>
		<description><![CDATA[I will cut the suspense right away: not working very well. Actually all my Linux VMs on the Mac have not worked well with VirtualBox. I have tried many version of VirtualBox and there is not one that worked better for me. I searched on the community forums on the virtualbox.org site but did not [...]]]></description>
			<content:encoded><![CDATA[<p>I will cut the suspense right away: not working very well.</p>
<p>Actually all my Linux VMs on the Mac have not worked well with VirtualBox. I have tried many version of VirtualBox and there is not one that worked better for me.</p>
<p>I searched on the community forums on the virtualbox.org site but did not find much help.</p>
<p>The experience of installing RHEL 6.1 in VirtualBox was not easy at first because I was allocating the maximum memory it would allow me. I have plenty of available RAM on my iMac so that was not the issue. I was monitoring with the Activity monitor app and we were not hitting any limits from what I could see. In the middle of the installation VirtualBox would give me an error about the host being low on memory and would pause the installing VM. Only when I dropped the memory allocation from 3500 Mb to 2048 Mb did the installation work to the end.</p>
<p>The VirtualBox tools installed no problem but since I did not use the VM enough before installing the tools I am not sure if it was stable in the first place. If I start Firefox and Eclipse it freezes and I have to force a shutdown of the VM.</p>
<p>VirtualBox works great on my Windows 7 laptop and I have no problem running many apps in it. It is actually a very good development environment for what I do.</p>
<p>On the Mac I am afraid that I will have to find another solution and that is too bad because the iMac is a much better machine than the laptop to test RHEL 6.1.</p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2011/05/29/virtualbox-on-macosx-running-rhel6-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenShift and MacOSX</title>
		<link>http://cinq.com/2011/05/23/openshift-and-macosx/</link>
		<comments>http://cinq.com/2011/05/23/openshift-and-macosx/#comments</comments>
		<pubDate>Mon, 23 May 2011 23:35:39 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://cinq.com/?p=133</guid>
		<description><![CDATA[If I wanted the least amount of trouble I would probably use OpenShift on a Fedora laptop or a RHEL6 server. Since I always give myself a challenge, I decided to use MacOSX to work with OpenShift. Not that it is a bad idea but it gives additional challenges I did not expect. There is [...]]]></description>
			<content:encoded><![CDATA[<p>If I wanted the least amount of trouble I would probably use OpenShift on a Fedora laptop or a RHEL6 server.</p>
<p>Since I always give myself a challenge, I decided to use MacOSX to work with OpenShift. Not that it is a bad idea but it gives additional challenges I did not expect. There is always something positive about these challenges. When the basic things don&#8217;t work you have to learn about them and how everything is setup. It is always the best setup to learn. Certainly a quick success on that aspect.</p>
<p>Installing the rhc tools to create a domain and app on openshift requires that you have XCode installed. Only $5 to get the app from the Mac App Store but I did not know that it was installing an installer. Once I learned that I needed to install from the installation I was golden to get something done. So I had a relatively empty application from the WSGI template setup on my MacBook Air.</p>
<p>It is great to code on the laptop but sometimes I prefer to use the iMac with the bigger screen and more comfortable setup. I tried to simply do a git pull to get the repo but it would always fail on me. After getting some help from the OpenShift Express Forums I learned that I needed to copy the files from .ssh that were created with the rhc tools. The config and libra_* files were copied and my git pull worked as it should.</p>
<p>Basic things but it is great when it works and that you have learned where things are.</p>
<p>Now I have this great idea that I should try to put Spring Python in OpenShift Express. Looking for more learning, I guess.</p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2011/05/23/openshift-and-macosx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Red Hat Summit: The culture shock I needed</title>
		<link>http://cinq.com/2011/05/09/red-hat-summit-the-culture-shock-i-needed/</link>
		<comments>http://cinq.com/2011/05/09/red-hat-summit-the-culture-shock-i-needed/#comments</comments>
		<pubDate>Mon, 09 May 2011 16:44:40 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[inspiration]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://cinq.com/?p=129</guid>
		<description><![CDATA[I was not suppose to go this year because it was the turn for a co-worker but since that person left us for greener pastures I was lucky to be the next in line. I was quite happy to be going. I did not really remember why I wanted to be there until I was [...]]]></description>
			<content:encoded><![CDATA[<p>I was not suppose to go this year because it was the turn for a  co-worker but since that person left us for greener pastures I was lucky  to be the next in line.</p>
<p>I was quite happy to be going.</p>
<p>I  did not really remember why I wanted to be there until I was there for a  few hours. Yes I wanted to go to many of the technical sessions and my  agenda was made before the event started. I am always impressed that the  presenters are the people doing the code or in charge of the technical  team responsible for what is being presented. The presenter can answer  many of the questions and if they can&#8217;t most of the time the rest of  their team are in the audience. The quality of these presentations are  great because of this involvement.</p>
<p>But as much as the technical  sessions are great it was Jeremy from trendhunter.com that reminded me  why I loved the Summit so much. It is about the culture.</p>
<p>The  culture at the Summit and at Red Hat is very different than what I see  where I work. The collaboration with everyone is the norm in the open  source communities and Red Hat certainly makes it a point to always act  in collaboration.</p>
<p>That different mentality is good shock and  certainly allowed me to see others thinking differently but also to wake  me up. When you are challenged in how you execute your job you can  better evaluate the reasons you do it that way. You can also see what  you can change.</p>
<p>In my case it is a little more than that. I am  uncomfortable in how we approach our execution of what we need to do. I  am a lot more interested in the collaboration model that I have seen  during the Summit. In that regard I think that I need to challenge a lot  more than just myself. Is it just the greener pasture syndrome, I don&#8217;t  know. I think that I will have to wait a month and re-evaluate what I  have seen and how I feel about it.</p>
<p>I think that the most important sentence from this Summit will be &#8220;culture over strategy&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2011/05/09/red-hat-summit-the-culture-shock-i-needed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to do a SVN Dump from a remote repo</title>
		<link>http://cinq.com/2010/07/27/how-to-do-a-svn-dump-from-a-remote-repo/</link>
		<comments>http://cinq.com/2010/07/27/how-to-do-a-svn-dump-from-a-remote-repo/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 18:08:10 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[documentation]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cinq.com/?p=97</guid>
		<description><![CDATA[Found this great article on how to hack your way to do a SVN dump from a remote repo. I had never use the svnsync command but this allows you to make the remote repo a local one and you can easily use it to create your dump file. Very useful when you have lost [...]]]></description>
			<content:encoded><![CDATA[<p>Found this great <a href="http://pogopixels.com/blog/dumping-a-svn-repository-from-a-remote-url/">article on how to hack your way to do a SVN dump from a remote repo</a>. I had never use the svnsync command but this allows you to make the remote repo a local one and you can easily use it to create your dump file. Very useful when you have lost admin access to the original server and you need to migrate to a new SVN server.</p>
<p>Quick command list:</p>
<ul>
<li>svnadmin create temprepo</li>
<li>echo &#8216;#!/bin/sh&#8217; &gt; temprepo/hooks/pre-revprop-change</li>
<li>chmod +x temprepo/hooks/pre-revprop-change</li>
<li>svnsync init file://temprepo https://server/svn/origrepo</li>
<li>svnsync sync temprepo</li>
<li>svnadmin dump temprepo &gt; dumpfile</li>
</ul>
<p>Copy the dump file over to the new SVN server and on it:</p>
<ul>
<li>svnadmin load reponame &lt; dumpfile</li>
</ul>
<p>A quick word of warning because the UUID will change with this process so doing &#8220;svn sw&#8221; on existing working copy might prove to be challenging.</p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2010/07/27/how-to-do-a-svn-dump-from-a-remote-repo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rhn_register erroring out</title>
		<link>http://cinq.com/2010/03/23/rhn_register-erroring-out/</link>
		<comments>http://cinq.com/2010/03/23/rhn_register-erroring-out/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 19:21:19 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CIS]]></category>
		<category><![CDATA[haldaemon]]></category>
		<category><![CDATA[rhn_register]]></category>

		<guid isPermaLink="false">http://cinq.com/?p=80</guid>
		<description><![CDATA[It took me over an hour to figure out why it was failing like this: An error has occurred: exceptions.TypeError See /var/log/up2date for more information In the log you would get this explaination: ﻿﻿[Tue Mar 23 11:30:43 2010] rhn_register There was an error while reading the hardware info from the bios. Traceback: [Tue Mar 23 [...]]]></description>
			<content:encoded><![CDATA[<p>It took me over an hour to figure out why it was failing like this:</p>
<p>An error has occurred:<br />
exceptions.TypeError<br />
See /var/log/up2date for more information</p>
<p>In the log you would get this explaination:</p>
<p>﻿﻿[Tue Mar 23 11:30:43 2010] rhn_register There was an error while reading the hardware info from the bios. Traceback:</p>
<p>[Tue Mar 23 11:30:43 2010] rhn_register<br />
Traceback (most recent call last):<br />
File &#8220;/usr/share/rhn/up2date_client/tui.py&#8221;, line 1510, in _activate_hardware<br />
hardwareInfo = hardware.get_hal_system_and_smbios()<br />
File &#8220;/usr/share/rhn/up2date_client/hardware.py&#8221;, line 863, in get_hal_system_and_smbios<br />
props = computer.GetAllProperties()<br />
File &#8220;/usr/lib64/python2.4/site-packages/dbus/proxies.py&#8221;, line 25, in __call__<br />
ret = self._proxy_method (*args, **keywords)<br />
File &#8220;/usr/lib64/python2.4/site-packages/dbus/proxies.py&#8221;, line 102, in __call__<br />
reply_message = self._connection.send_with_reply_and_block(message, timeout)<br />
File &#8220;dbus_bindings.pyx&#8221;, line 455, in dbus_bindings.Connection.send_with_reply_and_block<br />
dbus_bindings.DBusException: The name org.freedesktop.Hal was not provided by any .service files</p>
<p>[Tue Mar 23 11:30:43 2010] rhn_register<br />
Traceback (most recent call last):<br />
File &#8220;/usr/sbin/rhn_register&#8221;, line 82, in ?<br />
app.run()<br />
File &#8220;/usr/share/rhn/up2date_client/rhncli.py&#8221;, line 65, in run<br />
sys.exit(self.main() or 0)<br />
File &#8220;/usr/sbin/rhn_register&#8221;, line 64, in main<br />
ui.main()<br />
File &#8220;/usr/share/rhn/up2date_client/tui.py&#8221;, line 1721, in main<br />
tui.run()<br />
File &#8220;/usr/share/rhn/up2date_client/tui.py&#8221;, line 1608, in run<br />
if self._show_subscription_window() == False:<br />
File &#8220;/usr/share/rhn/up2date_client/tui.py&#8221;, line 1562, in _show_subscription_window<br />
self.password)<br />
File &#8220;/usr/share/rhn/up2date_client/rhnreg.py&#8221;, line 588, in getRemainingSubscriptions<br />
smbios)<br />
File &#8220;/usr/share/rhn/up2date_client/rhnserver.py&#8221;, line 50, in __call__<br />
return rpcServer.doCall(method, *args, **kwargs)<br />
File &#8220;/usr/share/rhn/up2date_client/rpcServer.py&#8221;, line 199, in doCall<br />
ret = method(*args, **kwargs)<br />
File &#8220;/usr/lib64/python2.4/xmlrpclib.py&#8221;, line 1096, in __call__<br />
return self.__send(self.__name, args)<br />
File &#8220;/usr/share/rhn/up2date_client/rpcServer.py&#8221;, line 38, in _request1<br />
ret = self._request(methodname, params)<br />
File &#8220;/usr/lib/python2.4/site-packages/rhn/rpclib.py&#8221;, line 314, in _request<br />
request = self._req_body(params, methodname)<br />
File &#8220;/usr/lib/python2.4/site-packages/rhn/rpclib.py&#8221;, line 222, in _req_body<br />
return xmlrpclib.dumps(params, methodname, encoding=self._encoding)<br />
File &#8220;/usr/lib64/python2.4/xmlrpclib.py&#8221;, line 1029, in dumps<br />
data = m.dumps(params)<br />
File &#8220;/usr/lib64/python2.4/xmlrpclib.py&#8221;, line 603, in dumps<br />
dump(v, write)<br />
File &#8220;/usr/lib64/python2.4/xmlrpclib.py&#8221;, line 615, in __dump<br />
f(self, value, write)<br />
File &#8220;/usr/lib64/python2.4/xmlrpclib.py&#8221;, line 619, in dump_nil<br />
raise TypeError, &#8220;cannot marshal None unless allow_none is enabled&#8221;<br />
exceptions.TypeError: cannot marshal None unless allow_none is enabled</p>
<p>I also tried the rhnreg_ks utility with the &#8211;nohardware argument and that is when it gave me more information about the error:</p>
<p>[Tue Mar 23 15:18:39 2010] up2date Warning: haldaemon or messagebus service not running. Cannot probe hardware and DMI information.</p>
<p>I started the haldaemon process and I could then rhn_register my host.</p>
<p>Why did we disable the haldaemon process? It is part of the CIS recommendation to disable that startup service.</p>
<p>You learn the side effect of security as you go try things.</p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2010/03/23/rhn_register-erroring-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forwarding DNS Server</title>
		<link>http://cinq.com/2010/02/04/forwarding-dns-server/</link>
		<comments>http://cinq.com/2010/02/04/forwarding-dns-server/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 19:09:20 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[documentation]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cinq.com/?p=71</guid>
		<description><![CDATA[options { directory &#8220;/var/named&#8221;; forwarders {172.16.10.1; 172.16.10.2;}; forward only; }; I had to setup a forwarding DNS servers today and since I had never done it before I was looking for a quick way. I installed the bind rpm package that comes with RHEL5 and was puzzled since it did not create the /etc/named.conf. So [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">options {</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">directory &#8220;/var/named&#8221;;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">forwarders {172.16.10.1; 172.16.10.2;};</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">forward only;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">};</div>
<p>I had to setup a forwarding DNS servers today and since I had never done it before I was looking for a quick way.</p>
<p>I installed the bind rpm package that comes with RHEL5 and was puzzled since it did not create the /etc/named.conf. So I created one with this content:</p>
<p>options {<br />
directory &#8220;/var/named&#8221;;<br />
forwarders {10.1.1.1; 10.1.1.2;};<br />
forward only;<br />
};</p>
<div>Changed the ownership to named:named and started the service.</div>
<div></div>
<div>Quite simple and in our lab it is a simple way to address an issue with routes to access a DNS Server.</div>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2010/02/04/forwarding-dns-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun Java in KUbuntu</title>
		<link>http://cinq.com/2009/12/30/sun-java-in-kubuntu/</link>
		<comments>http://cinq.com/2009/12/30/sun-java-in-kubuntu/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 15:50:16 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[kubuntu]]></category>

		<guid isPermaLink="false">http://cinq.com/?p=69</guid>
		<description><![CDATA[That was not an obvious one. Under KUbuntu I typically use the KPackageKit application to install and update applications.  It did not work well. I tried to install the sun-java-jdk package many times and every time it would list the dependencies and do the install but the &#8220;java -version&#8221; would tell me that I was [...]]]></description>
			<content:encoded><![CDATA[<p>That was not an obvious one. Under KUbuntu I typically use the KPackageKit application to install and update applications.  It did not work well. I tried to install the sun-java-jdk package many times and every time it would list the dependencies and do the install but the &#8220;java -version&#8221; would tell me that I was still using the OpenJDK.</p>
<p>After reading a few different posts in forums I tested the idea to use the synaptic package manager. The installation worked much better.</p>
<p>To finalize the install I ran a few commands at the cli:</p>
<p><strong>sudo update-java-alternatives -l</strong></p>
<p>This listed the fact that I now have the OpenJDK and Sun Java installed on my workstation.</p>
<p><strong>sudo update-alternatives &#8211;config java</strong></p>
<p>This allowed me to specify to use the Sun Java as my default JVM.</p>
<p><strong>java -version </strong></p>
<p>This now reports the Sun Java JRE as my JVM.</p>
<p>I can now use Maven to compile some test projects.</p>
<p>I guess there are still a few issues with the OpenJDK to be fully compatible (might just be some configuration that I am not aware of).</p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2009/12/30/sun-java-in-kubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>64 bits Linux and NVidia Drivers</title>
		<link>http://cinq.com/2009/08/13/64-bits-linux-and-nvidia-drivers/</link>
		<comments>http://cinq.com/2009/08/13/64-bits-linux-and-nvidia-drivers/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 18:53:44 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cinq.com/?p=48</guid>
		<description><![CDATA[I spent days trying to get the NVidia drivers to work on different 64 bits Linux distributions without success. Initially I was blaming Kubuntu 9.04 for these issues but I tried with Slamd64 and downloading the drivers from NVidia and had the same issues. I also tried with openSUSE 11.1 64 bits and it did [...]]]></description>
			<content:encoded><![CDATA[<p>I spent days trying to get the NVidia drivers to work on different 64 bits Linux distributions without success. Initially I was blaming Kubuntu 9.04 for these issues but I tried with Slamd64 and downloading the drivers from NVidia and had the same issues. I also tried with openSUSE 11.1 64 bits and it did not work.</p>
<p>Some desperate time passed&#8230;</p>
<p>I tried Kubuntu 9.04 32 bits and it worked on the first try.</p>
<p>I am quite puzzled about this. The Slamd64 site specifically mention that they have done testing to make sure that binaries like the NVidia Drivers would work. They work to install and compile but the X server does not start properly.</p>
<p>Not only that issue is bothering me but I can&#8217;t have one monitor turned 90 degrees and the other in normal mode. These limitations are not pleasant.</p>
<p>I must be missing something since it should work.</p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2009/08/13/64-bits-linux-and-nvidia-drivers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rebuilding the DVD ISO for CentOS 5 or RHEL 5</title>
		<link>http://cinq.com/2008/04/14/rebuilding-the-dvd-iso-for-centos-5-or-rhel-5/</link>
		<comments>http://cinq.com/2008/04/14/rebuilding-the-dvd-iso-for-centos-5-or-rhel-5/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 17:28:32 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[RHEL]]></category>

		<guid isPermaLink="false">http://cinq.com/?p=20</guid>
		<description><![CDATA[I found a few documents on the Internet about what I needed to do to rebuild the DVD to integrate my kickstart file. Unfortunately none of the solution had all the needed command in one place for my setup to work so here is my cookbook from the different sources. First I mounted the dvdrom [...]]]></description>
			<content:encoded><![CDATA[<p>I found a few documents on the Internet about what I needed to do to rebuild the DVD to integrate my kickstart file. Unfortunately none of the solution had all the needed command in one place for my setup to work so here is my cookbook from the different sources.</p>
<p>First I mounted the dvdrom with the CentOS DVD to /mnt/cdrom:</p>
<p><span style="color: #888888;">mount /dev/cdrom /mnt/cdrom</span></p>
<p>Then I copied a few files:</p>
<ul>
<li><span style="color: #888888;">cd /tmp</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/isolinux ./</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/CentOS ./isolinux/</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/* ./isolinux/  [say yes to overwrite the TRANS.TBL]</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/.discinfo ./isolinux/</span></li>
<li><span style="color: #888888;">cp ks.cfg /tmp/isolinux/</span></li>
</ul>
<p>For my RHEL5.1 rebuild I did similar commands but the paths are a bit different:</p>
<ul>
<li><span style="color: #888888;">cd /tmp</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/isolinux ./</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/Server ./isolinux/</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/VT ./isolinux/</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/images ./isolinux/</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/Cluster ./isolinux/</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/ClusterStorage ./isolinux/</span></li>
<li><span style="color: #888888;">cp /mnt/cdrom/* ./isolinux/  [say yes to overwrite the TRANS.TBL]</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/.discinfo ./isolinux/</span></li>
<li><span style="color: #888888;">cp ks.cfg /tmp/isolinux/</span></li>
</ul>
<p style="text-align: left;"><span style="color: #ffffff;">I had to change permissions on 2 files:</span></p>
<ul>
<li><span style="color: #888888;">chmod 664 ./isolinux/isolinux.bin</span></li>
<li><span style="color: #888888;">chmod 664 ./isolinux/isolinux.cfg</span></li>
</ul>
<p>I had to edit the isolinux.cfg (in the isolinux directory) to change a couple of lines:</p>
<ul>
<li>the &#8220;<span style="color: #888888;">default linux</span>&#8221; line became &#8220;<span style="color: #888888;">default ks</span>&#8220;</li>
<li>The 2 line after &#8220;label ks&#8221; went from &#8220;<span style="color: #888888;">append ks initrd=initrd.img</span>&#8221; to &#8220;<span style="color: #888888;">append ks=cdrom:/ks.cfg initrd=initrd.img</span>&#8220;</li>
</ul>
<p>The isolinux.cfg file now looks like:</p>
<pre><span style="color: #888888;"><strong>default ks</strong>
prompt 1
timeout 600
display boot.msg
F1 boot.msg
F2 options.msg
F3 general.msg
F4 param.msg
F5 rescue.msg
label linux
kernel vmlinuz
append initrd=initrd.img
label text
kernel vmlinuz
append initrd=initrd.img text
label ks
kernel vmlinuz
<strong>append ks=cdrom:/ks.cfg initrd=initrd.img</strong>
label local
localboot 1
label memtest86
kernel memtest
append -</span></pre>
<p>To build the ISO (all this on one line):</p>
<p><span style="color: #888888;">mkisofs -o centos5-dvd1.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -r -R -J -V &#8220;CentOS 5.1 (CentOS) Disk1&#8243; -A &#8220;CentOS 5.1 (CentOS) Disk1&#8243; -p &#8220;Cinq&#8221; -T isolinux/</span></p>
<p>For Red Hat Entreprise Linux 5.1 I had to change the label for the DVD from &#8220;CentOS 5.1 (CentOS) Disk1&#8243; to &#8220;RHEL_5.1 x86_64 DVD&#8221; (obviously I am using the x64 version for RHEL5) so the command became:</p>
<p><span style="color: #888888;">mkisofs -o centos5-dvd1.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -r -R -J -V &#8220;RHEL_5.1 x86_64 DVD&#8221; -A &#8220;RHEL_5.1 x86_64 DVD&#8221; -p &#8220;Cinq&#8221; -T isolinux/</span></p>
<p>Reference sites:</p>
<ul>
<li><a href="http://www.techonthenet.com/linux/centos4_update.php">http://www.techonthenet.com/linux/centos4_update.php</a></li>
<li><a href="https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&amp;order=ASC&amp;topic_id=3635&amp;forum=27&amp;move=next&amp;topic_time=1149676608">https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&amp;order=ASC&amp;topic_id=3635&amp;forum=27&amp;move=next&amp;topic_time=1149676608</a></li>
<li><a href="http://blog.nominet.org.uk/tech/2005/09/19/building-a-redhat-enterprise-linux-serial-console-boot-dvd/">http://blog.nominet.org.uk/tech/2005/09/19/building-a-redhat-enterprise-linux-serial-console-boot-dvd/</a></li>
<li><a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/en-US/System_Administration_Guide/Kickstart_Installations-Kickstart_Options.html">http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/en-US/System_Administration_Guide/Kickstart_Installations-Kickstart_Options.html</a></li>
<li><a href="http://nootech.wordpress.com/2007/12/11/build-a-custom-centos-5-install-cd/">http://nootech.wordpress.com/2007/12/11/build-a-custom-centos-5-install-cd/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2008/04/14/rebuilding-the-dvd-iso-for-centos-5-or-rhel-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

