Hi Dave,
One of the things I am working on is making an equivalent, compatible environment that is USB flash drive based. As I understand it, the Live CD is not writeable - I could be wrong.
So far, I have made a persistent 2 GB USB flash drive environment with Ubuntu 7.10 on it. It is simply a vanilla version with no special updates from me on it at this time. The persistence is a feature to be able to retain the changes once made to survive between reboots - just like saving to disk normally accomplishes.
Yes, I believe it is possible that the environment once created up-to-date from what I have done so far for the Live CD environment on a USB flash drive could load itself into RAM, and, of course, one of the requirements would be that the hard drives be able to be unmounted which is necessary and sufficient to protect them from the Internet. Being able to power them down saves on use of electricity, but is a further protection that is probably not necessary with the drives unmounted.
One of the issues is to make the USB flash drive secure. Securing USB flash drives will take some security software that I have not yet settled upon.
I did not script the Ubuntu Live CD - it is the original from Canonical, and next month the Hardy Heron LTS (8.04) will be released (I think on the 24th?).
What I have done is locate on one of my hard disks, all of the changes I have made to my Ubuntu environment, i.e. all of the software updates via the Synaptic Package Manager. I have written scripts to setup the Live CD environment with those changes.
The process I use is straightforward to me (as a system software engineer), but takes some amount of patience (as the boot time is probably just a little bit more than most people would tolerate). Luckily, I know what I have done, and it is easy to deal with. My hope is that the USB flash drive will speed up the process by eliminating the need for the CD and encase the updates via its persistence so that the hard drives are no longer necessary either.
Here is the process I use:
1) boot up with Ubuntu 7.10 Live CD (when Hardy Heron arrives, I will just substitute the new CD and it should work with some minor changes), but to be realistic I will probably have to go back to square one and insure that everything I made updates to is updated within the new OS context - as both a safety, and a security precaution. In fact some things may not even work.
2) Since I only have a dialup 56k modem, at this point I am not connected to the Internet and if the scheme I use is being tried on a 24/7 connected interface - I would recommend it be disconnected in order to allow the initialized environment to be fully prepared for the Internet (this mostly means "installing the updates" and initializing the iptables firewall). By installing the updates, I mean copying bzipped tarballs of the changes I have made and extracting them into the proper locations on the system. The last task in the system setup is to manually set the UTC time on the system (I use my trusty Timex atomic watch which is synced to the NIST radio controlled signal).
3) The last update I install is the Firefox profile which I save every day after each session is over. This is different than the actual Firefox release software itself which is taken care of in the previous step. I do this step as the regular ubuntu user, whereas all of the previous modifications are made from the root account. Still unconnected from the Internet at this stage.
4) All is set to dialup the Internet which I do with wvdial. I have some 10 phone numbers programmed if one seems to not be working or too busy. As you might guess, there is more underneath the skin to make it all work.
One issue currently that I have been putting off is my BIOS. It seems in order to boot from the USB flash drive, I have to change the BIOS entry in the order of devices to boot from where the USB flash drive takes the place of the bootable hard drive. Doing so apparently does not allow the hard drive to be in the order - i.e. the substitution is one-for-one. So, currently, when I place the USB flash drive into the USB socket from a powered down state, and boot up, the USB device is seen (but since I have not modified the BIOS) it will not boot - i.e. until I make that change.
I have investigated my BIOS and downloaded and burned the latest version to it should I need to get things running - naturally, I have not done this and won't until I know it is needed, otherwise, I will leave it alone for now.
Sometime in the next couple of weeks, I will pick this development up again, and hopefully finish it before Hardy Heron arrives late next month.
When I initiate a Terminal window, the commands I give are:
$ sudo -i
# cp /media/CDROM/* ~
# ./setup.sh gutsy
# date -u mmddhhmm (in 24 hour time compensating for EDT+4 for UTC time)
# exit
The script setup.sh, probes the (4) hard drives and determines which device the software is on, and mounts and pulls the initialization script over to the root account directory and then executes it which pulls over and installs the updates and initializes the iptables firewall.
-- Tom
P.S. You can find some of my scripts posted here at TSG, though I do not recall the threads so you would have to search for my posts in this forum of which there are many.
The main initialization script does nothing more than pull over updates to packages I have installed via the Synaptic Package Manager to Ubuntu + a few little tricks that need to be done to the Linux environment since they are not done by default at least not yet anyway.
As my scripts otherwise are a work-in-progress at this time and I am working on documenting them I don't feel I have the time to be able to explain all that I do, and am not currently predisposed to release them to anyone, but I will try to answer any questions you have - just ask.
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction between a mere artisan or specialist and a real seeker after truth. - Einstein wrote in 1944.
Some say knowledge is power, I say knowledge without action is powerless. - lotuseclat79
Don't confuse action with movement. - Hemingway to Gardner
Imagination is more important than knowledge. - Einstein
Last edited by lotuseclat79 : 11-Mar-2008 04:27 PM.