This Page needs an owner! Adopt Me!
Installation on a Macpro
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).
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.... You must specify a partition for GRUB installation, e.g. /dev/sda3
Feature
Support status
Sensors (temps & fans)
Reboot
HFS|HFS+ (only read)
CDDVD|CD/DVD Writing
Bluetooth|Bluetooth
(works out-of-the-box)
(works, with remarks)
(needs manual install)
(won't work)
(not yet documented)
Quick Install Guide
1. Get a wired USB keyboard and mouse to make the install easy.
2. When you power on hold down the mouse button right after hearing the chime sound until the CD drive opens. Drop in Ubuntu 10.04 / 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 installer.
4. Go to Applications -> Terminal. Then type
sudo dd if=/dev/zero of=/dev/sda
This will wipe the hard drive, and 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.
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.
From here on the Mac Pro will run like any other Ubuntu install. The first thing you should do is run the update manager and install all of the updates and reboot. Next go to System -> Administration -> Hardware Drivers and install all of the closed source drivers for graphics cards and such. Reboot after this also.
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 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.
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 .
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
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)