Difference between revisions of "Ubuntu install on Apple Mac Intel hardware"

From Noah.org
Jump to navigationJump to search
Line 2: Line 2:
 
[[Category:Ubuntu]]
 
[[Category:Ubuntu]]
  
You will totally reformat and reinstall OSX.
+
You will totally reformat the MacBook and reinstall OSX and Ubuntu. This will allow you to dual boot OS X and Ubuntu. I setup about 50GB for OS X and 120 GB for Ubuntu.
  
 
Boot off Mac OS X version 10.5.2 CD.
 
Boot off Mac OS X version 10.5.2 CD.

Revision as of 15:07, 3 November 2008


You will totally reformat the MacBook and reinstall OSX and Ubuntu. This will allow you to dual boot OS X and Ubuntu. I setup about 50GB for OS X and 120 GB for Ubuntu.

Boot off Mac OS X version 10.5.2 CD.

Start Disk Utility.

Reformat and repartition with 2 partitions. Set first partition to 50 GB formatted as Mac OS Extended (Journaled, Case-Sensitive) aka HFSX. Set second partition to UNUSED. Click OPTIONS button to open a dialog; select "GPTFormat (GUID Partitioning Table)". This is standard for booting OSX off x86 hardware. Do not use "MBRFormat" or "APMFormat". I know it's tempting...

Install OSX on first partition (50 GB, HFSX).

Boot into OS X. Use "System Preferences" to start "Software Update". Install all necessary updates.

Install [reEFIt 0.12]. Reboot.

You probably won't see the rEFIt menu the first time. Reboot again. It always seems to come up the second time.

This time you should see the rEFIt menu with two or three options "OS X", "Legacy Windows", "Ubuntu CD". You will also see a few small options "Partition Tool", shutdown, and restart.

Use "Partition Tool". This does one thing -- it makes sure the MBR and GPT maps are in sync. It will analyze and decide if a sync is necessary. It will ask if you want to write changes to disk. Say YES.

Boot "Ubuntu Live CD".

Go through install process, but PARTITION MANUALLY. Select the 140 GB free space. Create a 4 GB swap partition. Create an ext3 partition with remaining space, select "/" as mount point.

Continue through install process, but do not continue past the last step (step 9).

At step 9 (last step) you will see an "advanced" options button. Click that. There will be a drop-down menu to choose 'Install Boot Loader'. DO NOT PUT THE BOOTLOADER ON THE MAIN DRIVE OR FIRST PARTITION. You want to put the Boot Loader on the main Ubuntu partition you created (should be "/dev/sda4").

Go thorough the rest of the install process. At the end you will reboot as normal.

The rEFIt menu should come up. Choose the one in the lower-left, "Partition Tool" again to sync the MBR and GPT. It will ask if you want to write changes to disk. Say YES.

Now shutdown and reboot. When rEFIt comes back up it should show both "OS X" and Linux boot options. Linux should boot normally.

old notes -- ignore these

Open terminal, "sudo gparted" to start graphical

Reboot computer while holding down the option key (alt key). I had to do this twice. The first time it showed the Mac HD. I selected that then rebooted and after that it came back with the rEFIt menu.

Reboot with Ubuntu 8.10 live CD. The boot option screen might show the disk as "Windows". Apple bastards...

You will probably see a partition "/dev/sda1" that says "fat32" type. It may also say "EFI GPT". You want to leave that partition!

Delete the "hfs+" partition.

Create a partition with a size of 150 GB (150000 MB); set use as "ext3"; and set Mount point as "/".

Create a partition with a size of 4 GB (4000 MB) and set use as "swap area",

Create a partition with the remaining space and set use as "do not use the partition".

The system will start to install.