diff options
-rw-r--r-- | loader2/cdinstall.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/loader2/cdinstall.c b/loader2/cdinstall.c index fd001946a..5066ce2ad 100644 --- a/loader2/cdinstall.c +++ b/loader2/cdinstall.c @@ -46,6 +46,7 @@ #include "method.h" #include "cdinstall.h" #include "mediacheck.h" +#include "windows.h" #include "../isys/imount.h" #include "../isys/isys.h" @@ -326,6 +327,11 @@ static char *setupCdrom(char *location, struct loaderData_s *loaderData, logMessage(INFO, "trying to mount CD device %s on %s", devices[i]->device, location); + if (!FL_CMDLINE(flags)) + winStatus(60, 3, _("Scanning"), _("Looking for installation media on CD device %s"), devices[i]->device); + else + printf(_("Looking for installation media on CD device %s"), devices[i]->device); + fd = open(devices[i]->device, O_RDONLY | O_NONBLOCK); if (fd >= 0) { waitForCdromTrayClose(fd); @@ -345,6 +351,9 @@ static char *setupCdrom(char *location, struct loaderData_s *loaderData, } } + if (!FL_CMDLINE(flags)) + newtPopWindow(); + if (!(rc=doPwMount(devices[i]->device, location, "iso9660", "ro"))) { cddev = devices[i]->device; if (!access(stage2loc, R_OK)) { |