Am Montag, 2. April 2007 00:47:17 schrieb Andrew Nagy: > Newbie question here ... how do I add a driver to a floppy image? > > What I have done so far: > > * Read the documentation at > http://leaf.sourceforge.net/doc/buc-install3.html (Not very helpfull). > * Extracted bootdisk.ima from the ISO file.
This is the ISO image, what do you want to achieve? > * Create a new modules.lrp from http://www.ucbering.de/cgi-bin/modules.cgi, > specified my NIC modules (mii and pcnet32 ) If you use a 3.x version this lrp will fail due to wrong kernel version and changed config/backup framework. > * Modified bootdisk.ima, syslinux.cfg and leaf.cfg to load only bare > minimum modules. > > What I have so far: > > * The floppy image boots fine other than the NIC driver does not load. I > see this on the console: > > ----- start quote ----- > pcnet32 - BusyBox v1.2.1 (2007.03.09-18:28+0000) multi call binary > > Usage: insmod [OPTION] ... MODULE [symbol=value] > ----- end quote ----- > > * The output from lsmod lists 'mii' but not 'pcnet32'. If I do a find of > pcnet32 its not there. > > * Configuration files. > > ----- start syslinux.cfg ----- > display syslinux.dpy > timeout 0 > append reboot=bios > default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 > LEAFCFG=/dev/fd0:msdos boot=/dev/fd0:msdos > ----- end syslinux.cfg ----- > > ----- start leaf.cfg ----- > LRP="root config etc local modules libm" > PKGPATH=/dev/fd0:msdos > syst_size=8M > log_size=2M > ----- start leaf.cfg ----- > > ----- start /etc/modules ----- > mii > pcnet32 > ----- start /etc/modules ----- > > > What I need: > > * Having read the documentation at > http://leaf.sourceforge.net/doc/buc-install3.html and not getting anywhere, > I need some help in trying to add pcnet32 to my floppy image. > > Thanks. In case of a floppy only setup: Copy the missing module to /lib/modules on your LEAF box and activate it in /etc/modules; save configuartion and backup modules before reboot. In case of an ISO image: Look for "build-modules -h" kp ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/