Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't partition (option greyed out) External HDD on Mac OS X El Capitan

Hi guys,


Scoured the net for an existing solution to this problem, but to no avail.


I'm attempting to partition a 500gb external HDD to run bootcamp, but whenever I go into Disk Utility, the option to partition the drive is greyed out.


I've previously erased and formatted to Mac OS X Journaled, so there's nothing on it, but still the partition option isn't available (see screenshot).


Any help is majorly appreciated. Thanks in advance!User uploaded file

MacBook Pro

Posted on Nov 15, 2015 1:48 AM

Reply
Question marked as Best reply

Posted on Nov 15, 2015 6:27 AM

Issue the following Terminal's command


diskutil erasedisk hfs+ External GPT /dev/disk2

44 replies

Jan 24, 2017 9:07 PM in response to Leopardus

I have almost the same problem. My external HDD already has data and partition. First, the new Disk Utility interface threw me off. This is the new interface?

User uploaded file

The HDD had 2 data partitions (160GB each), both of which I managed to erase. The third part is titled "BUFFALO Virtual CDrom Media" and has 0.8GB Uninitialised. It is an old HDD and I can't remember why it was set up like that. In all three (the two partitions as well as the Uninitialised portion), the partition is greyed out.


The other HDD I had, had two separate partitions, Backup 1 & 2, 1TB each. I erased Backup 1 but again the partition was greyed out and I am not able to further partition it or partition the entire HDD.

Jan 31, 2017 3:38 AM in response to Alberto Ravasio

I tried the suggested Terminal command and got this:

Last login: Tue Jan 31 12:28:11 on ttys000

RobertscBookPro:~ robertxxx$ diskutil erasedisk hfs+ External GPT /dev/disk2

Started erase on disk2

Unmounting disk

Creating the partition map

Waiting for partitions to activate

Formatting disk2s2 as Mac OS Extended with name External

Initialized /dev/rdisk2s2 as a 465 GB case-insensitive HFS Plus volume

Mounting disk

Finished erase on disk2

RobertscBookPro:~ robertxxx$


To no avail, I still have the PARTITION icon dimmed.User uploaded file


This is the info of the external Samsung SSD T3

Volume name : External

Volume type : Physical Volume

BSD device node : disk2s2

Mount point : /Volumes/External

File system : Mac OS Extended

Connection : USB

Device tree path : IODeviceTree:/PCI0@0/XHC1@14

Writable : Yes

Is case-sensitive : No

File system UUID : 1B65CCC5-5FD0-34D9-AC1C-90C51234C0B0

Volume capacity : 499,763,888,128

Available space (Purgeable + Free) : 499,357,732,864

Purgeable space : 0

Free space : 499,357,732,864

Used space : 406,155,264

File count : 53

Owners enabled : Yes

Is encrypted : No

System Integrity Protection supported : No

Can be verified : Yes

Can be repaired : Yes

Bootable : No

Journaled : No

Disk number : 2

Partition number : 2

Media name :

Media type : Generic

Ejectable : Yes

Solid state : No

Parent disks : disk2


What can I do to partition the SSD?

Robert

Jul 18, 2017 5:25 PM in response to sundy_1

Same problem for me.


However, I have kept a version of Mountain Lion on another partition (internal). I booted into this partition, ran disk utility and had no problems in partitioning the external USB3.0 disk - actually a naked WD 750Gb 2.5" disk in a dock, into two partitions.


Why is it that OSX 10.8 can do trouble free, what 10.12 cannot? Surely this is a problem for Apple? Please fix this.

Jul 29, 2017 2:18 AM in response to Tom Boone

Tom Boone wrote:


From looking over than command it looks like this will "erase disk." Is that correct? I'm looking to keep all of the data without having to format the disk.


Yes, that's correct. The command will completely wipe your disk.

The original poster of this thread couldn't partition his external hard drive via Disk Utility. Plus there was anything at all on that disk. So I suggested to reinitialise that particular disk using Terminal.

If you are looking to RESIZE the actual partition on your disk use Disk Utility.

Use Terminal only if you are skilled enough on the command line. The resizeVolume is the correct verb to use in that case. See the below syntax


diskutil resizeVolume
Usage:  diskutil resizeVolume MountPoint|DiskIdentifier|DeviceNode size
        [part1Format part1Name part1Size part2Format part2Name part2Size
        part3Format part3Name part3Size ...]

Non-destructively resize a disk.  You may increase or decrease its size.

When decreasing size, you may optionally specify new partitions to create
to fill the newly-freed space.  Specify these new partitions as in the
diskutil partitionDisk command.  A size of zero will cause a grow fit-to-fill.
Ownership of the affected disk is required.

Valid sizes are floating-point numbers with a suffix of B(ytes), S(512-byte-
blocks), K(ilobytes), M(egabytes), G(igabytes), T(erabytes), P(etabytes),
or (%)percentage of the total size of the whole disk.

A size of "limits" will print the valid range for the current conditions of
the file system and room to grow up to an immovable object (next partition).

A size of "R" for the target partition will resize it to the maximum
possible; "R" cannot be used for the size of new partition triples, if any.

resizeVolume is only supported on a Journaled HFS+ file system.

Experiment on a disk that has no data at all on it.

If you need further assistance, please start your own thread. This one is marked as solved.

And, be sure to have a recent backup before playing around with partition 😉

Jan 20, 2018 7:12 AM in response to PeteQuest

PQ:

NP. I did too, at first.

Go back a page and find eunicekhong's post. it has an image of the Disk Utility window we're talking about. Look at the left column, at the very first entry, at the top of the column. It looks something like: APPLE SSD SM0256G Media. (that is my HD, not the one by eunice, but I didn't want to go back a page and lose this msg.)

see it?

Jan 25, 2018 9:40 AM in response to Alberto Ravasio

Hi, Alberto!


I stupidly pasted the 'diskutil erasedisk' command into Terminal without checking my disk device labels 😕

The erase process started immediately and began erasing the disk I did not mean it to.

I cancelled/terminated the process within 10 seconds.

The disk is now showing as empty in Disk Utility. It also won't eject properly. A TimeMachine backup was being made at the same time I used the command.


How quick does the 'diskutil erasedisk' command work and do you think there's any chance that the disk has not been (entirely) erased?


Thank you 🙂

Nov 15, 2015 1:58 AM in response to sundy_1

This has gotten even stranger. When I took the screenshot, it was showing the hard-drive as empty, but now that I look at the above screenshot, it's not only saying there's content on the drive, but it's apparently still MS-DOS (completely altered screenshot)!? This is even though when I open the HDD in Finder, there is definitely nothing on it.


Please help.

Can't partition (option greyed out) External HDD on Mac OS X El Capitan

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.