2103 |
mateusz.vi |
1 |
#
|
|
|
2 |
|
|
|
3 |
#
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
0.1: no argument Runs in interactive mode
|
|
|
12 |
|
|
|
13 |
0.3: /REBOOT Reboots the Computer
|
|
|
14 |
|
|
|
15 |
0.10:Commands to create and delete partitions:
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
0.14:\t
|
|
|
20 |
|
|
|
21 |
0.21: /EXT:<size> Creates an extended DOS partition
|
|
|
22 |
|
|
|
23 |
0.23: /PRIO,/EXTO,/LOGO same as above, but avoids FAT32
|
|
|
24 |
|
|
|
25 |
0.26: /DELETE {/PRI[:#] | /EXT | /LOG:<part#> Deletes a partition
|
|
|
26 |
|
|
|
27 |
0.29: /DELETEALL Deletes all partitions from <drive#>
|
|
|
28 |
|
|
|
29 |
0.31:Setting active partitions:
|
|
|
30 |
|
|
|
31 |
0.33: /DEACTIVATE Deactivates all partitions
|
|
|
32 |
|
|
|
33 |
0.40:MBR (Master Boot Record) management:
|
|
|
34 |
|
|
|
35 |
0.42: /LOADMBR Loads part. table and code from "boot.mbr" into MBR
|
|
|
36 |
|
|
|
37 |
0.44:\t
|
|
|
38 |
|
|
|
39 |
0.51: /IPL Installs the standard boot code into MBR <drive#>
|
|
|
40 |
|
|
|
41 |
0.53: /SMARTIPL Installs DriveSmart IPL into MBR <drive#>
|
|
|
42 |
|
|
|
43 |
0.55:\t
|
|
|
44 |
|
|
|
45 |
0.61: /MODIFY:<part#>,<type#> Changes partition type to <type#>
|
|
|
46 |
|
|
|
47 |
0.63: /MOVE:<srcpart#>,<destpart#> Moves primary partitions
|
|
|
48 |
|
|
|
49 |
0.65:\t
|
|
|
50 |
|
|
|
51 |
0.71: /CLEARFLAG[{:<flag#>} | /ALL}] Resets <flag#> or all on <drive#>
|
|
|
52 |
|
|
|
53 |
0.73: /TESTFLAG:<flag#>[,<value>] Tests <flag#> for 1 or <value>
|
|
|
54 |
|
|
|
55 |
0.80:For obtaining information about the hard disk(s):
|
|
|
56 |
|
|
|
57 |
0.82: /DUMP Dumps partition information from all hard disks(for debugging)
|
|
|
58 |
|
|
|
59 |
0.90:Interactive user interface switches:
|
|
|
60 |
|
|
|
61 |
0.92: /MONO Disables text attributes (bright, blinking text)
|
|
|
62 |
|
|
|
63 |
0.94: /XO Enables extended options
|
|
|
64 |
|
|
|
65 |
0.100:Compatibility options:
|
|
|
66 |
|
|
|
67 |
0.102:\t
|
|
|
68 |
|
|
|
69 |
0.201:The FreeDOS Project under the terms of the GNU General Public License,
|
|
|
70 |
|
|
|
71 |
0.203:\t
|
|
|
72 |
|
|
|
73 |
0.205:this software assumes no responsibility pertaining to the use or mis-use of
|
|
|
74 |
|
|
|
75 |
0.207:agreeing to the terms of the above.
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
# FAT32 SUPPORT SCREEN #
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
1.1: create partitions that are greater than 2,048 MB by using FAT32
|
|
|
84 |
|
|
|
85 |
1.3: logical drives greater than 512 MB will be created using FAT32.
|
|
|
86 |
|
|
|
87 |
1.5: will be unable to access the partitions and logical drives that are
|
|
|
88 |
|
|
|
89 |
1.7:\e[5;18HDo you want to use large disk (FAT32) support (Y/N)....?
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
# EXIT SCREEN #
|
|
|
94 |
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
2.1:Any drives you have created or changed must be formatted \e[1mAFTER\e[22m you restart.
|
|
|
98 |
|
|
|
99 |
2.3:Press any key when ready . . .
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
# MAIN MENU #
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
3.1:Create DOS partition or Logical DOS Drive
|
|
|
108 |
|
|
|
109 |
3.3:Delete partition or Logical DOS Drive
|
|
|
110 |
|
|
|
111 |
3.5:Display / Modify partition information
|
|
|
112 |
|
|
|
113 |
3.7:MBR maintenance
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
##############################################################################
|
|
|
118 |
|
|
|
119 |
##############################################################################
|
|
|
120 |
|
|
|
121 |
4.0:Create DOS Partition or Logical DOS Drive
|
|
|
122 |
|
|
|
123 |
4.2:Create Extended DOS Partition
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
##############################################################################
|
|
|
128 |
|
|
|
129 |
##############################################################################
|
|
|
130 |
|
|
|
131 |
5.0:Delete DOS Partition or Logical DOS Drive
|
|
|
132 |
|
|
|
133 |
5.2:Delete Extended DOS Partition
|
|
|
134 |
|
|
|
135 |
5.4:Delete Non-DOS Partition
|
|
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
# MBR MAINTENANCE MENU (EXTENDED OPTION) #
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
6.1:Create BootEasy MBR (disabled)
|
|
|
144 |
|
|
|
145 |
6.3:Save the MBR (partitions and code) to a file
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
|
149 |
##############################################################################
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
|
|
|
153 |
|
|
|
154 |
|
|
|
155 |
7.3:Error encountered on line %d of the "fdisk.ini" file.\n
|
|
|
156 |
|
|
|
157 |
7.5:\nSector flagging functions have been disabled.\n
|
|
|
158 |
|
|
|
159 |
|
|
|
160 |
|
|
|
161 |
|
|
|
162 |
|
|
|
163 |
##############################################################################
|
|
|
164 |
|
|
|
165 |
8.0:\nSyntax Error\n\nProgram Terminated\n
|
|
|
166 |
|
|
|
167 |
8.2:\nFlag %d has been cleared.\n
|
|
|
168 |
|
|
|
169 |
8.4:\nExtended partition already exists.\n
|
|
|
170 |
|
|
|
171 |
8.7:\nNo usable extended partition found.\n
|
|
|
172 |
|
|
|
173 |
8.10:\nError creating primary partition.\n
|
|
|
174 |
|
|
|
175 |
8.12:\nNo partition to delete found.\n
|
|
|
176 |
|
|
|
177 |
8.14:\nError deleting primary partition.\n
|
|
|
178 |
|
|
|
179 |
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
8.20:\nNew partition type is out of range.\n
|
|
|
184 |
|
|
|
185 |
8.22:\nSource partition number is out of range.\n
|
|
|
186 |
|
|
|
187 |
8.24:\nError moving partition slot.\n
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
8.28:\nFlag %d has been set to %d.\n
|
|
|
192 |
|
|
|
193 |
8.30:\nError swapping partitions.\n
|
|
|
194 |
|
|
|
195 |
8.32:\nFlag %d is not set to %d.\n
|
|
|
196 |
|
|
|
197 |
8.35:\nmore than one drive specified; terminated\n
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
|
|
|
201 |
|
|
|
202 |
|
|
|
203 |
8.41:\nAll flags have been cleared.\n
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
|
|
|
207 |
# USERINT0.C, USERINT1.C #
|
|
|
208 |
|
|
|
209 |
|
|
|
210 |
|
|
|
211 |
9.1:Enter choice:
|
|
|
212 |
|
|
|
213 |
9.3:sectors, geometry
|
|
|
214 |
|
|
|
215 |
9.5:\nLargest continuous free space for primary partition = %lu MBytes\n
|
|
|
216 |
|
|
|
217 |
9.7:\nLargest continuous free space in extended partition = %lu MBytes\n
|
|
|
218 |
|
|
|
219 |
9.9:(1 Mbyte = 1048576 bytes)
|
|
|
220 |
|
|
|
221 |
# The following are table headers, must stay adjusted as is
|
|
|
222 |
|
|
|
223 |
9.11:Drv Volume Label Mbytes System Usage Start CHS End CHS\n
|
|
|
224 |
|
|
|
225 |
|
|
|
226 |
|
|
|
227 |
9.14:Extended DOS Partition already exists.
|
|
|
228 |
|
|
|
229 |
|
|
|
230 |
|
|
|
231 |
|
|
|
232 |
|
|
|
233 |
9.20:is unusable!
|
|
|
234 |
|
|
|
235 |
9.22:\e[1mWARNING!\e[22m No partitions are set active - disk 1 is not startable unless\n a partition is set active
|
|
|
236 |
|
|
|
237 |
|
|
|
238 |
|
|
|
239 |
|
|
|
240 |
|
|
|
241 |
##############################################################################
|
|
|
242 |
|
|
|
243 |
# Delete logical partition
|
|
|
244 |
|
|
|
245 |
10.1:Not a partition!
|
|
|
246 |
|
|
|
247 |
10.3:Non-DOS Partition deleted.
|
|
|
248 |
|
|
|
249 |
|
|
|
250 |
|
|
|
251 |
|
|
|
252 |
|
|
|
253 |
|
|
|
254 |
|
|
|
255 |
10.7:No partitions defined.
|
|
|
256 |
|
|
|
257 |
|
|
|
258 |
|
|
|
259 |
|
|
|
260 |
|
|
|
261 |
10.12:Drv Volume Label Mbytes System Usage
|
|
|
262 |
|
|
|
263 |
# Delete extended partition
|
|
|
264 |
|
|
|
265 |
10.21:Extended DOS Partition deleted
|
|
|
266 |
|
|
|
267 |
# Delete logical drives
|
|
|
268 |
|
|
|
269 |
10.31:Logical drive deleted
|
|
|
270 |
|
|
|
271 |
|
|
|
272 |
|
|
|
273 |
|
|
|
274 |
|
|
|
275 |
10.42:Error deleting primary DOS Partition!
|
|
|
276 |
|
|
|
277 |
10.44:Not a DOS partition!
|
|
|
278 |
|
|
|
279 |
# Set active partition
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
|
|
|
283 |
10.53:The only startable partition on Drive %d is already set active.
|
|
|
284 |
|
|
|
285 |
|
|
|
286 |
|
|
|
287 |
10.60:Do you wish to use the maximum available size for a Primary DOS Partition\n and make the partition active (Y/N).....................?
|
|
|
288 |
|
|
|
289 |
10.62:This drive is a FAT32 by default, switch to FAT16 (Y/N)?
|
|
|
290 |
|
|
|
291 |
10.64:Enter partition size in Mbytes or percent (%%) of disk space to\n create a Primary DOS Partition.....:
|
|
|
292 |
|
|
|
293 |
|
|
|
294 |
|
|
|
295 |
|
|
|
296 |
|
|
|
297 |
10.70:Logical DOS Drive created, drive letters changed or added
|
|
|
298 |
|
|
|
299 |
10.72:Enter logical drive size in Mbytes or percent (%%) of\n extended partition size...:
|
|
|
300 |
|
|
|
301 |
|
|
|
302 |
|
|
|
303 |
|
|
|
304 |
|
|
|
305 |
10.82:Enter the number of the partition you want to modify (1-4)...?
|
|
|
306 |
|
|
|
307 |
10.84:Enter the character of the logical drive you want to modify...?
|
|
|
308 |
|
|
|
309 |
# List partition types
|
|
|
310 |
|
|
|
311 |
10.91:Press any key to continue . . .
|
|
|
312 |
|
|
|
313 |
# Display / modify partition
|
|
|
314 |
|
|
|
315 |
10.101:Partition Mbytes Type Usage Start Cyl End Cyl
|
|
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
|
321 |
|
|
|
322 |
|
|
|
323 |
10.200:Are you sure (Y/N)...?
|
|
|
324 |
|
|
|
325 |
# Error strings
|
|
|
326 |
|
|
|
327 |
|
|
|
328 |
|
|
|
329 |
11.0:\nUnable to find the \"boot.mbr\" file...MBR has not been loaded.\n
|
|
|
330 |
|
|
|
331 |
11.2:MBR has been saved to \"boot.mbr\"
|
|
|
332 |
|
|
|
333 |
|
|
|
334 |
|
|
|
335 |
##############################################################################
|
|
|
336 |
|
|
|
337 |
##############################################################################
|
|
|
338 |
|
|
|
339 |
20.5:Press \e[1mESC\e[22m to return to FDISK options
|
|
|
340 |
|
|
|
341 |
20.7:Press \e[1mESC\e[22m to continue
|
|
|
342 |
|
|
|
343 |
20.9:Input entered by user: %d
|
|
|
344 |
|
|
|
345 |
20.11:Invalid entry, please enter
|
|
|
346 |
|
|
|
347 |
20.13:Invalid entry.
|
|
|
348 |
|
|
|
349 |
|
|
|
350 |
|
|
|
351 |
# WARNING SCREENS #
|
|
|
352 |
|
|
|
353 |
30.1:You have at least one disk larger than 2,097,152 MB. FDISK can\n NOT handle partitions exceeding this barrier!\n\n
|
|
|
354 |
|
|
|
355 |
30.3: It should be ok if Free FDISK is the only partitioning tool you are\n using, but we recommend using another disk utility to handle this type\n of disk.
|
|
|
356 |
|
|
|
357 |
|
|
|
358 |
|
|
|
359 |
30.11: While unlikely, this MAY result in compatibility problems.\n\n
|
|
|
360 |
|
|
|
361 |
30.13:Create logical drive in non-aligned extended partition...?
|
|
|
362 |
|
|
|
363 |
30.20: A non-compatible extended partition layout was detected on\n
|
|
|
364 |
|
|
|
365 |
30.22: - creating logical drives\n
|
|
|
366 |
|
|
|
367 |
30.24: You may re-create the extended partition to enable editing or\n
|
|
|
368 |
|
|
|
369 |
|
|
|
370 |
|
|
|
371 |
##############################################################################
|
|
|
372 |
|
|
|
373 |
##############################################################################
|
|
|
374 |
|
|
|
375 |
# Yes-No letters, as used to answer "Yes/No" questions (upper- and lower-case)
|
|
|
376 |
|
|
|
377 |
250.1:yn
|
|
|
378 |
|
|
|
379 |
250.3:Press any key to continue
|
|
|
380 |
|
|
|
381 |
250.5:WARNING!
|
|
|
382 |
|
|
|
383 |
250.250:Fixed Disk Setup Program
|
|
|
384 |
|
|
|
385 |
|
|
|
386 |
|
|
|
387 |
# ERROR MESSAGES #
|
|
|
388 |
|
|
|
389 |
|
|
|
390 |
|
|
|
391 |
255.1:\n No fixed disks present.
|
|
|
392 |
|
|
|
393 |
255.3:\nPartition number is out of range (1-4).
|
|
|
394 |
|
|
|
395 |
255.5:\nError auto-partitioning hard drive.
|
|
|
396 |
|
|
|
397 |
255.7:\nError removing IPL.
|
|
|
398 |
|
|
|
399 |
255.10:\nError clearing partition table.
|
|
|
400 |
|
|
|
401 |
255.12:\nError installing IPL from file.
|
|
|
402 |
|
|
|
403 |
255.14:\nError writing MBR.
|
|
|
404 |
|
|
|
405 |
255.16:\nError saving MBR.
|
|
|
406 |
|
|
|
407 |
|
|
|
408 |
|
|
|
409 |
|
|
|
410 |
|