I am trying to install an Ubuntu server on a Mid 2007 Mac Mini and erase OS X off of it. I formatted the USB properly on OS X Lion using the dd command, but when I went to the boot menu the only options were the main partition and the recovery partition. I have Ubuntu 18.04 server on the USB and Ubuntu 18.04 on a disc. The computer rejects any discs I put in though.

  • Are you saying your DVD drive is broken? If not, can you explain the steps you used to create the DVD. Can post the dd command you used to create the USB flash drive installer? By boot menu, do you mean the Startup Manager menu you get by holding down the option key at startup? Are you trying to install a 32 or 64 bit version. Can you give the exact name of the file you downloaded to create the installers. – David Anderson Dec 3 at 3:37
  • I don't know for sure if the DVD drive is broken, but it has ejected all the discs I have put in so far. The dd command was: dd if=(file) of=(USB) Yes, I do mean the Startup Manager and I did access it with the option/alt key. I have tried ubuntu-18.04.1-live-server-amd64 and ubuntu-14.04.5-server-amd64+mac. Both official downloads. @DavidAnderson – Hans Dec 3 at 14:28
  • So did you run the hdiutil command as described at the Ubuntu website How to install Ubuntu on MacBook using USB Stick? – David Anderson Dec 3 at 19:48
  • Yes, I believe I did do this. – Hans Dec 3 at 21:31
  • Are you sure you have a Late 2007 model? If your model is a 2006, then this would explain your problem. I tried the ubuntu-18.04.1-live-server-amd64.iso file after converting and had no problems USB booting on a 2007 iMac. BTW, I can find no evidence that Apple made a late 2007 Mac Mini. The closest is either a Late 2006 or Mid 2007. – David Anderson Dec 4 at 1:08

Well, your DVD drive does not appear to be working properly. So, I do not think you can use this drive to install Ubuntu. Also, your model Mac does not appear to allow EFI booting of the Ubuntu installation software from USB flash drives. Of course, there are applications such as Etcher and UNetbootin which might be able to create a bootable Ubuntu installer. I will assume you have investigated using these utilities and have already ruled them out.

The first question, which need to be answered, is how should Ubuntu Server boot. Below are the two possibilities with the high probability of success.

  • Install Ubuntu Server to BIOS/GPT boot from the internal drive. Basically, Ubuntu Server would boot the same way Windows would boot.
  • Install Ubuntu Server to EFI boot from the internal drive. Basically, Ubuntu would boot the same way OS X boots.

The next question is how to run the installer. Below are the two possibilities with the high probability of success.

  • Boot the the installer in a virtual machine. The installer runs in the virtual machine, but the Ubuntu is installed to the physical internal drive.
  • Run the installer from the internal drive. You will still need a virtual machine to copy installer files to the internal drive.

An example has already been posted here at Ask Ubuntu. See the question Installing Ubuntu without DVD or Flash Drive. Here, the objective was to BIOS/GPT boot 64 bit Ubuntu Desktop from the internal drive. VirtualBox was used to install the Ubuntu Desktop Live ISO files to the internal drive. Next, the Ubuntu Desktop Live was booted from the internal drive and used to install Ubuntu Desktop to the internal drive.

The above methods assume the use of a single machine. I should point out that the Mac can be put in target disk mode. You the could connect another Mac and run the installer there instead of using a virtual machine.

  • @karel: What I was referring to is covered in section 9.9.1.2 of the current Virtual User Manual. However, since the Mac is using OS X Lion, a legacy version of VirtualBox will probably need to be installed. BTW, VirtualBox is a free product. I already gave a link where the steps were detailed. See step 4 of my answer to Installing Ubuntu without DVD or Flash Drive. – David Anderson Dec 4 at 11:56
  • I attempted to follow the tutorial on the page you linked me to, @DavidAnderson, but because I am using an Ubuntu server 18.04, not 16.04, I kept getting tripped up in the partitions section. Whenever I got past that section on partitioning it would state there had been an error (but not what it was) and told me to reboot or go to a shell, and then the same thing would happen again. – Hans Dec 7 at 18:23

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.