0

I cannot for the life of me get ubuntu to install on my macbook pro. 5,2...I am trying to install via these instructions.

https://help.ubuntu.com/community/MacBookPro5-1_5-2/Natty

I have rEFIt working, and I successfully synced my partitions, but when I got to the linux installer drive it just says "missing operating system". What am I missing.

EDIT:

Created new question for what I think the problem really is Grub will not install correctly with EFI on my Macbook Pro

  • Which Ubuntu release are you trying to install? I hope not natty... –  Jun 10 '17 at 12:02
  • Well ideally I wanted the most recent version, but I disnt think it would work because the machine is too old...whats the ideal version for my system? – Chris James Champeau Jun 10 '17 at 19:24

1 Answers1

2

Those instructions are six years old, and things have changed a lot in the intervening years. Most importantly:

  • You refer to syncing your partitions. I assume you mean using gptsync or a similar tool to create a hybrid MBR. This is necessary to boot in BIOS/CSM/legacy mode on a Mac, but both a hybrid MBR and BIOS-mode booting are ill-advised today. You're much better off installing in EFI mode, which requires no hybrid MBR. (Hybrid MBRs are ugly and dangerous; see the page to which I just linked for details.)
  • You refer to rEFIt, which has been abandoned since 2010. I forked rEFInd from rEFIt in 2012, and I'm still actively developing it. Thus, you're much less likely to run into problems with rEFInd than with rEFIt, particularly if you're using a relatively recent version of OS X/macOS, which add features that will stop rEFIt from working unless you know how to work around them. (These features do affect rEFInd, but at least they're documented in rEFInd, and in some cases the rEFInd installation script automatically compensates.)
  • Ubuntu has moved on and provided better support for Macs in the six years since Ubuntu 11.04 was released. I strongly advise against installing Ubuntu 11.04 -- it's no longer supported, so you won't get important security updates for it, and in fact you'll be out of date the moment it's installed. Instead, I recommend using the latest Ubuntu LTS point-release (16.04.2 as I write) or perhaps the latest non-LTS release (17.04 as I write). These versions will be likely to install better on your Mac, particularly in EFI mode, than a six-year-old version.

I don't have a reference to step-by-step instructions for your specific computer; but the following guides to installing on EFI-based computers generally may be helpful:

If you install Ubuntu in EFI mode following "generic" EFI-mode installation instructions, which are usually written with UEFI-based PCs and dual-booting with Windows in mind, GRUB might take over as the boot loader, and the computer might or might not successfully boot to OS X from GRUB. If you can boot to OS X from GRUB, and if this is acceptable, then fine; but if not, you can probably work around the problem with rEFInd on a CD-R or USB flash drive. You can then install rEFInd in OS X -- or even in Ubuntu, if you have problems getting the removable medium to boot. (I generally recommend installing rEFInd in OS X rather than in Linux because Macs are weird; but for the past two or three years, installing in Linux has generally seemed to work OK.)

Rod Smith
  • 44,284
  • 7
  • 63
  • 105
  • This is really good information, however I did get a slew of errors when installing. Something about APT. It was fast and then went away.

    Also I dont want a version of OSX on the laptop, just ubuntu, but the instructions seem to keep a version of OSX

    – Chris James Champeau Jun 10 '17 at 21:32
  • 1
    APT is Ubuntu's package management system. Errors related to it are likely related to either a bad network connection or an attempt to install a very outdated version of Ubuntu. (I don't know offhand how long Ubuntu's repositories are kept around.) To install only Ubuntu, with no OS X, it's likely to be better to treat the installation like one to an older BIOS-only PC -- boot in BIOS/CSM/legacy mode and use MBR partitioning, not GPT, and certainly not GPT with a hybrid MBR. – Rod Smith Jun 10 '17 at 21:52