April 6

OSX: Extend an hfs system partition

The following instructions work specifically well when extending a Virtual Machine partition.

Step 1: Extend your image by clicking your images hard drive in VMWARE or Virtual Box and extending to the desired size.
Step 2: Download  the gparted.iso and mount it in the Virtual Machine CD ROM disk section.
Step 3: Boot gparted.
Step 4: Create a second primary partition on the newly made unallocated space, format it as hfs+.
Step 5: Apply changes and boot into your Mac Guest Operating System.
Step 6: Go to Terminal
Step 7: See what your partitions are called by typing in df -h.
In my case the partition are: disk1s2 and disk1s3
Step 8: Type the following: sudo diskutil merge Partitions “Journaled HFS+” New disk1s2 disk1s3
You expanded drive is now complete.

By: Isaac C.


Copyright 2021. All rights reserved.

Posted April 6, 2013 by Timothy Conrad in category "OSX

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B