I just want to share my experience (pardon my engrish). I got hint from many other site that most of it I cannot remember.
I tried installing dual-boot osx and ubuntu, after a couple of osx re-install and more ubuntu re-install, I think I got partition layout that will survive the next ubuntu release re-install. I got 9 partition in total, I put the /boot partition in front of Mac OSX partition. I'm using MacBook 4.1 SantaRosa and Leopard
This is what I did, your setup maybe different. ( Please don't follow this step, this is just a sharing, not a tutorial ) :
- Boot using linux liveCD, I'm using GParted liveCD. OSX Disk Utility can't create anything smaller than 1GB
- Delete macosx partition (partition 2, if the macbook is new or still in the original state), leave partition 1 (EFI partition, it's the FAT32 in the first partition) (OR you could just resize from OSX, I like clean install better)
- Plan the partition layout; mine is:
- EFI --> it's already there (around 200 MB)
- /boot partition for ubuntu (mine is 100MB) (macbook is using GUID partition table, not MBR. EFI can only boot from the first 4 partition. Linux has support for GUID, as long as the kernel booted)
- MacOSX System partition (mine is 40GB)
- MacOSX Data partition (again, this is a GUID disk, there is no extended partition) (mine is 16GB)
- MacOSX and Ubuntu shared partition (mine is 40GB)
- Swap file for ubuntu (I got 4GB of ram, I create 4,5GB for this)
- / (root) (16 GB)
- /home (16 GB)
- /other (the rest)
- create partition 2 - 9 from above AS AN EMPTY PARTITION
- reboot using mac OSX install DVD, install Mac OS X (I'm using leopard) to the 1st partition (the 2nd partition (the 40GB partition) in gparted, the EFI partition is hidden in Mac OSX) , don't install what you don't need (I deselect printer driver and language)
- Boot into OSX, using Disk Utility, format the 2nd (16 GB) as an Apple OSX partition (HFS+) journaled and the 3rd partition (40GB) as CaseSensitive, Non-Journaled (HFSX), and leave the rest unformated. (read this and this)
- Update MacOSX and install rEFIt in MacOSX
- Insert Ubuntu CD (I use alternate i386 CD and did command-line install) and reboot, Choose Linux CD from rEFIt menu
- Install ubuntu as usual, using partition 2 as /boot, 7 as / (root), 8 as /home and 9 as /data. Don't forget to name the partition (it's different from label) . (I notice that the HFS partition created from OSX has around 132 MB of free-space between partitions. Anybody know why?)
- After ubuntu installation has finish, restart and choose 'Start Partitioning Tool' from rEFIt menu, or you won't be able to boot to ubuntu. Sync GUID and MBR table. Every time you did something to a partition (format, delete, resize, etc), you have to resync again
- Did whatever you used to do, from here on it's just the same as regular install
I hope someone found an easier way to do this. I'm still tweaking my MacBook... trying to get the wireless working.
Bookmarks