How create partition that are not formatted?

Discussion in 'macOS Sierra (10.12)' started by Calby, Feb 28, 2017.

  1. Calby macrumors 6502


    Dec 30, 2015
    Sweden, Gävle
    I want to create space 30GB of my SSD that are not used, it should bee unpartition.
    I have fixed it in disk utility but it's still formatted, I want it unformatted so how can I do that?
  2. KALLT macrumors 601

    Sep 23, 2008
    You can do this in Terminal with this command:
    diskutil erasevolume free %noformat% <disk>

    Replace <disk> with the partition that you want to delete, e.g. disk2s1. You can find the identifier with
    diskutil list

    Be aware that Disk Utility is fairly bad in handling free space. You will likely not be able to partition that free space in Disk Utility, leaving you only with diskutil.

Share This Page