Free FDisk Ü
ßßßßßßßßßßß
Configures a hard disk for use with FreeDOS.
Syntax: FDISK [/ACTOK] [/CMBR drive#)] [[/EXT:size drive# [{/LOG:size} |
{/LOGO:size}]] [/FPRMT] [/MBR] [/PRI:size drive#]
[/PRIO:size drive#] [/Q] [/REBOOT] [/STATUS] [/X]
For partition table modification:
FDISK [/AUTO [(drive#)]] [/ACTIVATE:partition#) [drive#]]
[/CLEAR [drive#]] [/DELETE {/PRI | /EXT | /LOG:partition# |
/NUM:partition#} [drive#]] [/DEACTIVATE [drive#]]
[/EXT:size[,100] [{/LOG:size[,100] [/SPEC:type#]} |
{/LOGO:size[,100] [/SPEC:type#]}] [drive#]] [/LOG:size[,100]
[/SPEC:type#] [drive#]] [/LOGO:size[,100] [[/SPEC:type# [drive#]
[/MODIFY:partition#,newtype# [drive#]] [[/PRI:size[,100]
[/SPEC:type#] drive#]] [[/PRIO:size[,100] [/SPEC:type#] drive#]]
For MBR modification:
FDISK [/AMBR [drive#]] [/MBR [drive#]] [/RMBR [drive#]]
[/SMBR [drive#]]
For handling flags on a hard disk:
FDISK [/CLEARFLAG[:flag# | /ALL] [drive#]]
[/SETFLAG:flag#[,flag_value] [drive#]]
[/TESTFLAG:flag#[,flag_value] [drive#]]
For obtaining information about the hard disk(s):
FDISK [/DUMP] [[/INFO] [/TECH] [drive#]]
/ACTOK Normally skips integrity checking...kept for compatibility.
/CMBR Writes the MBR to drive#.
/EXT Creates an Extended DOS Partition of sizeMB on drive#.
/LOG creates a logical drive of sizeMB. /LOGO will
force the creation of a FAT16 logical drive of sizeMB.
/FPRMT Prompts for FAT32/FAT16 in interactive mode.
/MBR Writes the MBR to the first hard disk.
/PRI Creates a partition of sizeMB on drive#.
/PRIO Creates a FAT16 partition of sizeMB on drive#.
/Q Keeps the system from rebooting after you exit FreeDOS FDISK.
(Note: FreeDOS FDISK will not reboot after you exit unless
rebooting is enabled in the "fdisk.ini" file.)
/REBOOT Forces a reboot.
/STATUS Displays the current partition layout.
/X Do not use LBA partitions.
/AUTO Automatically partitions the hard disk with FAT16 partitions.
/ACTIVATE
Sets partition# active.
/CLEAR Erases the partition tables. USE WITH CAUTION!
/DELETE Deletes a partition.
/DEACTIVATE
Removes the active status from a partition on drive#.
/EXT Same as /EXT above, except ",100" will indicate that size
is a percentage and "/SPEC" will specify the partition
type#. /LOGO will force FreeDOS FDISK to not use FAT32
partitions.
/LOG Same as /LOG above, except for the addition of extra
functionallity. See /EXT, above, for more information.
/LOGO Same as /LOGO above, except for the addition of extra
functionallity.
/MODIFY Changes the partition type of partition# to newtype#.
Note: The starting partition# for logical partitions
is "5".
/PRI Same as /PRI above, except for the addition of extra
functionallity. See /EXT, above, for more information.
/PRIO Same as /PRIO above, except for the addition of extra
functionallity. See /EXT, above, for more information.
For MBR modification:
/AMBR Writes the MBR stored in the "boot.mbr" file.
/MBR Writes the MBR to drive#.
/RMBR Removes the MBR from drive#.
/SMBR Saves the MBR, on drive#, into a "boot.mbr" file.
For handling flags on a hard disk:
/CLEARFLAG
Resets the flag# or all the flags on drive# to 0.
/SETFLAG
Sets flag# to 1 or flag_value, if specified.
/TESTFLAG:
Tests flag# for 1 or flag_value, if specified.
For obtaining information about the hard disk(s):
/DUMP Dumps all partition information from all hard disks. This
function is mainly used for debugging by redirecting the
output to a file.
/INFO Displays partition information from drive#.