Intel Mac can't have more than 4 partitions?

6,366

Solution 1

Intel-based Macs use the GUID Partition Table (GPT) by default. GPT in turn supports up to 128 partitions by default (that value can be increased if necessary, although most partition tools don't enable you to do so). Thus, there's no problem with having more than four partitions on an Intel-based Mac.

The limitation you've heard about is a distortion of the limitation on hybrid MBRs, which are a dangerous and standards-violating hybridization of GPT with the older Master Boot Record (MBR) partitioning system used on most PCs. In a hybrid MBR, up to three of the GPT's partitions are duplicated in an MBR data structure. MBR is limited to four primary partitions, and in a hybrid MBR the fourth primary partition is occupied by a special partition that identifies the disk as being a GPT disk. This fourth partition is often mistaken for an MBR-side duplicate of the EFI System Partition (ESP) that's present on most GPT disks, but it's not that.

Apple uses hybrid MBRs to enable Windows to dual-boot with OS X on Macs. Windows favors the MBR data structures, so it sees the disk as being an MBR disk, whereas OS X favors GPT data structures, so it sees the disk as being a GPT disk. (Linux, like OS X, sees a hybrid MBR as a GPT disk.) A hybrid MBR doesn't limit the number of GPT partitions you may have, but it does limit the number of partitions that the Windows installation can see, to no more than three.

Note that extended partitions and Extended Boot Records (EBRs) have nothing to do with hybrid MBRs -- or at least, they shouldn't! In the MBR scheme, extended partitions serve as placeholders for logical partitions, which are defined by EBRs. Using this scheme, an MBR disk can support a huge number of partitions -- theoretically about half as many as there are sectors on the disk, although practical limits are much lower than that. Disks with hybrid MBRs don't use extended partitions, though, because maintaining consistency between the GPT and MBR sides of the disk -- already a challenging enough task with regular hybrid MBRs -- would become much tougher.

Solution 2

While Windows 7 x86_64 supports GPT, it only supports UEFI or BIOS. Windows 7 does not support "Apple EFI" which is an amalgam of Intel EFI 1.1, and some bits of Apple's own and some bits of UEFI 2.x. It is not strictly a UEFI 2.x implementation which is what all non-Mac OS operating systems require. So this in effect limits Bootcamp (or rEFIt) users to using the CSM (BIOS), and thus require an MBR since BIOS only understands MBRs.

MBR=4 partitions, but 1 of which is reserved when it's a hybrid MBR, as mentioned it's to indicate that the entire drive is GPT so that you have some warning from an MBR-only aware partitioning application. So in effect hybrid MBR is limited to 3 partitions.

In theory you can choose which 3 of the potentially 128 GPT partitions you want exported to the hybrid MBR. But most tools don't let you do this. The only one I know that does is gdisk.

I agree that hybrid MBR is standards-violating and is a bastardization. My preference would be for Apple to issue a fully standards compliant UEFI 2.x firmware for all machines sold in the past few years. In particular it's annoying as balls that brand new machines sold today still are based on Intel EFI 1.1, not UEFI 2.x.

Solution 3

It's not because of GPT. It's because of MBR. There are many problems with MBR and GPT compatibility which limit partition number to 4. If you aren't using MBR at all, which could be happening, everything should work fine. New versions of windows support GPT, so there is a chance that MBR isn't being used.

If you are using MBR, then I have no idea what's happening.

Solution 4

I found this article which explains the partitioning scheme.

Essentially, if I understand the article correctly, there is an “Extended Boot Record” on one of the partitions on one of the primary four partitions which describes the extra "extended" partitions. Some legacy operating systems cannot see them.

Linux can see the extended partitions after the kernel is loaded. I presume you're able to boot properly because the Linux partition is on one of the four "primary" partitions.

Share:
6,366

Related videos on Youtube

mk12
Author by

mk12

Updated on September 17, 2022

Comments

  • mk12
    mk12 over 1 year

    I've read everywhere that you can't have more than 4 partitions because of GPT on intel Macs. But what happens if you make more than 4? On my iMac I have EFI, Macintosh HD, Windows, Linux, and Linux swap partitions and I am able to boot from all three operating systems with rEFIt. So, I have 5 partitions, so why does it work? I made the partitions with Snow Leopard's Disk Utility by the way.

  • mk12
    mk12 almost 14 years
    That must be it. I never used Boot Camp for either Windows or Linux, and I understand it's Boot Camp that does the GPT-MBR hybrid stuff. Also, I'm using 64 bit Windows 7 which I believe supports GPT. It makes sense now, thanks.
  • mk12
    mk12 almost 14 years
    I already knew about this, but I'm pretty sure they're all primary because I never made any logical or extended partitions, and I don't think the Disk Utility would do this without telling me. But thanks for the answer.
  • laktak
    laktak almost 12 years
    thanks for mentioning gdisk! sourceforge.net/projects/gptfdisk