6

I have a 2007 Mac Mini that has reached the end of its useful life. It won't run anything newer than OSX 10.7.5. The built in CD drive is questionable (last time used it scratched the disk up pretty bad).

I've tried, and utterly failed, to get it to boot from a USB with Ubuntu on (tried installing a bootloader), can't seem to find any guides for this specific Mac either.

Any hope or into the trash?

https://support.apple.com/kb/SP7?locale=en_US[1] (1.83GHz Intel Core 2 Duo, 3GB Ram)

amc
  • 7,142
  • Using rEFIT (http://refit.sourceforge.net/[1] ) .. I am unable to see any USB key to boot from, how I make the key or which distro I use .. no dice at all. – TrinityDejavu May 29 '15 at 14:40
  • "End of its useful life"? Because Apple isn't issuing security updates for Snow Leopard any more? Please don't throw that machine out. It's still useful to someone who needs to run PowerPC software via Rosetta (which was removed from newer versions of OS X), among other things. There are people still using PPC Macs with Tiger, browsing the web using TenFourFox (an actively updated fork of Firefox compatible with OS X 10.4), believe it or not. – dodgethesteamroller Jun 05 '15 at 06:09

6 Answers6

3

I have the same year/model running Ubuntu 15.04 successfully. However, my DVD drive is still functional so I was able to use that for the installation.

A bit of Googling yielded:

http://www.makeuseof.com/tag/how-to-boot-a-linux-live-usb-stick-on-your-mac/

which should help get you started with USB based installation.

Also, I used reFind which seems a newer fork of reFit.

http://www.rodsbooks.com/refind/

Ubuntu breathed new life into this box, and I was able to turn into a fairly secure home NAS + HTPC. Good luck.

  • That solution depends on Mac Linux USB Loader (https://sevenbits.github.io/Mac-Linux-USB-Loader/) which in turn depends on OSX 10.8 - Mid 2007 Mac Mini can only run 10.7.5 – TrinityDejavu May 29 '15 at 17:41
  • How did you install using a DVD? – Mitch May 30 '15 at 12:08
  • I was able to use reFind which just showed the DVD as a boot option.

    One clarification, I was mistaken about the year of my mac-mini -- it's a 2009 model.

    # dmidecode -s system-product-name
    Macmini3,1
    
    – kriyative May 30 '15 at 17:56
  • The mid 2007 Mac Mini can be convinced to install 10.8 with MLPostFactor. – Prof. Falken Feb 12 '19 at 10:53
2

I own a 20-inch mid 2007 iMac (iMac7,1). I was able to boot ubuntu-14.04.2-desktop-amd64.iso from a DVD and USB flash drive. I used instructions posted here to create the flash drive. The DVD verified OK, but the flash drive listed an error in 1 file. I did successfully install Ubuntu to an external disk using the DVD. Have yet to test using the flash drive.

If you have Lion installed, did you make a bootable USB flash drive using the OS X Recovery Disk Assistant v1.0? If not, then does your mac still have its hidden recovery system partition? You can determine this by holding down the option key at startup. If you do, try to see if you can boot to it. Making a USB bootable recover disk assistant will allow you to reload OS X Lion from Apple's web site.

Without a working optical drive, you could still install Windows. This would require installing a free copy of VirtualBox on OS X. This option is "off topic" and it would be better to ask at the site Ask Different. Actually, the instructions can be found at Boot camp install of Windows 7 issue, no bootable devices.

To install Ubuntu using a DVD, you would have to repair your optical drive. A factory refurbished Apple SuperDrive 8x DVD Burner Drive can be purchased for $8.75. This would be an upgrade to your existing optical drive.

If interested, a service manual can be found at this site. Here is a link to the actual manual: Mac mini (Mid 2007) Service Manual.

  • You can also boot from a USB external optical drive by holding down the "C" key while powering up the machine ("C" for CD-ROM), IIRC. This may work where booting from a USB stick doesn't. (That being said I have never had any trouble at all creating a bootable Linux install flash drive from a variety of distributions, following the same instructions linked by @DavidAnderson.) – dodgethesteamroller Jun 05 '15 at 06:11
  • 1
    @dodgethesteamroller: I have a 2007 iMac and a 20011 iMac. Both can boot from DVD's made from either ubuntu-14.04.2-desktop-amd64.iso or ubuntu-14.04.2-desktop-amd64+mac.iso. Both can boot from a USB flash drive made from ubuntu-14.04.2-desktop-amd64.iso. Neither can from a USB flash drive made from ubuntu-14.04.2-desktop-amd64+mac.iso. I assume all your Mac's are newer than 2011. – David Anderson Jun 05 '15 at 13:27
  • Actually, no, all the Macs I've tried to run Linux on have been older than 2011, if that makes a difference. :) I don't think I've ever used the +mac versions of the ISO files. Maybe that should be part of the answer? (I.e., maybe the +mac versions do not create USB drives that are bootable on a Mac, as illogical as that sounds? I'm grasping at straws here as to why the OP is having so much trouble with this... If I understood the situation better I would write an answer myself rather than a comment.) – dodgethesteamroller Jun 05 '15 at 15:34
1

Okay, here's an answer from 2018, that actually works (I did it on a 2,1 Mac Mini Late 2007). This took me three days of pain and agony and searching to find out how to do it. Hope this helps the three other people doing this within the next ten years.

OUTCOME

Ubuntu 18.04.3 (64-bit) installed on a Mac Mini 2007 (2,1) (2.0 GHz model).

PROCEDURE

Here are the steps I took. Well, the ones that made forward progress, anyway.

  1. Get rEFInd working on your Mac Mini (This might not be strictly necessary, but I used it and it worked and I'm not reinstalling OS X and trying again without it).

  2. Use Rufus to burn the Ubuntu 18.04.3 64-bit ISO (download link) onto a drive, making sure to use the GPT format, not the MBR format, and have the drive formatted to FAT32, not NTFS. I'd assume you could use UUI or Etcher, but I didn't test them.

  3. Download this file and put it in the /EFI/BOOT/ directory on your newly burned flash drive. (This step came after reading this very helpful article on the Ubuntu forums. I modified what it said to do and it worked perfectly, but do go ahead and check it for yourself if what I'm suggesting doesn't work.) The reason we need this file is that the Mac Mini 2,1 is a 64 bit system that won't do 64 bit EFI boots. So, we need this file to let the Mac Mini do a 32 bit EFI boot of the 64 bit Ubuntu ISO.

  4. Go and plug the flash drive into your Mac Mini, and restart it. When the rEFInd screen comes up, select the fallback bootloader (boot manager? I don't remember) on the flash drive you plugged in. It should have a nice orange icon. Then, when the GRUB screen comes up, select "Install Ubuntu".

  5. Profit or whatever.

I didn't come across any of the issues involving GRUB being broken or not installed or anything, so it was just a clean install and use for me.

A recommendation: As soon as you can, ditch GNOME desktop for Xfce. It allows your new Ubuntu machine to run much faster (i.e. freeze less). Also, it looks like JWongDev made a pretty good adaptation/improvement on my answer,

You can also install mbpfan, which will sort of make your fans work on the Mac Mini (I still need to figure out how to get it to run at startup).

Spades
  • 11
  • I have tried these steps on model mentioned here. I did not need to use rEFInd. @Spades, many thanks for writing this, it helped immensely. – Prakash Jul 16 '21 at 19:17
  • I'm going to try this out on my Mac Mini 2.0 that I'd like to use as a Synology Remote Back-up Client (unfortunately Snow Leopard doesn't support anything anymore). Will rEFInd work on Mac Mini with these steps: Uncompress rEFInd zip file, navigate into the uncompressed rEFInd folder and enter ./refind-install ? Also, once Ubuntu is installed, will the old Snow-Leopard be completely replaced? – Valerio Iglio Jan 13 '22 at 09:07
  • @ValerioIglio, this is a few months late, but to answer your questions: The ./refind-install should work, as shown here. Once you install Ubuntu, you will almost certainly be overwriting your current drive to install Ubuntu over it. There are ways to not do that, but those are things you can look up quite easily. – Spades Apr 21 '22 at 03:25
1

I had the same issue with my mid-2007 mac mini. I think the issue is that pre-2008 ones don't support 64-bit EFI loaders when booting from USB... or something like that.

I managed to get the bootable USB working using using a custom 32-bit EFI loader someone else made. I briefly outlined the steps I took here along with the links to all the blogs and threads I derived my methods from.

Basically, I installed a 32-bit version of Ubuntu 14.04 from USB using a custom loader, then went on to install the 64-bit version from a hard drive partition using unetbootin.

RTbecard
  • 227
  • 3
  • 11
0

I can't currently add this as a comment to Spades solution so it's posted as another answer.

Anyways, I was seeking a pure Ubuntu implementation as I only use Ubuntu. I started with Spades procedure. Found basically three things of note.

1) What is important is the GPT partition table for the flash drive. You can change the partition table of a flash drive by using the GParted program.

You can install GParted by doing:

sudo apt-get install gparted

Then you can just use the Startup Disk Creator that comes with Ubuntu instead of some other program.

2) On the note of using the 32-bit EFI, I added the file into the ISO before creating the start up disk. On Ubuntu, /EFI/boot is read-only once the flash drive is created

3) I put rEFInd on another flash drive so the Mac Mini had two flash drives inserted to boot into Ubuntu.

Everything else is basically the same procedure. I've written my steps in more details on my blog here: https://jeffreywong.ca/tutorials/how-to-install-ubuntu-18-04-and-variants-on-a-2007-mac-mini/

Thanks Spades

-1

I also Have a 2007 mac mini that I opened to upgrade to 4GB ram and an SSD then tried to install 64bit Ubuntu with no Luck. I read the answers here and other places but could not get it to work. no problem for 32bit, unfortunally chrome says it wont be supported anymore for updates. I wanted 64 bit OS. I tried my way and it worked! hope this helps anyone else that is trying to do this and feels confortable opening up the macmini and has access to another computer. I used a PC HP Athlon II X4 and placed the SSD (sandisk 64GB SSD)in it and USB with Ubuntu 14.04.4 LTS 64bit install. ran the install from USB onto the hard drive on the PC then when it said to reboot to complete I shut down the PC took the ssd out and put it into the mac mini and booted up. it took a minute or two but I was in Ubuntu did all the updates and rebooted no problems it works and its perfect for my Daughter to play. she uses it for going to turtlediary and starfall. I do notice it does run a bit warm and lags a bit on the animations but it WORKS!! oh I did also do the codes for turning off sound at boot up and boot bless.. I was pointed to at http://www.geek-tips.com/2013/03/09/install-linux-mint-on-a-mac-mini-2-1/ hope this also helps some one else out there.