Subversion Repositories SvarDOS

Rev

Rev 554 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 554 Rev 555
Line 467... Line 467...
467
      newscreen(0);
467
      newscreen(0);
468
      list[0] = kittengets(0, 3, list[0]);
468
      list[0] = kittengets(0, 3, list[0]);
469
      list[1] = kittengets(0, 4, list[1]);
469
      list[1] = kittengets(0, 4, list[1]);
470
      list[2] = kittengets(0, 2, list[2]);
470
      list[2] = kittengets(0, 2, list[2]);
471
      snprintf(buff, sizeof(buff), kittengets(3, 0, "ERROR: Drive %c: could not be found. Perhaps your hard disk needs to be partitioned first. Please create at least one partition on your hard disk, so SvarDOS can be installed on it. Note, that SvarDOS requires at least %d MiB of available disk space.\n\nYou can use the FDISK partitioning tool for creating the required partition manually, or you can let the installer partitioning your disk automatically. You can also abort the installation to use any other partition manager of your choice."), cselecteddrive, SVARDOS_DISK_REQ);
471
      snprintf(buff, sizeof(buff), kittengets(3, 0, "ERROR: Drive %c: could not be found. Perhaps your hard disk needs to be partitioned first. Please create at least one partition on your hard disk, so SvarDOS can be installed on it. Note, that SvarDOS requires at least %d MiB of available disk space.\n\nYou can use the FDISK partitioning tool for creating the required partition manually, or you can let the installer partitioning your disk automatically. You can also abort the installation to use any other partition manager of your choice."), cselecteddrive, SVARDOS_DISK_REQ);
472
      putstringwrap(4, 1, COLOR_BODY[mono], buff);
472
      switch (menuselect(6 + putstringwrap(4, 1, COLOR_BODY[mono], buff), -1, 5, list, -1)) {
473
      switch (menuselect(14, -1, 5, list, -1)) {
-
 
474
        case 0:
473
        case 0:
475
          sprintf(buff, "FDISK /AUTO %d", driveid);
474
          sprintf(buff, "FDISK /AUTO %d", driveid);
476
          system(buff);
475
          system(buff);
477
          break;
476
          break;
478
        case 1:
477
        case 1: