XP will require you to log on in safe mode as Administrator before it will
run fdisk for you. If you just open a command window, you will get this
error: "fdisk is not recognized as an internal or external DOS command."
You can, however, run fdisk from your W98 startup disk if you really want to
start over from scratch.
There is no fdisk command in XP, in safe mode or otherwise. "fdisk" is
a DOS command, and XP (like Windows 2000) is built on an NT base, not a
DOS base like Windows 95, 98, and ME. The COMMAND and CMD character-mode
windows look a lot like their DOS (or Windows 9x) counterparts, but
DOS they ain't.
If you boot into the recovery console (either from the hard disk
or from the distribution CD) a command that's roughly equivalent
to fdisk, named "diskpart" is available.
To build a completely new system using the partitioning functions of
the DOS fdisk command, just boot your Windows XP distribution CD and
tell it that you want to set up a new installation of Windows XP. You
will be presented with a list of the current hard disk partition
structure; you can delete existing partitions, create new ones, or
specify that an existing partition be used. If you specify the use
of an existing partition, you will be given the opportunity to format
the partition or leave it as it exists.
The user interface you get when setup allows you to manipulate
the partition structure is essentially the same as you get from
the recovery console when you use the 'diskpart' command.
All of this takes place during the initial character-mode dialogs you
get when you boot the CD. They *are* in character mode, but there's
no DOS anywhere to be found.
Having said that...there isn't any particular problem if you *want* to
use a DOS boot disk and fdisk to partition your hard disk, but you'll
probably have trouble if the physical hard disk size exceeds the maximum
value supported by your version of fdisk.
Joe Morris