<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.3">
</HEAD>
<BODY>
No.  I was spammed w/ the end-of-the quarter work and am picking this back up now.<BR>
<BR>
So, the options to get where we need to go are:
<UL>
    <LI>RHEL 5.x w/ JBoss Developer Studio (JBDS)  (This would best, but I don't think RHEL 5 can do LiveCD + Persistence.  JBDS includes license for RHEL 5.x) 
    <LI>F8 w/ JBoss Tools (Free solution for the community at large, but much more work for us.)
    <LI>F8 w/ JBDS (Easiest path, but the OS is not the same one they are going to deploy on, but close enough?)
</UL>
<BR>
Which one of the combinations or all of them can we pull off?  Can we get RHEL 5.x to do Live CD/DVD + Persistence?  What do you think?<BR>
<BR>
Another question is, how do we update/patch JBDS if we have a read-only Live CD image?  Can we apply the updates to the "persistence" part of the thumb drive or are are we going to have to spin another LIve CD image?  <BR>
<BR>
Q: Why do we need to do this?  A: Too many Java developers are using Windoz to develop on and then deploying on Linux/Solaris/HPUX....  Given that we have an Open Source OS, JVM, Application Server, DB, and Development Environment, we can give them a really exciting "cool" way to get their whole development environment on a thumb drive for very little to no cost.  That way their development environment is the same/similar too their deployment environment and they can use it at home or on the road and have EVERYTHING they need wherever they are.<BR>
<BR>
Who else could do this?  Nobody.  It's a big deal if we can get it done.<BR>
<BR>
I will have to look up your script you sent me and start to get smart on this.  Can I use a F8 Live CD/DVD to do this to a thumb drive, or am I going to have to upgrade my laptop from FC6 to F8?<BR>
<BR>
MikeD<BR>
<BR>
On Fri, 2007-12-14 at 13:21 -0600, Douglas McClendon wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Mike Dickson wrote:</FONT>
<FONT COLOR="#000000">> Is there any chance of getting a current version of RHEL into the Live </FONT>
<FONT COLOR="#000000">> CD + Persistence game?</FONT>

<FONT COLOR="#000000">Were you ever able to test those patches I sent you a couple months back </FONT>
<FONT COLOR="#000000">(on fedora)?  (and for the most part, posted to this list)</FONT>

<FONT COLOR="#000000">For me, they do basically work in trivial testing scenarios.</FONT>

<FONT COLOR="#000000">The main problem I have mustering any enjoyment developing them is the </FONT>
<FONT COLOR="#000000">utter grossness of what it takes to patch the standard /etc/rc.d/init.d </FONT>
<FONT COLOR="#000000">halt and functions file.  (which is needed to defer unmounting of </FONT>
<FONT COLOR="#000000">persistence device until after readonly remounting of rootfs).</FONT>

<FONT COLOR="#000000">I do have an alternate distribution method of the feature, which makes </FONT>
<FONT COLOR="#000000">it more of a proof of concept "live iso patch" to the official f8 </FONT>
<FONT COLOR="#000000">livecd, but it's still the same code and mechanism.</FONT>

<FONT COLOR="#000000">The same fragility may still apply to my method that I mentioned months </FONT>
<FONT COLOR="#000000">ago, i.e. that it may become unrecoverably corrupted if not shutdown </FONT>
<FONT COLOR="#000000">cleanly.  But I suspect that if I can make the distribution of it as </FONT>
<FONT COLOR="#000000">easy as a 'patch' to apply to the f8 livecd, and get some testers, that </FONT>
<FONT COLOR="#000000">that problem can be solved (pure speculation).</FONT>

<FONT COLOR="#000000">My time estimates are usually overly ambitious, but I'll try to get that </FONT>
<FONT COLOR="#000000">iso-patch posted in a couple hours.</FONT>

<FONT COLOR="#000000">And as I responded long ago to the original criticism of the ugliness of </FONT>
<FONT COLOR="#000000">the halt&functions patching- I totally agree, and am open to suggestions.</FONT>

<FONT COLOR="#000000">Attached is the last patch I sent Mike, which is pretty close to what I </FONT>
<FONT COLOR="#000000">last posted to this list.  It's still useful if anyone is interested in </FONT>
<FONT COLOR="#000000">trying to understand the method I'm using.  The main thing to simplify </FONT>
<FONT COLOR="#000000">reading it, is</FONT>

<FONT COLOR="#000000">a) ignore the 'overlay=auto' code path.  It's a nice feature, but </FONT>
<FONT COLOR="#000000">complexity that should wait for the future when the base case is well </FONT>
<FONT COLOR="#000000">understood, tested and stable.  The base case being</FONT>

<FONT COLOR="#000000">b) assume the only use of the patch is with the modified </FONT>
<FONT COLOR="#000000">livecd-iso-to-disk.  I.e. the new usage would be</FONT>

<FONT COLOR="#000000">livecd-iso-to-disk --overlay-size-mb 128 /path/to/f8.iso /dev/sdb1</FONT>

<FONT COLOR="#000000">which would initialize a 128M persistence file and cause the bootloader </FONT>
<FONT COLOR="#000000">on the liveusb to use it.  I.e. the syslinux append line goes from</FONT>

<FONT COLOR="#000000">root=UUID=abcd-1234</FONT>

<FONT COLOR="#000000">to</FONT>

<FONT COLOR="#000000">root=UUID=abcd-1234 overlay=UUID=abcd-1234</FONT>

<FONT COLOR="#000000">Then, try to ignore the horrendously ugly selinux magic act required to </FONT>
<FONT COLOR="#000000">patch halt&functions, and just look at the contents of the halt.patch </FONT>
<FONT COLOR="#000000">and functions.patch.</FONT>

<FONT COLOR="#000000">-dmc</FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>