Ubuntu install on Intel Mac Mini

by bose on February 23, 2010

I decided to change tack and looked at a Ubuntu a flavour of debian.  There seemed to be explicit workable instructions for Ubuntu install on a Mac mini.

Instructions here.

But there is a bug that prevents the install booting on Intel Mac Mini.

Found instructions from a link in above article. Explicit instructions follow. You need to to use the command line:

( In this example I assume your disk is /dev/sda , default for the mini, and your root partition is /dev/sda4 , adapt these if necessary! )

1) Download an Ubuntu Live CD ( see https://help.ubuntu.com/community/LiveCD ) and burn the ISO to CD.
2) Boot your Mini from the CD (hold option key at startup if you don’t have rEFIt)
3) Open a terminal, mount your original root partition
– $ sudo mkdir /mnt/root
– $ sudo mount -t ext4 /dev/sda4 /mnt/root
4) Set up /proc and /dev
– $ sudo mount -t proc none /mnt/root/proc
– $ sudo mount -o bind /dev /mnt/root/dev
5) Find the correct package for your architecture on http://packages.debian.org/sid/gptsync and download it to somewhere under /mnt/root/
– $ cd /mnt/root
– $ sudo wget http://http.us.debian.org/debian/pool/main/r/refit/gptsync_0.13-11_i386.deb
6) Chroot into your original system, you’re now in your own system.
– $ sudo chroot /mnt/root /bin/bash
7) Install the package downloaded in step 5
– $ sudo dpkg –install gptsync*deb
8) Run gptsync on the affected disk
– $ sudo gptsync /dev/sda
9) Reinstall grub (this shouldn’t overwrite rEFIt, but you can keep a copy of rEFIt on CD if you’re concerned)
– $ sudo grub-install /dev/sda
10) reboot, the system should be able to boot again now

{ 0 comments… add one now }

Leave a Comment

Previous post:

Next post: