20

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 3

10

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:

GParted Requirements

You can definitely find GParted alternatives for Mac OSX here. I found something interesting here, that parted does not even compile for Mac OSX.

7
  • Btw, the Ubuntu site has a nice guide about how to create a bootable USB stick from an .iso image on OS X: ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx
    – waldyrious
    Commented Dec 13, 2015 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
    Commented Feb 4, 2017 at 21:34
  • @Ben use the command sudo dd if=gparted.iso of=/dev/your_usb_drive
    – aliasgar
    Commented Feb 16, 2017 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. Commented Mar 9, 2017 at 18:09
  • 1
    @mreff555: Today also it doesn't. It quotes "Mac OS X by booting from media containing GParted Live."
    – aliasgar
    Commented Aug 22, 2019 at 13:42
1

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.

1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .