About

This page helps you to find the right documentation, when you want to install Ubuntu on a MacPro.

Determine your hardware revision

To determine which version / generation of MacPro you have, you have multiple options:

From the GUI in OS X

Click on the Apple on the top left > "About this Mac" > "More Info..." > "Overview" > "System Report ..." > "Hardware" in left-hand panel > "Hardware Overview" in right-hand panel > "Model Identifier". This will be a string like "MacPro6,1".

From the Terminal in Ubuntu

IconsPage/ubuntu.png ... under Ubuntu, you can find out what model you have by typing at the terminal:

sudo dmidecode -s system-product-name

IconsPage/terminal.png A terminal is opened by going to Applications -> Accessories -> Terminal.

It will tell you something like "MacPro6,1" for example.

MacPro Hardware Models

Now go to the MactelSupportTeam's wiki and choose the link to your model in the list.

MacPro Hardware Revisions and Ubuntu version-specific wikis

Now choose the link to the wiki of your hardware revision and the Ubuntu version you are looking for. If you haven't decided yet, what version you like to install, it is recommended to install the latest official LTS Ubuntu version. If no wiki article is available, ask for help in the support forum!

* MacPro3,1:

* MacPro6,1:

MacPro 3,1


Single Boot (Ubuntu as sole OS)

(X) WARNING: The instructions below will erase OS X from your Mac Pro. Make a backup of your data and have a copy of the OS X installation media handy in case something goes wrong.

Required Software

Installing REFind

  • Copy the rEFInd zip file to your OS X machine and unzip it.
  • Open a terminal window: Applications -> Utilities -> Terminal

  • Change directories into folder that was extracted from the REFind zip file:
    $ cd Downloads/refind-bin-0.8.1
  • Run the following command to install rEFInd:
    $ sudo ./install.sh --esp

    Note: If all goes well you should see a successful message

Installing Ubuntu

  • Insert the Ubuntu installation media (CD, USB Stick, etc)
  • Reboot OS X
  • The rEFInd bootloader should appear after a few seconds. Use the arrow keys to select the Ubuntu installation media and press Enter

  • When presented with the Grub boot menu use the arrow keys to select the "Try Ubuntu without installing" and press e to edit this boot entry.

  • At the end of the kernel line add nomodeset after quiet splash so it looks similar to below:

    quiet splash nomodeset --
  • Press F10 to boot Ubuntu using the modified kernel line.

  • Once Ubuntu finishes booting launch the installer and proceed until asked where to install Ubuntu.
  • Select the option to create a custom partition scheme.
  • Delete all partitions EXCEPT the partition labeled EFI

  • Create your custom partitioning scheme
  • When selecting the "Device for bootloader installation" choose /dev/sda<number>, never choose the EFI partition. If you don't divide your / partition up then choose whichever partition / is.

  • Continue installing Ubuntu as you normally would. When asked to reboot or continue trying Ubuntu choose to continue using Ubuntu.

Fixing Grub

  • Mount the hard drive that Ubuntu was just installed on by either clicking on it in the dock or using the mount command in a terminal.

  • Open a Terminal window in Ubuntu and perform the following commands replacing <path> with the path to your mounted ubuntu hard drive.

    $ sudo mount --bind /sys <path>/sys
    $ sudo mount --bind /proc <path>/proc
    $ sudo mount --bind /dev <path>/dev
    $ sudo chroot <path>
  • Within the chroot environment open the grub file
    # nano /etc/default/grub
  • Change the line that begins with GRUB_CMDLINE_LINUX_DEFAULT to include the nomodeset parameter.

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
  • Save the file and run the following command to update your grub configuration:
    # update-grub
  • Reboot Ubuntu and you're good to go!

Fixing WiFi

If you want to use the WiFi that's built into the Mac Pro you will need to open Additional Drivers application and tell it to install the proprietary Broadcom Wireless driver.


Installation on a Macpro

Ubuntu It is strongly suggested to use the Ubuntu 64 bits version (AMD64) to benefit from the full installed memory. Using the 32 bits will limit the memory to less than 3 Gb. The normal installation has been working seemlessly for a MacPro3,1 with Hardy (8.04 LTS), Jaunty (9.04) and Karmic (9.10).

Ubuntu The regular 64-bit Ubuntu CDs have trouble booting on older Intel Macs, such as MacPro1,1, due to EFI incompatibilities. You must download a special +mac CD of Ubuntu to work-around this problem. For 11.04, you can get it here: http://cdimage.ubuntu.com/releases/11.04/release/

If you try to use a regular 64-bit Ubuntu CD on such systems, you may get the following blocking message while trying to boot off the CD:

1.
2.
Select CD-ROM Boot type:

(X) WARNING: It is important to install the Grub boot loader on the Ubuntu partition (e.g. /dev/sda3), instead of the default disk root. This is done by selecting the Advanced options after partitioning and before the actual installation.

