Re: Partition issue with XP



relic wrote:
>
chuck@xxxxxxxxxxxxxxxx wrote:
>> Ihave a question about reinstalling win XP.
>>
>>
>> I had the win xp home addition on the computer first.  I then
>> installed win xp pro over the home addition.  I now want to make a
>> clean install.
>>
>>
>> I run this off the win xp cd - I get to the point where I would like
>> to delete the partition But at this point I get; setup unable this
>> partition contains temp setup files.
>>
>> How can I just delete current partition and start fresh?
>
> Enter the Recovery Console and use the 'delpart.exe' command.
uhhh... it's DISKPART.exe
 

Diskpart

Creates and deletes partitions on a hard drive. The diskpart command is only available when you are using the Recovery Console.

diskpart [/add | /delete] [device_name | drive_name | partition_name] [size]

Parameters

none

Used without parameters, the diskpart command starts the Windows character-mode version of diskpart.

/add

Creates a new partition.

/delete

Deletes an existing partition.

device_name

The device on which you want to create or delete a partition. The name can be obtained from the output of the map command. An example of a device name is:

\Device\HardDisk0

drive_name

The partition you want to delete, by drive letter. Used only with /delete. An example of a drive name is:

D:

partition_name

The partition you want to delete, by partition name. Can be used in place of the drive_name. Used only with /delete. An example of a partition name is:

\Device\HardDisk0\Partition1

size

The size, in megabytes (MB), of the partition you want to create. Used only with /add.

Examples

The following examples delete a partition:

diskpart /delete \Device\HardDisk0\Partition3

diskpart /delete F:

The following example adds a 20 MB partition to your hard drive:

diskpart /add \Device\HardDisk0 20


--
Yes, I am an agent of Satan, but my duties are largely ceremonial.


Relevant Pages

  • Re: Wipe and reload
    ... I've had this same problem, however, when I try to repair from the command ... prompt using the diskpart command I'm unable to delete the current partition ... > Clean install Boot to the XP setup CD,press 'R" for the repair prompt, and run the command DISKPART to remove the ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: DISKPART disaster
    ... You can contact Microsoft Support to see if the partition table entry can be ... "francis gérard" wrote in message ... DISKPART command and what they would recommend for recovering the partition ... information, ie, reconstruct the partition table... ...
    (microsoft.public.windows.file_system)
  • Re: How to make it boot
    ... I agree with Slobodan. ... Clean up your second drive and partition and format it using XP Disk Management GUI tool (or diskpart command ...
    (microsoft.public.windowsxp.embedded)
  • Re: 250GB HDD only showing as 137GB
    ... >>> the partition utility to get the rest of my HDD. ... > Actually the built in diskpart command can probably extend this drive. ... I'm aware that the diskpart command can be used to add or delete partitions, ...
    (microsoft.public.windowsxp.general)
  • Re: XP Pro Boot Problem After HD Replace
    ... check if the partition containing the cloned system is to be marked "active". ... It also asks if the HD containing the clone is to have the source HD's MBR copied to the destination HD. ... For simple cloning of a single partition, ... What the Recovery console does have is the Diskpart command. ...
    (microsoft.public.windowsxp.help_and_support)