How create partition that are not formatted?

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

  1. Calby macrumors 6502

    Calby

    Joined:
    Dec 30, 2015
    Location:
    Sweden, Gävle
    #1
    Hi,
    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

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

    Replace <disk> with the partition that you want to delete, e.g. disk2s1. You can find the identifier with
    Code:
    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