By default, Ubuntu installs the GRUB boot loader on the disk root (e.g. dev/sda). This does modify the EFI and GUID boot loader, which then potentially removes your Mac OSX boot.... Sad <:( You must specify a partition for GRUB installation, e.g. /dev/sda3

IconsPage/ok.png (works out-of-the-box)
IconsPage/ok.png IconsPage/info.png (works, with remarks)
IconsPage/warning.png (needs manual install)
IconsPage/dont.png (won't work)
IconsPage/question.png (not yet documented)

Quick Install Guide

Note: The best version of Ubuntu to use is 10.04.2, as 10.10 has issues with PulseAudio.

1. Get a wired USB keyboard and mouse to make the install easy. Before you install Ubuntu, if you have OSX running it is strongly advised that you use system updates to insure that your various firmwares are up to date (bluetooth,wifi,EFI). In particular your EFI firmware must be the latest version. See

http://support.apple.com/kb/ht1237

2. When you power on hold down the left mouse button as soon as hearing the chime sound until the CD drive opens. Drop in Ubuntu 10.04.2 / 64bit / desktop edition. Reboot, and this time hold the "c" key down after the chime sound to boot from the CD in the drive.

3. Boot into the live CD at the option screen. Not the install option.

4. Go to Applications -> Accessories -> Terminal. Then type

sudo dd if=/dev/zero of=/dev/sda

This will delete all your files and your operating system currently on your hard drive. Since we only want to wipe the first few hundred MB of data at the beginning of the drive wait 2 minutes, then press Ctrl-C. The output should show how much of the drive was 'zeroed' or wiped, which gives you an indication of the transfer speed of that drive BTW.

5. Go to System -> Administration -> gparted

Now, Device -> New Partition Table.

Select msdos partition and press OK. This gives the BIOS on the Mac Pro a partition table it can boot from. If you don't do this, your new install will not boot when complete.

6. Finally double click the install button on the desktop. Select manual partitioning when the option comes up during the install. Click free space -> Add -> select the filesystem type as reiser or ext4 (your preference, google it, reiser is better for most) and the mountpoint is "/" without the commas. Click OK and continue and ignore the message about no swap partition, most are better off without it.

7. Start by setting up your wifi / network connection (network manager icon top right). The next thing you should do is System -> Administration -> Update Manager and install all of the updates and then reboot. Next go to System -> Administration -> Hardware Drivers and install all of the closed source drivers for graphics cards and such. It is best to install restricted drivers for network and wifi cards last of all. Reboot after this also. If you want the restricted video codecs so you can play all media go to System -> Administration -> Synaptic. Quick search for restricted. Right click ubuntu-restricted-extras and mark for installation. Click Apply on the top bar.

8. To enable the sound on the headphone jack on the back facing side of the machine Applications -> Accessories -> Terminal. Now type

sudo gedit /etc/modprobe.d/alsa-base.conf

and scroll to the end of the file and add the line:

options snd-hda-intel model=imac24

Save and reboot. From here on the Mac Pro will run like any other Ubuntu install. Done.

Keyboard

Beware to specify the Macintosh keyboard layout during installation. Using the Mac Aluminium keyboard may cause troubles. If you ever switch to NumLock and your keyboard goes crazy Tongue out :-? press the F6 key for 1-2 secs. Multimedia keys (F7-F12 for basck/forward/volume control) and Eject keys work out of the box.

Video

By default, the Vesa driver will be installed from the Ubuntu CD. This works OK. However, if you wish to speed-up display efficiency, and access 3D acceleration for e.g. OpenGL and Compiz, you should install the ad-hoc video driver.

The MacPro3,1 ATI card is an ATI XT2600HD. There are lots of artifacts. Using ATI drivers. During boot, the splash screen has a bunch of white flickering pixels.

Usually, the menu System/Administration/Hardware drivers should do well in most cases. Alternatively, you may try to install the required drivers using EnvyNG, which comes as a set of packages in the universe repositories: envyng-core, envyng-qt, envyng-gtk.

(X) WARNING: on Karmic, the ATI driver installation crashes the machine ; this can only be fixed by removing the radeon drivers, and returning to the default vesa driver. In a few words, avoid installing the proprietary drivers for the ATI card under Karmic. The only way to install the driver is to use EnvyNG.

The nvidia v180 drivers installed and worked fine for X, but the console will be flaky unless you build "vesafb" into the kernel and use a boot option that provides 1024x768 resolution

Bluetooth

The Apple bluetooth module in the Mac Pro works without issue under Ubuntu 10.04. However at boot the following error message is displayed and logged since the module connects to the USB bus.

kernel 2.6.32-24-generic : [ 5.522591] hub 5-1:1.0: unable to enumerate USB device on port 3

Sound

For the HDA Realtek ALC885/intel sound, the default installation does not enable sound output. An easy solution is to edit:

sudo gedit /etc/modprobe.d/alsa-base.conf

and add at the end:

options snd-hda-intel model=imac24

This is the only option that works. Other model=macpro is not effective. Currently Only the back sound output port is working properly. The front audio port does not output at full volume. Better than nothing Funny :)) .

Ethernet

A few ethernet issues have been reported (see below). Beware there are 2 ethernet plugs.

Wifi

Wifi Automatic installation

The Wifi card is a BCM 4328. It is usually well detected from the Administration/Hardware Drivers which should see a Broadcom STA wireless driver.

