Anaconda actually has code for using driver disk images from the initrd but it doesn't work because of a bug. The attached patch fixes that. There were some variables that weren't getting initialized early enough. Take a normal driver disk floppy: zcat ../initrd.img | cpio -idmv dd if=/dev/fd0 of=dd.img find | cpio -oc | gzip -9 > ../initrd.img You can use this to for loading over the network etc. regards, dan carpenter
--- loader2/loader.c.orig 2005-11-21 08:35:46.000000000 -0800 +++ loader2/loader.c 2005-11-22 09:54:49.000000000 -0800 @@ -1302,6 +1302,11 @@ modInfo, flags); } + /* These need to be initialized before we call getDDFromSource() ... */ + loaderData.modLoaded = modLoaded; + loaderData.modDepsPtr = &modDeps; + loaderData.modInfo = modInfo; + if (!access("/dd.img", R_OK)) { logMessage(INFO, "found /dd.img, loading drivers"); getDDFromSource(&loaderData, "path:/dd.img", flags); @@ -1318,11 +1323,6 @@ busProbe(modInfo, modLoaded, modDeps, 0, flags); - /* JKFIXME: should probably not be doing this, but ... */ - loaderData.modLoaded = modLoaded; - loaderData.modDepsPtr = &modDeps; - loaderData.modInfo = modInfo; - /* JKFIXME: we'd really like to do this before the busprobe, but then * we won't have network devices available (and that's the only thing * we support with this right now */