Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently bought a new SSD drive, as my stored data amounts outgrew the old one a little bit. After copying all data using dd if=/dev/disk0 of=/dev/disk1, I want to enlarge my system partition, but Disk Utility is failing silently and diskutil resizeVolume /dev/disk0s2 R (first partition is the EFI boot volume), I receive following error message:

Error: -5341: MediaKit reports partition (map) too small

How can I resize my system volume?

share|improve this question
up vote 6 down vote accepted

Your partition table does not know about the larger hard drive yet. While Disk Utility also queries the hard disk size and lets you request it to enlarge your partition, it will fail when finally changing the partition size (after doing a file system check).

This can be solved on different ways:

  1. One is to destroy the GPT (partition table) and recreate it manually, which is a rather annoying and error-prone way of fixing the problem as it's easy to mess up when adding your partitions again.

  2. An easier, better way is to run gparted, which is also included in current Ubuntu Desktop Live images (or is easy to install from their packages repositories) and probably lots of other Linux disks. After starting it, it will recognize the wrong disk size in your partition table and ask whether it should fix it for you. After fixing the table, reboot to OS X and finally enlarge the Volume.

share|improve this answer
GParted is excellent. It managed well a disk volume change (and partition map/filesystem resize) in my virtual machine. – pietrodn Dec 25 '13 at 21:30

I agree with Jens Erat for method 1.

For a detailed tutorial, read this topic: INCREASE DISK AND PARTITION SIZE IN OS X

Make sure that you understand what you are doing, take the time to write down the output of "gpt show dev/diskN" on a sheet of paper and double check it.

Be careful that if there is a hidden recovery partition after the "Macintosh HD" one for instance, increasing the size of this partition would overwrite the recovery partition.

I also suggest that you read the comments after the tutorial.

I did not test the lastest versions of GParted, so I cannot confirm if method 2 by Jens Erat works or not, but I assume so.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.