On This Page...
By Kristofer Rickheden Gustavsson (hackan)
The process is pretty much the same as the process covered in the article for installing on a MacBook Pro 8,2 (Mid 2011) - and by that said that and this article is probably good for any Mac which fails to boot antergos. However the other article doesn't cover the situation where the user, you, might have selected to have your hard drive encrypted.
- The reason for the other and this article is that the MacBook cannot boot up with lightdm, so lightdm needs to be switched out with gdm.
I'll take it from the top, so you don't have to read two articles.
Make the LiveUSB
After you have downloaded the ISO it is time to make the bootable USB drive (also called "startup disk"). There are a couple of choises of how to go about this;
Either from the command line with "dd" or a program with a graphical frontend. There's a HowTo-guide on the antergos download page. I personally find the easiest way to do this by using the GTK program Disks (gnome-disks) and if you are doing this from macOS then I presume that the pre-installed program Disk Utility can do the same. Punch up Spotlight with ctrl+space and type "disk utility".
- Plug in your USB drive
- Open Disks and mark/select your USB drive. You may need to unmount it, press the little stop-symbol.
- Check the format of the USB drive. It should be MBR (Master Boot Record).
- Go on the menu in the headerbar and select Restore Disk Image
- Pick the downloaded ISO, press OK and restore disk image and give your password at the prompt.
- The process usually takes 2-3 minutes.
I find this method easier because I do not need to get any other program for just making the LiveUSB and I do not need to deal with the nerv-racking dd commands, haha
Install the OS
The process is pretty straight forward. However, the antergos LiveUSB doesn't load drivers for the WiFi, so you need a wired connection (either Ethernet or USB Tether from your phone) to be able to make the installation.
- Start/Reboot your Mac, press and hold "alt" when you hear the Apple chime.
- You should see a USB drive named "EFI boot", select it.
- Go through the installation process (and make your hard drive encrypted). Here is where this article gets interesting;
When prompted if you wish to continue trying antergos or restart you should choose restart. This is because the LiveUSB hasn't let go of your hard drive yet so you need to reboot with the alt-key again and boot up the LiveUSB one more time.
Tweaking - Replace lightdm with gdm
So what we want to do is to make it possible to boot the system we just installed. This time you should not install, just continue trying the LiveUSB. Check what your drive is called in gnome-disks. Mine was called "sda3", so I will use that in this guide. Open up a terminal (the punch mark "#" indicates terminal commands, you don't type the "#");
First become a SuperUser:
Unlock your hard drive (change "sda3" to whatever your drive is called) and give it a symbolic name, in this case "MBP":
cryptsetup luksOpen /dev/sda3 MBP
State your password for the hard drive at the prompt and create a mount point for the drive:
Now we need to find out the path to the physical (or Logical) volume, your hard drive:
You will see two entries of your hard drive, the first one has "Root" in "LV Path". That is the one we want.
My LV Path looked like this "/dev/AntergosVG/AntergosRoot", yours may look different. So now that we have the path to the hard drive we can mount it at the mount point we created earlier:
# mount /dev/AntergosVG/AntergosRoot /my_device
Check that the mounting was successful:
That returns all mounted devices and our should be at the very end of the list, /dev/mapper/AntergosVG-AntergosRoot. It is time to get operations going on the harddrive:
Now when we do stuff it'll affect the installation we did earlier, so let's remove lightdm, install gdm and enable it:
# pacman -Rcns lightdm
# pacman -S gdm
# systemctl -f enable gdm
Now, reboot and enjoy antergos on your Mac 😀
... There's one more thing.
This may not concern everyone, but my Google Drive didn't show up in Nautilus after I added Google in Online Accounts. I had to install a package called gvfs-google.
I also had to install the package sushi to be able to preview files in Nautilus with the space-key.
After that everything was as it should 😀
Kristofer Rickheden Gustavsson (hackan)