IBM Support

Moving or Extending a UEFI disk Partition on the C drive to the Front

How To


Summary

To move or extend a UEFI disk partition on the C drive to the front, you'll need to first create some unallocated space in front of the C drive, move the EFI partition to this space, and then extend the C drive. This process involves using diskpart or a third-party partition manager like "EaseUS Partition Master".

Objective

To move or extend a UEFI disk partition on the C drive to the front.

Environment

All Windows platforms

Steps

1. Create Unallocated Space:

  • Using Diskpart: Open Command Prompt as administrator. Use diskpart, list disk, select disk # (where # is your disk number), list partition, and select partition # (where # is the partition you want to shrink). Then use shrink desired=100 (or the desired amount of space in MB) to create the unallocated space.
  • Using Partition Manager: Launch the tool, select your C drive, and use the "Resize/Move" option to create unallocated space in front of it. 

2. Move the EFI Partition:

  • Using Diskpart: After creating the unallocated space, use list partition again to identify the EFI partition. Select it using select partition #. Then, move it to the unallocated space using the move command.
  • Using Partition Manager: Select the EFI partition and use the "Resize/Move" option. Drag the partition to the unallocated space you created.

 

3. Extend the C Drive:

  • Using Diskpart: Select the C drive partition using select partition #. Then, use the extend size=XXX command, replacing XXX with the desired amount of space to add.
  • Using Partition Manager: Select the C drive and use the "Resize/Move" option. Drag the right border of the partition to fill the remaining unallocated space.

 

4. Apply Changes:

  • Apply all the changes you've made to the disk in both Diskpart and the partition manager.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB66","label":"Technology Lifecycle Services"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SSTIPK","label":"Microsoft Windows"},"ARM Category":[{"code":"a8mKe000000004NIAQ","label":"Windows"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":""}]

Document Information

Modified date:
08 August 2025

UID

ibm17238277