Skip to content

Instantly share code, notes, and snippets.

@tmpvar
Forked from anonymous/gist:6198729
Last active December 20, 2015 21:38
Show Gist options
  • Save tmpvar/6198731 to your computer and use it in GitHub Desktop.
Save tmpvar/6198731 to your computer and use it in GitHub Desktop.
# booting into arch livecd (thumbdrive)
grab the arch linux iso - https://www.archlinux.org/download/
open terminal
```bash
cd /path/to/downloads
diskutil list
diskutil unmountDisk /dev/diskN # where N is your thumbdrive
hdiutil convert -format UDRW -o archlinux.img archlinux*
sudo dd if=archlinux.img* of=/dev/rdiskN bs=1m
diskutil eject /dev/diskN
```
(taken from http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx)
## Prepare to do some blessing of your efi bootloader
grab another thumbdrive and put the recovery assistant on it: http://support.apple.com/kb/DL1433
## Reboot into the livecd
reboot, and hold down the option key.
boot from the disk that says "UEFI Bootloader"
# installing the base system
follow this guide: https://wiki.archlinux.org/index.php/MacBook
## Blessing your efi bootloader
boot using the recovery assistant
select your language
open a terminal
```bash
mkdir /Volumes/efi
mount -t msdos /dev/disk0s1 /Volumes/efi
bless --folder=/Volumes/efi --file=/Volumes/efi/EFI/arch_grub/grubx64.efi --setBoot
bless --mount=/Volumes/efi --file=/Volumes/efi/EFI/arch_grub/grubx64.efi --setBoot
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment