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.
-
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 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.– bombenFeb 4, 2017 at 21:34
-
-
@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. 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."– aliasgarAug 22, 2019 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.
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.