3

I'd like to install Gentoo Linux on my Macbook Pro while keeping my current OS X installation.

I currently have OS X installed on a RAID 0 on two 160GB Intel SSDs and I'd like to create a new partition for Gentoo alongside OS X without losing the RAID setup, but from what I read on the net, Apple's software RAID is poorly (read "not at all") supported:

  • BootCamp refuses to create a windows partition on a RAID volume
  • rEFIt is not able to boot an OS from a software RAID
  • even Apple's recovery partition for Lion can't be created on a RAID volume

Is there a way to dual boot my Macbook while keeping the RAID solution?

Edit: to be precise, I would like to have exactly this setup: dual boot with RAID 0. I already tried (and currently use) virtualization but it doesn't fit my needs.

Hennes
  • 65,804
  • 7
  • 115
  • 169

2 Answers2

2

Multi-boot requires partitioning the disk. This is easier for a hardware RAID where the RAID disk appears as just one disk to both OS, but much harder for software RAID and especially across two very different operating systems.

Some thoughts about solving this problem :

I would think that one will need to partition each of the two disks in exactly the same way, say disk1 partitioned into partition11 and partition12, disk2 partitioned into partition21 and partition22, where in size partition11=partition21 and partition12=partition22.

One would then install OS X as software RAID on partition11+partition21 and Linux on partition12+partition22, so both RAIDs are kept totally separate from each other.

Getting the boot-loader to work on this kind of configuration is not that easy, but this article might help:
How To Dual Boot OS X and Linux.

Just an opinion: It would be much easier to break the RAID and give each OS its own disk. If you wish to keep the RAID, remember to have good backups as it is likely you will find yourself reformatting the disks a few times while trying. I would also remark that RAID-0 is the most fragile of all RAID types, since a problem with one disk will mean losing both.

harrymc
  • 498,455
0

Install VirtualBox and then install Gentoo onto a virtual machine that runs alongside Mac OS. You setup how much disk space and memory, and how many CPUs to give to the virtual machine. You can make parts of your Mac's filesystem available to the guest operating system, the guest OS can access the Internet, GUI stuff works, etc. It's quite useful and convenient setup. And since it's running atop your Mac installation, you keep the RAID 0 read speed.

Kyle Jones
  • 6,364