ubuntu on macbook
Some links that helped me
- http://www.andybreuhan.de/2008/01/21/ubuntu-auf-macbook-mit-santa-rosa-betreiben/
- http://ubuntuforums.org/showthread.php?t=493393
- https://edge.launchpad.net/~mactel-support/+archive
How it worked for me
Notes: most of the content is copied from differents sites - see the links
My remarks are highlighted in yellow.
i have only tried the following on a MacBook Pro (santa rosa generation)
i am writing this tutorial because there is no actual tutorial out there that will completely work and allow you to use all three operating systems....
i have come up with these steps through trial and error and a combination of various tutorials i found on the topic...
1. i started with a clean install of OS X Leopard on my hard disk drive (i had not yet partitioned my hard drive) (V 5.2)
2. after installing leopard, install rEFIt (a boot loader) and make sure it is working by restarting your MBP and pressing the option button (the first time) etc...
3. inside OS X leopard go to the applications folder > utilities > boot camp assistant
using the assistant partition your hard drive according to the desired capacity you want available for your windows partition....and when you reach the insert an XP disc to start installation.....do NOT proceed.....choose the "install later" option...
Note: it is important that you do not install XP at this stage, or else you will have to re-install it after adding an extra partition for ubuntu since partitioning will destroy proper booting from the windows partition
4. pop in the OS X Leopard install disc and boot from the disc.....once inside chose disk utility from the menu bar.....
in disk utility click on the hard drive disk name (not on any of the partition names)....the hard disk name that includes the 2 partitions created so far...
when selected, you can see a "partition" tab in the available tools on the right part of disk utility
click on the partition tab, and then click on the graphic of macintosh hd (the OS X partition whatever you've named it) and click on the little "+" button
this will allow you to add an extra partition that you can resize either using the graphic or by typing in the desired capacity....
this will create a new partition which we will format for now using Mac OS Extended (Journaled)....
Note: you will now have three partitions and YES the XP partition will be the last partition (disk0s4) according to your partition map thus allowing you to install XP and allowing XP to boot properly
4. after partitioning, it's time for installation....
pop in the windows xp disc and boot from the disc.....after all files are loaded...install xp on the partition created via boot camp in step # 3.....YES it will show up in the list of partitions with the name C something <boot camp> blablabla......you can even format it along the process before the windows installation actually begins......
do not forget after installing windows (first part through booting from the disc and then the MBP will automatically reboot after which you have to chose to boot to the XP partition to complete the installation) pop in the os x leopard disc in windows to install boot camp drivers
5. with windows installed, pop in the ubuntu (i used 7.10) (I used 8.04 32bit alternate install) disc and boot from the disc.....and start the installation....when you reach the step of choosing which parition to install on or size or something......choose manual and click next....wait for the partition tool to load....locate the partition created (using disk utility earlier) for ubuntu and click on it then click on 'edit partition'....set the mount point as "/" and chose "ext3" as the format....(the partition will be automatically formatted when you begin installation)....when clicking next, it will warn you of the swap partition but you can safely ignore that.....continue with the installation steps until you reach the last step.....BEFORE CLICKING ON INSTALL.....in the last step, click on the "advanced" button and MAKE SURE to install the boot loader to the partition allocated for ubuntu in our case it will probably be the third partition (i.e. instead of hd(0,0) os something like that just type "/dev/sda3")
then click next and finish installation......
by now when you boot your MBP, you should have 3 options available using rEFIt, and all of the bootable and fully functional
i am writing this tutorial because there is no actual tutorial out there that will completely work and allow you to use all three operating systems....
i have come up with these steps through trial and error and a combination of various tutorials i found on the topic...
1. i started with a clean install of OS X Leopard on my hard disk drive (i had not yet partitioned my hard drive) (V 5.2)
2. after installing leopard, install rEFIt (a boot loader) and make sure it is working by restarting your MBP and pressing the option button (the first time) etc...
3. inside OS X leopard go to the applications folder > utilities > boot camp assistant
using the assistant partition your hard drive according to the desired capacity you want available for your windows partition....and when you reach the insert an XP disc to start installation.....do NOT proceed.....choose the "install later" option...
Note: it is important that you do not install XP at this stage, or else you will have to re-install it after adding an extra partition for ubuntu since partitioning will destroy proper booting from the windows partition
4. pop in the OS X Leopard install disc and boot from the disc.....once inside chose disk utility from the menu bar.....
in disk utility click on the hard drive disk name (not on any of the partition names)....the hard disk name that includes the 2 partitions created so far...
when selected, you can see a "partition" tab in the available tools on the right part of disk utility
click on the partition tab, and then click on the graphic of macintosh hd (the OS X partition whatever you've named it) and click on the little "+" button
this will allow you to add an extra partition that you can resize either using the graphic or by typing in the desired capacity....
this will create a new partition which we will format for now using Mac OS Extended (Journaled)....
Note: you will now have three partitions and YES the XP partition will be the last partition (disk0s4) according to your partition map thus allowing you to install XP and allowing XP to boot properly
4. after partitioning, it's time for installation....
pop in the windows xp disc and boot from the disc.....after all files are loaded...install xp on the partition created via boot camp in step # 3.....YES it will show up in the list of partitions with the name C something <boot camp> blablabla......you can even format it along the process before the windows installation actually begins......
do not forget after installing windows (first part through booting from the disc and then the MBP will automatically reboot after which you have to chose to boot to the XP partition to complete the installation) pop in the os x leopard disc in windows to install boot camp drivers
5. with windows installed, pop in the ubuntu (i used 7.10) (I used 8.04 32bit alternate install) disc and boot from the disc.....and start the installation....when you reach the step of choosing which parition to install on or size or something......choose manual and click next....wait for the partition tool to load....locate the partition created (using disk utility earlier) for ubuntu and click on it then click on 'edit partition'....set the mount point as "/" and chose "ext3" as the format....(the partition will be automatically formatted when you begin installation)....when clicking next, it will warn you of the swap partition but you can safely ignore that.....continue with the installation steps until you reach the last step.....BEFORE CLICKING ON INSTALL.....in the last step, click on the "advanced" button and MAKE SURE to install the boot loader to the partition allocated for ubuntu in our case it will probably be the third partition (i.e. instead of hd(0,0) os something like that just type "/dev/sda3")
then click next and finish installation......
by now when you boot your MBP, you should have 3 options available using rEFIt, and all of the bootable and fully functional
Note: boot macOS and run refit disk util
the three most important things that you should carefully do and NOT ignore are:
a. partition the way i did it cause if you don't use boot camp for creating the first partition you might have problems when installing windows (when booted from the disc)...the partition would not show or you can't format it....or you have to format or delete first blablabla...all sorts of issues
b. after partitioning and before installing...use terminal and type in "diskutil list" and make sure the EFI system is on partition 1, OS X on 2, Ubuntu on 3, and XP on 4......it is CRUCIAL that the xp partition be the last one or it would not boot
c. you must change the boot loader setting in the last step of the ubuntu installation to the appropriate partition or else you would either render ubuntu unbootable or XP unbootable or even both and you'll have to repeat everything all over again
and ofcourse do not blame me for any mis-happenings that occur with you so make sure to BACK UP all your date before you attempt any of this if it means anything to you
the three most important things that you should carefully do and NOT ignore are:
a. partition the way i did it cause if you don't use boot camp for creating the first partition you might have problems when installing windows (when booted from the disc)...the partition would not show or you can't format it....or you have to format or delete first blablabla...all sorts of issues
b. after partitioning and before installing...use terminal and type in "diskutil list" and make sure the EFI system is on partition 1, OS X on 2, Ubuntu on 3, and XP on 4......it is CRUCIAL that the xp partition be the last one or it would not boot
c. you must change the boot loader setting in the last step of the ubuntu installation to the appropriate partition or else you would either render ubuntu unbootable or XP unbootable or even both and you'll have to repeat everything all over again
and ofcourse do not blame me for any mis-happenings that occur with you so make sure to BACK UP all your date before you attempt any of this if it means anything to you
Ubuntu Config
touchpad:
- sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
-
Section "InputDevice" # updated 2007-12-07 # use command "synclient -m 1" to see raw output # common stuff Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" # not using edge scrolling Option "HorizEdgeScroll" "0" Option "VertEdgeScroll" "0" # use two finger scrolling Option "VertTwoFingerScroll" "1" Option "HorizTwoFingerScroll" "1" # set to 0 if you don't want horizontal scrolling # scroll speed, lower is faster Option "HorizScrollDelta" "10" Option "VertScrollDelta" "10" # minimum pressure motion factor Option "PressureMotionMinZ" "10" # touch and untouch thresholds, higher numbers if you like to push hard Option "FingerLow" "10" Option "FingerHigh" "20" # change to 30 or 40 if you like # borders based on output from synclient Option "LeftEdge" "20" Option "RightEdge" "1200" Option "TopEdge" "20" Option "BottomEdge" "370" # speeds, smaller number for a slower mouse Option "MinSpeed" "0.8" # 0.5 is very slow, 1.5 is very fast Option "MaxSpeed" "1.2" # up to 1.5 works ok Option "AccelFactor" "0.10" # tap times, change to suit your tapping habits Option "MaxTapMove" "100" Option "MaxTapTime" "100"Section "InputDevice" # updated 2007-12-07 # use command "synclient -m 1" to see raw output # common stuff Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" # not using edge scrolling Option "HorizEdgeScroll" "0" Option "VertEdgeScroll" "0" # use two finger scrolling Option "VertTwoFingerScroll" "1" Option "HorizTwoFingerScroll" "1" # set to 0 if you don't want horizontal scrolling # scroll speed, lower is faster Option "HorizScrollDelta" "10" Option "VertScrollDelta" "10" # minimum pressure motion factor Option "PressureMotionMinZ" "10" # touch and untouch thresholds, higher numbers if you like to push hard Option "FingerLow" "10" Option "FingerHigh" "20" # change to 30 or 40 if you like # borders based on output from synclient Option "LeftEdge" "20" Option "RightEdge" "1200" Option "TopEdge" "20" Option "BottomEdge" "370" # speeds, smaller number for a slower mouse Option "MinSpeed" "0.8" # 0.5 is very slow, 1.5 is very fast Option "MaxSpeed" "1.2" # up to 1.5 works ok Option "AccelFactor" "0.10" # tap times, change to suit your tapping habits Option "MaxTapMove" "100" Option "MaxTapTime" "100" Option "MaxDoubleTapTime" "200" # don't change these or two finger tap stops working Option "TapButton2" "3" Option "TapButton3" "2" # must be commented out or normal tapping wont work #Option "TapButton1" "0" # needed for disabled while typing fix Option "SHMConfig" "on" EndSection Option "MaxDoubleTapTime" "200" # don't change these or two finger tap stops working Option "TapButton2" "3" Option "TapButton3" "2" # must be commented out or normal tapping wont work #Option "TapButton1" "0" # needed for disabled while typing fix Option "SHMConfig" "on" EndSection
-
brightness after suspend:
- sudo gedit /etc/default/acpi-support
- UNCOMMENT the line that says: DOUBLE_CONSOLE_SWITCH=true
sound:
- sudo gedit /etc/modprobe.d/options
- options snd_hda_intel model=mbp3
function keys
- sudo apt-get install pommed
isight (doesn't work yet):
http://ubuntuforums.org/showthread.php?t=764616
- wget http://www.i-nz.net/files/projects/linux-kernel/isight/against-revision-140/firmware/AppleUSBVideoSupport
- wget http://gd.tuwien.ac.at/opsys/linux/ubuntu/archive/pool/multiverse/i/isight-firmware-tools/isight-firmware-tools_1.2-1_i386.deb
- sudo dpkg -i isight-firmware-tools_1.2-1_i386.deb
- /home/klemens/download/AppleUSBVideoSupport
- sudo /etc/init.d/hal restart
- sudo apt-get install cheese cheese
dualscreen
- sudo gedit /etc/X11/xorg.conf
- Subsection "Display"
Depth 24
Virtual 2560 1024
EndSubsection
- Subsection "Display"
nautilus extenstions
- sudo aptitude install nautilus-image-converter nautilus-open-terminal
old / more links:
- https://help.ubuntu.com/community/MacBook
- http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp
- http://refit.sourceforge.net/
- http://prudenzio.blogspot.com/2008/01/triple-boot-on-my-macbook-pro.html
- good guide, but for windows vista:
http://blog.geeklimit.com/2008/07/02/triple-boot-macbook-pro-osx-leopard-vista-64-bit-and-ubuntu-804-64-bit/ - http://www.mac-forums.com/forums/showthread.php?t=96640
- http://ubuntuforums.org/showthread.php?t=775591
- 1 - Make sure you use Leopard and have it updated (10.5.2).
2 - Start BootCamp and create a partition for Windows XP (15G is enough).
3 - Don't install it through Bootcamp.
4 - Insert Windows CD and reboot holding C when you hear the beeping sound.
5 - Windows instalation should start, follow the usual instalation process of Windows.
6 - If it reboots during instalation, you press ALT during reboot so that you can pick Windows instalation.
7 - After Windows is installed, insert your Leopard DVD and it should install all your Apple drivers and stuff.
8 - Update your Apple Software (there will be an option on the start menu to do so).
9 - Update Windows XP.
10 - Now that Windows is installed, get back to MacOS, we are going to install Linux now.
11 - Start Disk Utility and create a new partition on Machintosh HD, name it Linux
12 - Insert Linux CD and reboot holding C
13 - On Linux instalation, delete the partition you created (Linux) because its HFS, and set it as ext3 and mount /. Don't need to create swap (I know its going to warn you, but ignore it).
14 - At the last step of setup, click advanced because you need to change where GRUB is going to be installed, choose sdaX (which X is your Linux partition).
15 - Let it install Ubuntu.
16 - Get back to MacOS, install rEFIt, reboot and run the partition manager of rEFIt, which should take care of every detail of booting for each OS.
17 - Reboot and that's it.
This is what I did, referenced here: http://www.jbkempf.com/blog/post/200...windows-Mac-OS
- 1 - Make sure you use Leopard and have it updated (10.5.2).