Re: Creating liveCD from existing server installation
I would think that the PXE boot would be the way to go. Have you looked at the Ubuntu PXE boot HowTo as well. It seems like you could take your existing root filesystem and make a PXE boot server fairly painlessly.
I don't think that installing via a shell script would make any difference to the chroot method. It probably has more bearing on how easily you can remove an installed software. The package manager is quite good at cleaning up things when you remove something but it is usually harder with a scripted install as often they don't provide a way to undo everything. Certainly stuff installed via script won't be removable via the package manager but the actual installed files shouldn't break anything about the chroot working or not.
I think if you took your current server root fs and copied it into the suggested nfsroot for PXE booting it would work regardless of how files were originally installed. You probably want to make such a copy before you installed additional server packages & config to do PXE booting though as you likely wouldn't want the clients to boot with PXE components active. ie. replicate the current filesystem, install PXE server stuff, mount that copied filesystem as nfsroot for the clients to boot off.
If I were doing that I'd probably use dd to make an image file of the filesystem you intend clients to use. Then use "mount -t loop" to mount that fixed image as your nfsroot. Or something like that anyway.
Last edited by BkkBonanza; July 27th, 2012 at 04:38 AM.
Send tips to: 17raXAGM42vZX21Vcb5HDwq2GMLmVwN4qd