Does anybody have a guide or just some help? I have a 2008 white MacBook.
There are many tutorials on the web and articles about that in this forum. If you’re using rEFIt, it’s easy.
- Resize your hfs partition with disk utility under Mac OS X and create another partition (DOS formated will be OK)
- Install refit rEFIt - An EFI Boot Menu and Toolkit
- In openSUSE setup, choose the last option in the partitioner “Create partition setup” and NOT another one! Select the partition you dedicated to Linux (should be sda3), format as ext4 and mount in /.
-
pay extra care NOT to install Grub in MBR!
but in your Linux partition. rEFit will be the bootmanager which let you choose which OS to start. - pay extra care NOT to write generic boot code to MBR!
too (uncheck this option!) - You won’t have a swap partition. So you’ll have to create a swap file under Linux. - Also you can mount your hfs partition read only under Linux.
On my iMac OSX/openSUSE, my /etc/fstab looks like this:
# /etc/fstab: static file system information.
# <fs> <mount point> <type> <options> <dump> <pass>
/swap none swap sw 0 0
# /dev/sda3
UUID=e764236e-b759-41ea-b927-ae33523b3916 / ext4 acl,user_xattr 1 1
#
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
#
# Mac
# /dev/sda2
UUID=ccbbbd94-deb6-3a95-aadf-531952d1af33 /mac hfsplus noauto 0 0
#
# Removables
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 1 0
Don’t play with partitioning tools under Linux (most of them would mess up the GPT). The only partition you need to worry about will be sda3.
I might have missed some details. But this is the concept.
You have to use a bootmanager like rEFIT which fakes the MBR, as Legacy Grub cannot boot GPT … as far as I know. If you were installing Ubuntu which uses Grub2, rEFIT shouldn’t be needed in theory. I didn’t try however (I’m happy with openSUSE on my iMac).