It seems the SSB module may require to be unactivated in some cases, e.g. with

sudo modprobe -r ssb
sudo modprobe wl

then add wl at the end of file /etc/modules

Wifi Manual installation from Broadcom

Manual install can be done using Broadcom proprietary drivers and following the README.

Wifi Manual installation using ''Ndiswrapper''

Alternative is to use NdisWrapper

wget http://ftp.us.dell.com/network/R151517.EXE
mkdir driver
unzip -a R151517.EXE -d driver/
cd driver/DRIVER/
sudo ndiswrapper -i bcmwl5.inf
sudo ndiswrapper -l
sudo ndiswrapper -m
sudo modprobe ndiswrapper

then add ndiswrapper at the end of /etc/modules

Create file /etc/init.d/ndiswrapper with content:

### BEGIN INIT INFO
# Provides: ndiswrapper
# Required-Start:
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: enable to load ndiswrapper
# Description: enable to load ndiswrapper
### END INIT INFO
rmmod ohci_hcd
rmmod ssb
rmmod ndiswrapper
modprobe ndiswrapper
modprobe ssb
modprobe ohci_hcd
############# end file ############

Make it executable and start it as a boot process service with

sudo chmod 755 /etc/init.d/ndiswrapper
sudo ln -s /etc/init.d/ndiswrapper /etc/rc2.d/S99ndiswrapper

Multiple Hard Disks

http://wiki.debian.org/DebianOnIntelMacPro#line-187

Other

Further and related information:

Forum Postings

http://ubuntuforums.org/showthread.php?t=553587

http://ubuntuforums.org/showthread.php?t=842100


CategoryMac CategoryHardware

This is to update my progress in getting a stable Ubuntu Jaunty amd_64 desktop on a dual processor, nehalem based MacPro(20091.1):

INSTALLATION: 1) I installed on a second drive using the Jaunty (9.x) amd64 desktop CD. My drive had an EFI boot partition and a small (40GB) OSX partition. I created a large ext3 partition sdb3 and a small swap partition sdb4. I installed the boot loader on the ext partition in the "advanced" section of the partitioning section of the installation routine.

2) Installation was successful but upon rebooting there was a "no operating system" message when i tried to boot ubuntu. I rebooted the installation CD, selected the "run ubuntu with no changes" option. I then:

  • ran gparted and flagged the ubuntu partition as bootable
  • ran grub from the command line and issued the following commands:

root (hd2,0)

setup (hd2,0)

  • booted from the rEFIT .13 cd and selected the "Linux" option.
  • booted ubuntu and restarted without the rEFIT cd and since then the system has booted without problems.

3) the ethernet adapters in this machine have no drivers in kernel version less than 2.6.30. [for my initial installation i used a wired USB network adapter (Trendnet TU2-ET100) which worked effortlessly using boot discs from ubuntu 8.1x and 9.x

4) using that adapter i installed the packages required to build an ubuntu kernel. and used the ubuntu sources 2.6.28.11. the ubuntu config-2.6.28.11 worked without modification after patching the ethernet drivers. the patch for the pre 2.6.30 e1000e driver is available at http://kerneltrap.org/mailarchive/linux-netdev/2009/3/25/5235664s, but here it is:


Add device ID for a new variant of the 82574 adapter.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Acked-by: John Ronciak <john.ronciak@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> ---

  • drivers/net/e1000e/hw.h | 1 + drivers/net/e1000e/netdev.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/e1000e/hw.h b/drivers/net/e1000e/hw.h index 11a2f20..d8b8229 100644 --- a/drivers/net/e1000e/hw.h +++ b/drivers/net/e1000e/hw.h @@ -339,6 +339,7 @@ enum e1e_registers {

  • #define E1000_DEV_ID_82573E_IAMT 0x108C #define E1000_DEV_ID_82573L 0x109A #define E1000_DEV_ID_82574L 0x10D3

+#define E1000_DEV_ID_82574LA 0x10F6

  • #define E1000_DEV_ID_82583V 0x150C #define E1000_DEV_ID_80003ES2LAN_COPPER_DPT 0x1096

diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index f388a01..15424ba 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net/e1000e/netdev.c @@ -5130,6 +5130,7 @@ static struct pci_device_id e1000_pci_tbl[] = {

  • { PCI_VDEVICE(INTEL, E1000_DEV_ID_82573L), board_82573 }, { PCI_VDEVICE(INTEL, E1000_DEV_ID_82574L), board_82574 },

+ { PCI_VDEVICE(INTEL, E1000_DEV_ID_82574LA), board_82574 },

  • { PCI_VDEVICE(INTEL, E1000_DEV_ID_82583V), board_82583 }, { PCI_VDEVICE(INTEL, E1000_DEV_ID_80003ES2LAN_COPPER_DPT),


the ubuntu kernel config-2.6.28.11-generic provided working ethernet after patching the e1000e drivers. (there is a kernel config that can be used as a starting point at http://wiki.debian.org/DebianOnIntelMacPro but will require lots of modification to get it working properly on the 2009.1 model MacPro)



CategoryHardware CategoryMac

MacPro (last edited 2015-10-15 08:57:07 by http-hide)