This is a DM tutorial I collected from the Internet before, just take a look and you'll know how to do it.
DM hard drive management tool
The full name of DM is Hard Disk Management Program. It can carry out low-level formatting, verification, and other management work on hard drives, and can improve hard drive usage efficiency.
At present, users commonly use DM 4.5 and DM 5.01. The latter, when automatically starting DM, adds some selection parameters for newer hard drives over 40MB. Every step in DM has English prompts, so it is relatively easy to use.
I. Main functions of DM
1. Low-level formatting of hard drives (Initialize) DM provides 3 kinds of low-level formatting methods: formatting one track, one partition, or the entire disk.
2. Partitioning hard drives (Partitioning) DM supports up to 16 partitions per hard drive, supports a maximum bootable partition of 33MB, and the remaining DOS partitions can each have a maximum capacity of 512MB. For each DOS partition it provides 3 states: DOS BOOT partition, Reed only DOS, and Write-Read partition. Users can change partition states to protect valid data. For each DOS partition, DM provides a variable number of root directory entries (64, 128, 256, 512, 1024, 2048), as well as variable cluster sizes (0.5K, 1K, 2K, 3K, 4K, 8K, 16K, 32K, 64K). In this way users can use different cluster sizes for different partitions, greatly improving hard drive utilization. The order of partitions determines the prompt letters after booting the system, starting from the first partition as C:. D:. E:. F:..... One thing worth noting is that if you use the system command FDISK, you can only see information for the first 4 partitions. In this way, different partitions can be set up for different users, with different protection methods, and different maximum usable hard drive capacities for different users. For public system software and tools (such as various editing software), creating a public partition and protecting it as read-only can greatly improve system security, and at the same time improve hard drive usage efficiency, allowing different users to use the hard drive independently of each other, as if each person were using a separate hard drive.
3. High-level formatting of hard drives (Preparation) DM can perform high-level formatting on each partition of the hard drive. After formatting the DOS boot area, install the DOS operating system.
4. Optional hard drive parameter configuration DM can manage dozens of hard drive types (the DM 5.01 version has even more). Users can choose one of them that matches the actual hard drive model in the machine. If there is no identical model, choose parameters with the same Number of Head and Number of Cyinders if possible. DM provides the possibility of modifying many hard drive parameters.
5. Other
DM supports the ability for multiple operating systems to share one hard drive, and like the FDISK command it allows 4 operating systems to exist at the same time. When installing multiple operating systems, because some operating systems perform a low-level format on the hard drive first during installation, you should pay attention to the installation order. Usually DOS is installed later.
The DM software also supports the installation and management of multiple hard drives. The process is the same as installation and management for one hard drive.
II. Starting and using DM Command format: A:>DM Among them, the parameters take the following values:
/M DM software enters in manual mode. Without this parameter, DM runs in automatic mode and executes INITIALIZE. PARTITIONG. PREPARAFION in sequence.
/C DM software executes in color mode, that is, it runs on a color display.
/P DM software manages hard drives in PC/XT mode.
/A DM software manages hard drives in PC/AT mode.
/2 DOS 2.XX version mode.
/3 DOS 3.XX version mode.
/4 DOS 4.XX version mode (only the DM 5.01 version has this parameter).
/V DM runs in a mode where cluster length and root directory entries can be changed.
In actual use, the following two startup methods are commonly used:
1、A:>DM (automatic mode. When initializing the hard drive, many parameters use default values and there is almost no need for manual intervention).
2、A:>DM (manual mode. Some parameters need to be specified manually when formatting).
III. Notes on using DM
1. Choice between automatic mode and manual mode
When using DM, if automatic mode is adopted, the program will prompt the user to enter the correct disk model. If the entered disk model is incorrect, DM will give an error message and require the user to re-enter it. This requires the user to have sufficient understanding of the disk model being used, which in many cases is impossible. Therefore, although automatic mode is simple, it requires knowing the hard drive model. If you do not know the disk model, it is recommended to use manual mode, starting the DM program with DM/M.
2. Using manual mode
Type: DM/M, and the following main menu appears on the screen:
Main Menu:
(I)ntialization
(P)artitionging menu
(S)elect Drive
(C)onfiguration menu
(R)eturn to DOS Select an option(R)_
At the cursor position, enter I, P.S, C, or R to enter the initialization submenu, partition submenu, drive selection submenu, configuration submenu, or return to DOS, respectively.
⑴I--Initialization submenu
After entering I in the main menu, you enter the initialization menu:
The screen displays INITALIZATION MENU: HELP AVALABLE BY PRESSING F1
(I)nturn or (V)erify surface (D)efect-list management
(R)eturn to main menu
Select an option(R)_
There are 4 options in this menu: I, V, D, R:
A. Select I to enter initialization, then the screen asks: Is the above DEFECT-LIST aceurate for this disk(y/n): If Y is selected, it then continues by asking whether to initialize one track, one partition, or the entire disk. If the entire disk is initialized, it then displays: HARD DISK MANAGEMENT PROGRAM V4.5 Drive 1,305 Cyls by 4 heabs. ..............................................................
CY1--Hd CY1--Hd CY1--Hd CY1--Hd CY1--Hd CY1--Hd CY1--Hd ...........................CURRENT DEFECT LIST................
INITIALIZATION MENU:
(I)ntialize or (V)erify surface
(D)efet-list management (R)etuen to main menu
Select an option(R): i Is the above DEFECT-LIST accurate for this disk?(y/n):y
Do a (T)rack, (p)artion (D)isk, (R)eturn to initialization menu
Select an option(R): d
Enter Interleave Value: (1-16 can be selected)
THIS WILL DESTROY ANY EXISTING DATA ON THIS DISK!CONTINUE?(y/n): After getting an affirmative answer, it again requires entering the interleave factor value (choose 1-16). After answering, the following will appear:
This Will DESTRPY ANY EXISTWG DATA ON THIS DISK! CONTINUE?(y/n): Enter Y to begin low-level formatting; enter N to return to the initialization submenu.
B. After selecting V, a verification operation is performed on the hard drive. When V is entered, the following appears: DO a (T)rack, (P)artition,ewtire,(D)isk,(R)etum to init menu sclectopton(R)
Enter D--verify the entire hard drive; T--verify a certain track; P--verify a certain partition.
C. In the initialization submenu, enter D to go into the defect list management submenu.
⑵P--Partition submenu
In the main menu, enter P, and the screen will display the partition status on the hard drive, including the starting and ending cylinder numbers and types of the partitions, and at the same time ask: Does the above PARTITION TABLE requned modifiction(y/n)?
If you answer Y, it enters PARTITION MENU (partition menu). In this menu, partitions can be deleted or installed, partition types can be changed, the boot partition can be selected, a new partition information table can be created, etc.
If you answer N, it enters PREPARATION MENU. In this menu, one partition can be prepared (P), and any partition can also be changed (C).
⑶S--Select drive
The user can use the S key to choose the hard drive number (1~n) you are preparing to initialize.
⑷C--Configuration submenu
In the main menu, enter C to enter CONFIGURATION MENU. The following is an example: HARD DISK MANAGEMNT PROGRRAM V4.5 Drive 1,305 Cyls by 4 heads. ..............................................................
DISK PARAMETERS(CYLINDERS by SECTORS)are now STANDARD Drive 1 is actually 305 by 4 by 17. ...............................................................
CONFIGURA TION MENU: HELP AVAILABLE BY PRESSING F1
(S)tandard parameters,(N)on-standard parameters
(W)rite configuration, (R)eturn to MAIN MENU Seelect an option(R):
At this time the screen tells the user that the current disk parameters (number of cylinders, number of heads, and sectors per track) are standard; drive 1 is: 305 cylinders, 4 heads, and 17 sectors per track. At this point, you can press S to use standard parameters, or enter N to choose a non-standard parameter, and then use the W command to write the configuration information selected by the user into the configuration record area for future use.
⑸R--Exit DM
In the main menu, choose R or press Enter (the default is R) to exit DM and return to DOS; in each submenu, choose R or press Enter (the default is R) to return to the previous menu.