China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-23 05:45
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Why doesn't FDISK /Q work? View 631 Replies 1
Original Poster Posted 2003-06-18 00:00 ·  中国 江苏 宿迁 电信
初级用户
Credits 107
Posts 2
Joined 2003-06-18 00:00
23-year member
UID 5438
Gender Male
Status Offline
Why is it that this parameter doesn't work when I use a Win98 boot disk I made?
--------------------------------------------------------------------------------------------------
Fdisk's hidden parameter switches

Fdisk is a disk partitioning program well known to PC enthusiasts. It is small, powerful, and easy to use. Although it is now facing a major challenge from non-destructive partitioning software such as PQMagic, Fdisk is still the partitioning program of choice for many PC users. Since partitioning means repartitioning the disk structure and carries a certain amount of risk, Microsoft, the company that developed Fdisk, did not make all of this program's parameter switches public, so Fdisk's functions are limited to a certain extent. Through contact with Microsoft technical staff, I obtained some of Fdisk's unpublished parameter switches. I am introducing them here for everyone, hoping friends can make better use of all of Fdisk's functions.

The general command-line syntax for the Fdisk program is: Fdisk /parameter switch. The unpublished parameters and their function descriptions are as follows: (arranged in alphabetical order)

1. Fdisk /actok

Parameter function: Do not check the disk surface for bad sectors.

Function description: It can speed up partitioning by skipping the disk surface check.

2. Fdisk /cmbr

Parameter function: Rebuild the master boot record of the specified disk.

Function description: Its operation is equivalent to the mbr parameter; the difference is that it can specify the disk.

3. Fdisk /ext

Parameter function: Create an extended partition.

Function description: Create an extended partition on the current disk (to be used for subsequently creating logical disk partitions).

4. Fdisk /fprmt

Parameter function: Ask whether to use FAT16 or FAT32 in interactive mode.

Function description: The prompt asking whether large-capacity hard disks are supported will not appear; instead, each time a new partition is created, it will ask whether to use FAT16 or FAT32 format.

5. Fdisk /log

Parameter function: Create a logical disk partition.

Function description: Use /log to create a logical disk. /log must be used together with /ext.

6. Fdisk /logo

Parameter function: Create a logical disk partition using FAT16 format.

7. Fdisk /mbp

Parameter function: Rebuild the master boot record (Master Boot Record) of the primary disk.

Function description: After uninstalling WindowsNT or Windows2000, remove the system boot selection recorded in the master boot record; when the master boot record is infected by a virus, this is quite effective for removing the virus.

8. Fdisk /pri

Parameter function: Create a primary partition and set it active.

Function description: Create a primary partition on the disk, and the partition will automatically be set active.

9. Fdisk /prio

Parameter function: Create a primary partition using FAT16 format and set it active.

10. Fdisk /q

Parameter function: Do not restart the computer when exiting Fdisk.

Function description: Using the /q parameter means the computer will not need to be restarted after changing the partition table.

11. Fdisk /status

Parameter function: Display the current disk partition status.

Function description: When no logical partitions have been created in the disk's extended partition, the extended partition will not be displayed.

12. Fdisk /x

Parameter function: Do not use the LBA attribute.

Function description: Using the /x parameter will prevent partitions with the LBA attribute from being created. With these parameters, using Fdisk will be even more convenient. However, hidden parameters are more dangerous, so they must be used with caution.
------------------------------------------------------------------------------------------------
Everyone has read this article, right? I tested it and found that only two parameters actually work
Floor 2 Posted 2003-07-19 00:00 ·  中国 广东 深圳 电信
初级用户
★★
Credits 344
Posts 86
Joined 2003-06-07 00:00
23-year member
UID 4131
Gender Male
From 广东
Status Offline
So which two are they, the MBR and STATUS parameters?
Forum Jump: