918 B
918 B
Purpose: Sometimes you are running a virtual machine and are running out of space, and want to expand the operating system disk. However, there is a recovery partition to-the-right of the operating system partition. When this happens, you have to delete that partition in order to expand the storage space for the operating system.
Open a powershell window and run the following commands:
diskpart # (1)
list disk # (2)
select disk 0 # (3)
select partition 4 # (4)
delete partition override # (5)
- This opens the disk management
- This displays all disks attached to the device.
- Ensure this disk number corresponds to the operating system disk. Open the Disk Management GUI if you are not 100% certain.
- This partition number is for the partition of type "Recovery"
- This instructs the computer to delete the partition and ignore the fact that it was a recovery partition.