SantaRosa

Differences between revisions 1 and 2
Revision 1 as of 2007-09-14 12:29:55
Size: 5592
Editor: 60-242-25-74
Comment: In Draft
Revision 2 as of 2007-09-14 15:08:19
Size: 5528
Editor: 209
Comment: corrected spelling errors and minor layout changes
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Ubuntu on MacBookPro Sata Rosa = = Ubuntu on MacBookPro Santa Rosa =
Line 4: Line 4:
[[BR]]With the release of the third revision to the MacBook Pro line, several hardware incompatibilities were introduced with Ubuntu.
[[BR]]The primary hardware changes from previous hardware revisions include:
 1. Nvidia Graphics (GeForce 8600M GT)
 2. AirPort Extreme Wi-Fi (802.11n
With the release of the third revision to the MacBook Pro line (June 2007), several hardware incompatibilities were introduced with Ubuntu.

The primary hardware changes from previous hardware revisions include:
 1. NVIDIA Graphics (GeForce 8600M GT)
 2. AirPort Extreme Wi-Fi 802.11b/g/n
Line 10: Line 11:
[[BR]]This Wiki page is based of this thread and the contributions made buy members in the forum.
[[BR]][[BR]]''note.'' If you are new to installing Ubuntu on you Intel Mac you may like to familiarise yourself with the installation process by visiting the generic Wiki page for the Macbook Pro or Macbook help page:
[[BR]]https://wiki.ubuntu.com/MacBookPro
[[BR]]https://help.ubuntu.com/community/MacBook
[[BR]][[BR]]If you are dual booting this page presupposes that you will
 1. install the EFI boot menu GUI: rEFIt (http://refit.sf.net)
 2. create a new partition to house your Ubuntu installation on you internal Hard Drive

This Wiki page is based of this thread and the contributions made buy members in the forum.

''note.'' If you are new to installing Ubuntu on you Intel Mac you may like to familiarize yourself with the installation process by visiting the generic Wiki page for the [[MacBookPro]] or MacBook help page (https://help.ubuntu.com/community/MacBook).

If you are dual booting this page presupposes that you will
 1. Install the EFI boot menu GUI: rEFIt (http://refit.sf.net)
 2. Create a new partition to house your Ubuntu installation on you internal Hard Drive
Line 18: Line 21:
[[BR]]To install ubuntu on your Macbook Pro Santa Rosa: To install Ubuntu on your Macbook Pro Santa Rosa:
Line 20: Line 24:
 1. Download the Alternate Install CD (32 or 64bit)
 2. Burn the install CD under OSX/Windows/linux
 3. Download and install Bootcamp or rEFIt (http://refit.sf.net)
 1. Download the Alternate Install CD (32bit or 64bit)
 2. Burn the install CD under OS X/Windows/Linux
 3. Download and install Boot Camp or rEFIt (http://refit.sf.net)
Line 24: Line 28:
 6. Follow the onscreen instructions  6. Follow the on screen instructions
Line 26: Line 30:
Line 28: Line 33:
 2. Burn the install CD under OSX/Windows/linux
 3. Download and install bootcamp or rEFI (http://refit.sf.net)
 2. Burn the install CD under OSX/Windows/Linux
 3. Download and install Boot Camp or rEFI (http://refit.sf.net)
Line 34: Line 39:
Line 35: Line 41:
[[BR]]You will find after installation that you computer will not correctly boot. This is due primarily to the new unsupported graphics. You will find after installation that you computer will not correctly boot. This is due primarily to the new unsupported graphics.
Line 39: Line 46:
[[BR]]A black screen will presented with text similar to:
{{{Ubuntu kernal 2.6.20-15-generic
Ubuntu kernal 2.6.20-15-generic (recovery mode)
A black screen will presented with text similar to:
{{{Ubuntu kernel 2.6.20-15-generic
Ubuntu kernel 2.6.20-15-generic (recovery mode)
Line 50: Line 57:
Line 51: Line 59:
[[BR]]If you want to have 3D hardware acceleration (e.g. for a composite desktop like Compiz-Fusion/Beryl), you will need to install the closed source nVidia drivers. The drivers in the Ubuntu repositories (nvidia-glx or nvidia-new) do not support the MacBookPro SR.
[[BR]]You will need to install the latest drivers available from nVidia and patch it prior to installation.
 1. Download the nVidia driver from http://us.download.nvidia.com/XFree86/Linux-x86/100.14.11/NVIDIA-Linux-x86-100.14.11-pkg1.run
[[BR]]If you want to have 3D hardware acceleration (e.g. for a composite desktop like Compiz-Fusion/Beryl), you will need to install the closed source nVidia drivers. The drivers in the Ubuntu repositories (nvidia-glx or nvidia-new) do not support the MacBook Pro SR.

You will need to install the latest drivers available from nVidia and patch it prior to installation.
 1. Download the NVIDIA driver from http://us.download.nvidia.com/XFree86/Linux-x86/100.14.11/NVIDIA-Linux-x86-100.14.11-pkg1.run
Line 69: Line 78:
Line 81: Line 91:
== Controlling Backlight and Keyboard Light ==
== Controlling backlight and Keyboard Light ==
Line 85: Line 96:
 2.#2 Install the dependancies  2.#2 Install the dependencies
Line 90: Line 101:
[[BR]]Follow instruction in INSTALL Follow instruction in INSTALL
Line 93: Line 104:
Line 94: Line 106:
 1. Install alsa dependancies  1. Install alsa dependencies
Line 96: Line 108:
note. please provide other dependancies note. please provide other dependencies

Ubuntu on MacBookPro Santa Rosa

Preface

With the release of the third revision to the MacBook Pro line (June 2007), several hardware incompatibilities were introduced with Ubuntu.

The primary hardware changes from previous hardware revisions include:

  1. NVIDIA Graphics (GeForce 8600M GT)

  2. AirPort Extreme Wi-Fi 802.11b/g/n

  3. Sound

In order to document these incompatibilities and the workarounds a thread was created: http://ubuntuforums.org/showthread.php?t=474144

This Wiki page is based of this thread and the contributions made buy members in the forum.

note. If you are new to installing Ubuntu on you Intel Mac you may like to familiarize yourself with the installation process by visiting the generic Wiki page for the MacBookPro or MacBook help page (https://help.ubuntu.com/community/MacBook).

If you are dual booting this page presupposes that you will

  1. Install the EFI boot menu GUI: rEFIt (http://refit.sf.net)

  2. Create a new partition to house your Ubuntu installation on you internal Hard Drive

Installation:

To install Ubuntu on your Macbook Pro Santa Rosa:

Text Installation

  1. Download the Alternate Install CD (32bit or 64bit)
  2. Burn the install CD under OS X/Windows/Linux
  3. Download and install Boot Camp or rEFIt (http://refit.sf.net)

  4. Boot from the Ubuntu CD by holding the 'c' key during boot
  5. Follow the on screen instructions
  6. install Ubuntu

GUI Installation

  1. Download the Live Install CD
  2. Burn the install CD under OSX/Windows/Linux
  3. Download and install Boot Camp or rEFI (http://refit.sf.net)

  4. Boot from the Ubuntu CD by holding the 'c' key during boot
  5. Choose "Safe graphics mode" and press F6 to edit the boot parameters
  6. Remove "splash", "quiet" and "--" then add "all_generic_ide"
  7. Boot into the Live environment and install Ubuntu from Ubiquity

Getting Graphics to Work

You will find after installation that you computer will not correctly boot. This is due primarily to the new unsupported graphics.

Change Graphics Drivers

  1. Reboot you Mac and choose the Linux icons from the rEFIt menu
  2. Press Esc when asked

A black screen will presented with text similar to: {{{Ubuntu kernel 2.6.20-15-generic Ubuntu kernel 2.6.20-15-generic (recovery mode) Ubuntu memtest etc...}}}

  1. Select the recovery mode option
  2. Edit the /etc/X11/xorg.conf file

nano /etc/X11/xorg.conf

  1. Search for "nv" and replace with "vesa"
  2. Exit nano and start an X session

/etc/init.d/gdm start

Installing the nVidia Drivers

BRIf you want to have 3D hardware acceleration (e.g. for a composite desktop like Compiz-Fusion/Beryl), you will need to install the closed source nVidia drivers. The drivers in the Ubuntu repositories (nvidia-glx or nvidia-new) do not support the MacBook Pro SR.

You will need to install the latest drivers available from nVidia and patch it prior to installation.

  1. Download the NVIDIA driver from http://us.download.nvidia.com/XFree86/Linux-x86/100.14.11/NVIDIA-Linux-x86-100.14.11-pkg1.run

  2. Download the patch nvmacbook.diff from https://cbg.dyndns.org/store/config/nv_macbook.diff

  3. Patch the driver by executing the following:

{{{sh NVIDIA-Linux-x86-100.14.11-pkg1.run -x cd NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/ patch -p0 < ../../../nv_macbook.diff cd ../..}}}

  1. Stop your X session to install the driver

/etc/init.d/gdm stop

  1. If you haven't already, install build-essential package so you can build the driver

sudo apt-get install build-essential

  1. Run the nVidia install script

sudo ./nvidia-installer -aN

  1. Follow the onscreen instructions to install the driver.

BRGeneric instructions can be found here (thanks #pepe): https://cbg.dyndns.org/wiki/ReadingCorner/LinuxOnMacbookPro#graphics

Install Wireless

  1. Prepare to build the drivers

sudo apt-get install build-essential

  1. Download the madwifi drivers

{{{cd /usr/src/modules/ sudo svn checkout http://svn.madwifi.org/trunk madwifi}}} BR(the current trunk may not work, anyone remember what revision works?)

  1. Build and install the madifi drivers

{{{cd madwifi sudo make sudo make install sudo modprobe ath_pci}}}

Controlling backlight and Keyboard Light

The system used to control backlight on Mac laptops is a proprietary Apple implementation which has been implemented under linux by pommed. To install pommed:

  1. Download the pommed source which contains a patch for the MacBookPro SR

svn co svn://svn.debian.org/pommed

  1. Install the dependencies

sudo apt-get build-dep pommed

  1. Build pommed

{{{cd pommed sudo make}}} Follow instruction in INSTALL

gedit INSTALL

Getting Sound

  1. Install alsa dependencies

sudo apt-get install automake autotools autoconf  note. please provide other dependencies

  1. Move into your modules source directory and download the latest alsa source which includes a patch for the MacBook Pro SR

{{{cd /usr/src/modules/ rsync -avz --delete rsync://alsa.alsa-project.org/hg/alsa-driver alsa rsync -avz --delete rsync://alsa.alsa-project.org/hg/alsa-kernel alsa}}}

  1. BRBuild and install the driver

{{{cd ../alsa-driver ./hgcompile make make install /etc/init.d/alsasound stop}}}

  1. [[BR]Verify all snd modules are unloaded

lsmod

  1. Then load the driver module

modprobe snd-hda-intel

MacBookPro/SantaRosa (last edited 2008-10-31 15:01:50 by 128)