Hello everyone. I'm trying to install via network (FTP,NFS,etc) but when i load the drivers for nics at modules disk, i can't find modules for sis900 or NE2000 ISA or .... or ..... or ....., so how do i make a floppy with these modules in??, which files do i need to put in a floppy to be able to load them as necessary when installing??. Thanks. Oxiel.
On Wed, 27 Jun 2001, Oxiel Contreras wrote:
I'm trying to install via network (FTP,NFS,etc) but when i load the drivers for nics at modules disk, i can't find modules for sis900 or NE2000 ISA or .... or ..... or ....., so how do i make a floppy with these modules in??, which files do i need to put in a floppy to be able to load them as necessary when installing??.
OK, here is my small Modules-Floppy-HOWTO: How to create a generic modules floppy disk for SuSE Linux The different driver modules on the SuSE Linux modules floppy disk are stored in compressed files that contain a Minix file system. These images are being mounted via the loop device, and the required modules are being loaded by linuxrc either manually or automatically. To create a customized modules floppy, you first have to create an empty file large enough to carry the required driver modules. Then you create a Minix file system in this file and mount it using the loop device. Here is a practical example for the sis900 network driver: # dd if=/dev/zero of=/tmp/net-mod count=2200 bs=1k # mkfs.minix /tmp/net-mod # mount -oloop -tminix /tmp/net-mod /mnt # cp /lib/modules/2.4.4-4GB/kernel/drivers/net/sis900.o /mnt Of course, the kernel version of the module must match the kernel version thas is being used during the installation. Also make sure, that all module dependencies are resolved! Some modules require other modules to be loaded in advance - see /lib/modules/<kernel-version>/modules.dep for the dependency tree. Now you have to create an empty file which name describes the kind of modules that are included in this archive: ("SCSI", "NET", "OTHER") as well as "MORE" and "NEEDMOD". For our network driver this would be: # touch /mnt/NET Now unmount the file system and compress this image file with gzip: # umount /mnt # gzip /tmp/net-mod Now save the file net-mod.gz to a a DOS-formatted floppy disk: # mformat a: # mcopy /tmp/net-mod.gz a: Depending on the modules included, name it either scsi-mod.gz, net-mod.gz or other-mod.gz (according to the menu entries in linuxrc). To load this driver module, boot from an installation medium and use the "manual" mode. linuxrc offers a menu to load drivers from a drivers floppy disk. Hope that helps, Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer/ 90443 Nuernberg, Germany This is a chain tagline. I have now been stolen 8 times.
participants (2)
-
Lenz Grimmer
-
Oxiel Contreras