[Fedora Forum] Micro Fedora

Daniel P. Berrange berrange at redhat.com
Thu Aug 28 20:26:39 UTC 2008


On Thu, Aug 28, 2008 at 09:16:55PM +0100, Daniel P. Berrange wrote:
> On Thu, Aug 28, 2008 at 10:52:16AM -0800, Jeff Spaleta wrote:
> > On Thu, Aug 28, 2008 at 10:43 AM, Daniel P. Berrange
> > <berrange at redhat.com> wrote:
> > > We are doing exactly this kind of model in the oVirt project. For the
> > > 'oVirt managed node' (ie the OS which hosts the virtual machines), we
> > > build a OS appliance image using a derivative of livecd-creator. This
> > > runs stateless - all persistent config is stored in oVirt's management
> > > system. We just load the entire OS image over PXE at boot time. We're
> > > currently building off Fedora 9 repos, and have a < 64 MB OS image.
> > 
> > You may want to compare notes with him.  I'm not sure what his use
> > case is other than 'I wonder how small I can make a workable Fedora
> > with a login prompt'.
> 
> Looking at the notes on fedoraforum it seems we have a slightly different
> approach. He's gone for space saving by switching to busybox

Reading more closely I see it involved ditching glibc/initscripts too

 "Anyway after a little manual janitorial work I had it down to kernel+busybox.
  (note - busybox is statically linked so I dumped glibc)
  ...
  aside from the homemade inittab and rcS (init script) it was all from
  the Fedora distro,'

So pretty much only bits of Fedora in use are the kernel & busybox, even
the init scripts are custom. So not really much trace of Fedora left at
all. Not sure why you'd go to the trouble of doing the initial  anconda 
install at that point - might as well just 'rpm --no-deps' install kernel
+ busybox RPMs into a chroot & add the custom init script.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the fedora-devel-list mailing list