summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-01-25 17:52:07 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-01-25 17:52:07 +0000
commiteef0b32b777ba2f3534ebff7e55f772cb064221e (patch)
tree9a12d0f2a002d00ad75a9f0ba137d53e711cbaff /mdk-stage1
parent9a9931f0f4fa1664df30426859bfdf6acb8426ac (diff)
downloaddrakx-eef0b32b777ba2f3534ebff7e55f772cb064221e.tar
drakx-eef0b32b777ba2f3534ebff7e55f772cb064221e.tar.gz
drakx-eef0b32b777ba2f3534ebff7e55f772cb064221e.tar.bz2
drakx-eef0b32b777ba2f3534ebff7e55f772cb064221e.tar.xz
drakx-eef0b32b777ba2f3534ebff7e55f772cb064221e.zip
- mdk-stage1: now linux-2.4 uses floppy.o to access floppy drives
- remove fat/vfat modules from some boot floppies now that we don't need it anymore
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/stage1.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c
index 725201400..190fcb6c9 100644
--- a/mdk-stage1/stage1.c
+++ b/mdk-stage1/stage1.c
@@ -132,13 +132,15 @@ static void expert_third_party_modules(void)
"a Linux (ext2fs) formatted floppy containing the modules and confirm. Otherwise, select \"no\".");;
if (results != RETURN_OK)
return;
-
+
+ my_insmod("floppy", ANY_DRIVER_TYPE, NULL);
+
if (my_mount("/dev/fd0", floppy_mount_location, "ext2") == -1) {
error_message("I can't find a Linux ext2 floppy in first floppy drive.");
return expert_third_party_modules();
}
- modules = list_directory("/tmp/floppy");
+ modules = list_directory(floppy_mount_location);
if (!modules || !*modules) {
error_message("No modules found on floppy disk.");