Allan Lyons wrote: > On Fri, Mar 20, 2009 at 12:53:46AM +0100, Juan Jose Pablos wrote: > >> Modifying the boot stuff is a bit tedious if you have everything on >> the initrd, > > It is even more tedious if you have to boot from CD. > >> but I would like to get clear interfaces, by interfaces i mean >> responsibilities. >> >> boot up system. bring interface up. mount network share. > > Everything up to here has to be in initrd because the network share > isn't available. Also, the way that the master script is written, > the drive devices aren't populated until this point either. So, by > this point we need to have all the kernel modules, the samba stuff, > bash, and a couple of other small things. That works out to be > roughly 85% of the stuff in initrd. The kernel modules take up a lot > of space.
BTW, the initrd file of unattended-4.8rc5 is about 55MB ! This is because it contains kernel modules for SEVERAL kernel versions: cpio -it < /tftpboot/kernels/unattended-4.8rc5/initrd | egrep -e '^lib/modules/[0-9.]+$' lib/modules/2.6.25.3 lib/modules/2.6.25.6 lib/modules/2.6.25.9 lib/modules/2.6.26 Building from source (2.6.28.7): 23MB initrd file. Please dot not forget "make clean" next time ;-) >> get configuration options make partition copy files make bootable >> reboot > > Since the network is available for these last 5, the tools for them > don't really need to be in initrd. > >> Do you know that if you use a 4.7 Cd will not work with 4.8 network >> share? > > I would expect that to be the case and that is fine. What this > proposal is more for is to go from 4.8 to 4.8 with some local changes > without having to rebuild the CD. > > I'll see about coming up with a patch to split the stuff between what > is required before the network share is mounted and the rest. +1 . Pierre Bourgin ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel