본문 바로가기

Microsoft/Windows Server 2003

Windows XP professional 에서 파티션 생성하기

C:\>diskpart
Microsoft DiskPart version 5.1.3565
Copyright (C) 1999-2003 Microsoft Corporation.
On computer: PERTH
DISKPART> list disk
  Disk ###  Status      Size     Free     Dyn  Gpt
  --------  ----------  -------  -------  ---  ---
  Disk 0    Online      8189 MB      0 B
  Disk 1    Online        94 MB    94 MB
  Disk 2    Online        94 MB    94 MB
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> Create partition primary size 10
DiskPart succeeded in creating the specified partition.
DISKPART> list partition
  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
* Partition 1    Primary             16 MB    32 KB
DISKPART> select partition 1
Partition 1 is now the selected partition.
DISKPART> Assign letter F
DiskPart successfully assigned the drive letter or mount point.
DISKPART> list partition
  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
* Partition 1    Primary             16 MB    32 KB
DISKPART> list disk
  Disk ###  Status      Size     Free     Dyn  Gpt
  --------  ----------  -------  -------  ---  ---
  Disk 0    Online      8189 MB      0 B
* Disk 1    Online        94 MB    78 MB
  Disk 2    Online        94 MB    94 MB
DISKPART> list partition
  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
* Partition 1    Primary             16 MB    32 KB
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> Create partition extend
DiskPart succeeded in creating the specified partition.
DISKPART> list partition
  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    Primary             16 MB    32 KB
* Partition 2    Extended            78 MB    16 MB
DISKPART> select partition 2
Partition 2 is now the selected partition.
DISKPART> Create partition logical size 10
DiskPart succeeded in creating the specified partition.
DISKPART> list partition
  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    Primary             16 MB    32 KB
  Partition 2    Extended            78 MB    16 MB
* Partition 3    Logical             16 MB    16 MB
DISKPART> select partition 3
Partition 3 is now the selected partition.
DISKPART> Assign letter G
DiskPart successfully assigned the drive letter or mount point.
DISKPART> select partition 3
Partition 3 is now the selected partition.
DISKPART> active
DiskPart marked the current partition as active.
DISKPART> select partition 3
Partition 3 is now the selected partition.
DISKPART> select partition 3
Partition 3 is now the selected partition.
DISKPART> detail partition
Partition 3
Type  : 06
Hidden: No
Active: Yes
  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
* Volume 3     G                       Partition     16 MB  Healthy
DISKPART> inactive
DiskPart marked the current partition as inactive.
DISKPART> rescan
Please wait while DiskPart scans your configuration...
..........
DiskPart has finished scanning your configuration.
DISKPART> list disk
  Disk ###  Status      Size     Free     Dyn  Gpt
  --------  ----------  -------  -------  ---  ---
  Disk 0    Online      8189 MB      0 B
  Disk 1    Online        94 MB    63 MB
  Disk 2    Online        94 MB    94 MB
DISKPART> list partition
There is no disk selected to list partitions.
Select a disk and try again.
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> list partition
  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    Primary             16 MB    32 KB
  Partition 2    Extended            78 MB    16 MB
  Partition 3    Logical             16 MB    16 MB
DISKPART> select disk 2
Disk 2 is now the selected disk.
DISKPART> list partition
There are no partitions on this disk to show.
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> select partition 2
Partition 2 is now the selected partition.
DISKPART> delete partition
The disk management services could not complete the operation.
DISKPART> select partition 3
Partition 3 is now the selected partition.
DISKPART> delete partition
DiskPart successfully deleted the selected partition.
DISKPART> select partition 2
Partition 2 is now the selected partition.
DISKPART> delete partition
DiskPart successfully deleted the selected partition.
DISKPART> select partition 1
Partition 1 is now the selected partition.
DISKPART> delete partition
DiskPart successfully deleted the selected partition.
DISKPART> list partition
There are no partitions on this disk to show.