Skip to content

Instantly share code, notes, and snippets.

@ralexx
Last active October 2, 2017 22:12
Show Gist options
  • Save ralexx/79a73e0cb607486d14b13ba9bdf25c55 to your computer and use it in GitHub Desktop.
Save ralexx/79a73e0cb607486d14b13ba9bdf25c55 to your computer and use it in GitHub Desktop.
Installing Linux on MacBook 2,1 with unresponsive CD-ROM
  1. Download and install rEFInd

Follow @astrofloyd's instructions, including:

  1. Obtain a copy of ISO 2 USB EFI Booter for Mac
  2. diskutil list to find the node name of your USB drive
  3. Format the USB drive with a single FAT32 partition (use diskutil eraseDisk fat32 UNTITLED /dev/diskX)
  4. cd into the drive and mkdir -p efi/boot (from the computer's root drive the path should look something like /dev/diskX/efi/boot)
  5. Copy bootIA32.efi onto the USB drive and rename it: cp /location/of/bootIA32.efi ./boot.efi
  6. Copy the Linux distribution .iso file and rename it to boot.efi

Plug in the USB drive, boot, and look for the rEFInd menu. Praying optional.

Installing the OS

Follow "Ubuntu 15.04 on Mac Mini 2,1 with EFI boot (2007 Intel) ", which references Jason Heeris's guide.

Omit the "Reformatting the EFI Partition" section of Heeris's guide to keep the Mac EFI partition (/dev/sda1). In my experience the command $ sudo bash -c 'echo $(blkid -o export -s UUID /dev/sda1) /boot/efi auto defaults 0 0 >> /etc/fstab' contained a string DEVICE=/dev/sda1 that will bork /etc/fstab. Check the UUID blkid -o full -s UUID and then sudoedit /etc/fstab and append the correct string UUID=XXXX-XXXX /boot/efi auto defaults 0 0 and the Ctrl+X to save and exit. Then mount the EFI partition before continuing, sudo mount /boot/efi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment