I'd like to install Gparted on my mac, and I thought I could use Homebrew or Macports to help with that, but I can't seem to figure it out. I tried using Homebrew because I haven't really heard good things about Macports.
3 Answers
You cannot install GParted on Mac OSX. You will have to use the Live Version. This is according to the GParted website itself.
Here is a screenshot of it:

You can definitely find GParted alternatives for Mac OSX here. I found something interesting here, that parted does not even compile for Mac OSX.
- 340
- 6
- 25
- 3,718
- 23
- 27
-
Btw, the Ubuntu site has a nice guide about how to create a bootable USB stick from an .iso image on OS X: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx – waldyrious Dec 13 '15 at 11:36
-
This answer would be even more usefull if somebody could add the proper way of creating a bootable USB with Gparted Live for booting on Mac. – bomben Feb 04 '17 at 21:34
-
@Ben use the command sudo dd if=gparted.iso of=/dev/your_usb_drive – aliasgar Feb 16 '17 at 12:23
-
@aliasgar that approach didn't work for me; I don't know why. It's possible the device doesn't have a GPT partition table and that the Mac disk utility isn't creating a GPT table even when I format the device with Mac's own HFS file system; possibly some other utility is required to explicitly give the device a GPT partition table first. – r_alex_hall Mar 09 '17 at 18:09
-
EDIT: I see that if I select the device in disk manager (not the partition) I can change the partition type to GUID (GPT). I'll report back if I have any luck. – r_alex_hall Mar 09 '17 at 18:36
-
As of today the website indicates that MacOS is supported – mreff555 Jul 10 '18 at 00:46
-
@mreff555: Today also it doesn't. It quotes "Mac OS X by booting from media containing GParted Live." – aliasgar Aug 22 '19 at 13:42
Maybe Docker is a possibility for you. I found Docker-PiShrink, it can create a docker service for gparted.
Docker-Image to shrink your Pi-Image in Docker without VirtualBox.
- 6,188
- 16
- 78
- 120
- 111
- 2
Although GParted is not available for macOS, I was able to access my flash drive as a raw disk in GParted easily by using the GParted Live bootable image in VirtualBox and creating a raw disk image from my flash drive with the device file retrieved using diskutil list (/dev/disk2 in my case). Both VBoxManage
and VirtualBox must be run as sudo from a command line, and the flash drive must be unmounted before the virtual machine will launch.
- 211
- 2
- 9