Changeset 1954 for Whitix/tags
- Timestamp:
- 02/28/09 16:00:16 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Whitix/tags/0.2b/user/system/installer/textinstaller.c
r1910 r1954 74 74 strcpy(dev, devName); 75 75 76 sprintf(drive, "/System/Devices/Storage/%s \n", p);76 sprintf(drive, "/System/Devices/Storage/%s", p); 77 77 free(driveName); 78 78 … … 122 122 return 0; 123 123 } 124 125 printf("Creating directories\n"); 124 126 125 127 /* Install files! */ … … 141 143 142 144 int fdDisk = SysOpen(drive, _SYS_FILE_READ | _SYS_FILE_WRITE, 0); 145 146 if (fdDisk < 0) 147 { 148 printf("Could not open disk to copy over MBR and bootloader. drive = '%s', err = %d\n", drive, fdDisk); 149 return 0; 150 } 151 143 152 int fd2=SysOpen("/Boot/stage1", _SYS_FILE_READ | _SYS_FILE_FORCE_OPEN, 0); 144 153 … … 213 222 ModuleCopy("Filesystems/icfs.sys"); 214 223 ModuleCopy("Core/ata_ide.sys"); 215 ModuleCopy("Core/startup.sys");216 224 ModuleCopy("Input/Ps2.sys"); 217 225 ModuleCopy("Input/keyboard.sys");
