如何从扩展分区中分离可用空间

如何从扩展分区中分离可用空间

我最近安装了 windows8,然后我删除了之前安装 ubuntu 的分区,为了找回可用空间,我在网上搜索了一下,并按照在某处看到的步骤操作,

这是我的问题, 由于错误,为可用空间分配驱动器号失败

答案1

经历这个。

右键单击 E:驱动器,然后单击“收缩卷”,它会收缩并为其命名。

使用 diskpart 打开命令提示符。

输入以下命令:

DISKPART> select disk 0

Disk 0 is now the selected disk.

DISKPART> LIST PARTITION

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    Primary            350 MB  1024 KB
  Partition 2    Primary             97 GB   351 MB
  Partition 0    Extended           600 GB    97 GB
  Partition 3    Logical            184 GB   297 GB
  Partition 5    Logical             15 GB   482 GB
  Partition 4    Logical            200 GB   498 GB

DISKPART> select partition 5

Partition 5 is now the selected partition.

DISKPART> convert dynamic

DiskPart successfully converted the selected disk to a dynamic format.

DISKPART> select disk 0

Disk 0 is now the selected disk.

DISKPART> convert dynamic

The selected disk is already dynamic.

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     G                       DVD-ROM         0 B  No Media
  Volume 1     F   Softwares &  NTFS   Simple       200 GB  Healthy
  Volume 2     H   New Volume   NTFS   Simple        15 GB  Healthy
  Volume 3     E   Entertainme  NTFS   Simple       184 GB  Healthy
  Volume 4     C                NTFS   Simple        97 GB  Healthy    Boot
  Volume 5         System Rese  NTFS   Simple       350 MB  Healthy    System
  Volume 6     D                       Removable       0 B  No Media

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     G                       DVD-ROM         0 B  No Media
  Volume 1     F   Softwares &  NTFS   Simple       200 GB  Healthy
  Volume 2     H   New Volume   NTFS   Simple        15 GB  Healthy
  Volume 3     E   Entertainme  NTFS   Simple       184 GB  Healthy
  Volume 4     C                NTFS   Simple        97 GB  Healthy    Boot
  Volume 5         System Rese  NTFS   Simple       350 MB  Healthy    System

DISKPART> select volume 2

Volume 2 is the selected volume.

DISKPART> extend disk=0

DiskPart successfully extended the volume.

此处的第 5 分区是来自 E: 驱动器的收缩卷。

相关内容