On Tue, 2010-11-09 at 22:39 +0100, KP Kirchdoerfer wrote: > Am Dienstag, 9. November 2010, 22:08:10 schrieb davidMbrooke: > > Hi, > > > > I am just fixing up buildimage.pl to cope with multiple kernel variants. > > (Actually the script is fixed but not in CVS yet; I am still working on > > the accompanying configuration files.) > > > > With BuC 3.x and earlier, one of the supported configurations was a > > CD-ROM for the "static" files and a floppy disk only for the modified > > configuration (confifdb.lrp and moddb.lrp). This is still *just about* > > workable provided moddb.lrp is kept small. > > > > For this configuration, PKGPATH needs to be set to something like: > > /dev/fd0:vfat,/dev/sr0:iso9660 > > (note "vfat" rather than "msdos" on a 2.6 Kernel, I think) > > This seems to work OK. > > > > It seems reasonable to have LEAFCFG adopt the same approach (so that > > leaf.cfg can be modified on the floppy disk), and some of the template > > config files (tools/iso/syslinux.ser) show this same format for the > > LEAFCFG variable, but it does not work (for me). Does anyone know if > > this worked with 3.x? > > > > My reading of source/initrd/root.linuxrc is that it handles > > device:fstype but *not* device1:fstype1,device2:fstype2 for LEAFCFG. > > > > It would not be hard to fix but I am wondering whether to bother. Will > > anyone actually use a floppy disk for 4.x? (Then again, what use is a > > CD-ROM if you cannot save the modified configuration?) > > David; > > sorry I had long exhaustive day at work and so I'm a bit slow... > > I've read you're mail three times and I'm not shure I understand. > > Do you ask how to make use of a leaf.cfg with a CDROM and a floppy to store > the > configuration? > The path to leaf.cfg is set by the kernel command line in syslinux.cfg. > see > http://leaf.cvs.sourceforge.net/viewvc/leaf/src/bering- > uclibc/buildtool/tools/image/iso/syslinux.cfg?revision=1.6&view=markup > > kp
Hi kp. Thanks for your response. Sorry that I did not make myself clear. I think I understand how CD-ROM + Floppy is meant to work, but I cannot see any logic in root.linuxrc which will handle a LEAFCFG of the form "/dev/fd0:vfat,/dev/sr0:iso9660" When I try that I get a boot error. When I try simply "/dev/sr0:iso9660" it works OK. I can see how to fix it but I do not know whether it is worth the effort, if nobody will actually use the CD-ROM + Floppy configuration... dMb ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel