You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How can i remove a hybrid mbr from my system drive so that Efi booted windows will install.

Hi,

i have just clean installed OSX lion on a freshly wiped drive in my macbook pro, using a bootable lion installer usb i used disk utility to partition my drive into a mac and a windows partition under the GPT/GUID partition scheme, i then proceeded to install lion onto the mac partition, and completed the set up, All Good...


so i plug in my Windows 8 EFI Boot USB stick (Notice, EFI boot here, NOT BIOS EMULATION BOOT), shutdown and power on the mac and proceed to the boot picker by holding option, So far so good, the usb key is recognised and the system boots into the Windows Setup in EFI mode, Enter product key, accept terms and so on, Now i select my Windows partition and windows Says That it cant install to Partition 4 (EFI Partiton, OSX Lion, Lion recovery, Windows), It says that it can only install to a GPT / GUID based disk as expected...


Why is there a protective MBR on my drive when i didnt add one, and i have not even touched bootcamp assistant...


How can i remove this Protective MBR from my drive so that my disk is PURE GPT so windows can install?


hours of googling has turned up nothing...


System:
Macbook Pro 13 inch Mid 2009
Mac os: OSX Lion

Version of windows trying to install: Windows 8 Release Preview 64 bit in EFI Mode

MacBook Pro (13-inch Mid 2009), Mac OS X (10.7)

Posted on Jun 21, 2012 7:22 AM

Reply
8 replies

Jun 21, 2012 8:03 AM in response to sig

Hey,


the install media doesnt matter, infact i need to use a USB thats slightly modified so that the Windows installer Boots in EFI and not under bios emulation.... if i stick a disk in (windows 7 64 bit for instance) it still boots under apples Bios emulation... and i have installed windows from usb drives to many computers before... not an issue there because they are all bios based machines, but macs are EFI based...


Thats not the point....


Point is that when The Windows Bootable installer is booted in EFI mode, It will Only install to a GUID/GPT Partitioned Disk, exactly the same goes for installing 64 bit windows in EFI mode on a PC with a UEFI based mother board, MBR IS NOT SUPPORTED as a boot drive under EFI...


What is the point is that, the Protective mbr on the disk needs to go.... and why it is there in the first place when i didnt use bootcamp ultility or anything to create a windows partition blows my mind....

Jun 21, 2012 8:49 AM in response to Alexander R

What you should have done was to use Bootcamp

to create the Windows disk environment. It takes

care of all the issues you are running into. The only

caveat is that the drivers available for Bootcamp

installation for Windows is only for Win7. You

may find many drivers for the Apple hardware unusable

under Windows8.


Why in the world would you want Windows8 anyway?

Jun 21, 2012 8:59 AM in response to woodmeister50

Bootcamp uses Protective MBR, which means that windows must be booted under apples Bios Emulation, i want to avoid that completly.... and I Love windows 8, i use it on my Gaming Rig and almost all other computers in the house run it, drivers arnt a big issue, because its based on windows 7 (which is based on vista) almost all Vista / 7 drivers will work fine, i was running 8 on the mac until i had to format because of a corruptiuon issue on ym mac partition, That how ever was bootcamp and it does have draw backs...


Still doesnt answer the question of how to remove that Hybrid / protective MBR that is on my disk which shouldnt be there....

Jun 23, 2012 2:31 PM in response to woodmeister50

Alexander, if you are only installing Windows you can try using DISKPART (shift + F10) when the Windows installer is booted and manually try to wipe the disk and then recreate the required partitions.


However, since you aren't doing that, try using the OS X diskutil to make your OS X partition use the entire disk. I know that isn't really the case, but from the GUI's perspective it looks like that. After doing doing resize your OS X partion to free up space for your Windows partition. I know this sounds hookie, but I've seen it work.


Join the fun here: google "Win7 x64 booting natively via EFI "


<Edited By Host>

Jul 18, 2012 2:54 PM in response to Alexander R

Alexander, I would like to apologize for the TERRIBLE answers you have been given so far. I too had this question, and so here is what my thoughts are, as maybe they might provide insight in leading you towards the answer.


I am a *nix user in general, and thus own a mac and a thinkpad. In fact I just got my thinkpad not too long ago. As such, I transfered my faster hard drive to my faster computer, which made logcal sense to me. Ergo, I moved my Mac drive to my lenovo. On this drive I have a hybrid mbr which is no longer needed. So my thoughts are this:


From what I gather, the UEFI standard indicates that there is to be a protective MBR on all GPT systems. This is so that when you use programs that are not GPT aware, they will see a presumably "full" drive and not think that they have the right to destroy your existing data in what it thinks is free space. For instance, fdisk or other MBR only partitioning systems. Thus, if your system has only a MBR with a single EE partition, it would be my guess that it was in fact not put there by installing Windows, but rather for the protection of your system.


If you are in my situation, where you do indeed have a hybrid MBR with written out partitions, it would be my guess that the only way to rid yourself of it is to do it manually. The way I would recommend, is using gdisk (gpt fdisk). It is command line only, but the syntax is pretty easy:


$ sudo gdisk /dev/disk0


Assuming you are using your mac partition and your primary hdd is disk0. That will put you into an interactive session of gdisk. Enter "?" for command options. What you need is the "recovery and transformation" section which is the "r" I think. From there I would say you probably want to create a new hybrid mbr (you will be using this to delete it). When it asks you for the partitions you would like to include, just hit enter. It should then ask you if you would like to create a protective entry for the remainder of the empty space. This is what you want so tell it to do that. After you are done, "w" will write and exit. You may want to first use the "p" to print and ensure that you have what you want. You can proabably check your work by using fdisk as so:


$ sudo fdisk -l /dev/disk0


I hope this helps you, and if you find that there is a better way, I hope you might enlighten this thread.


Cheers!


PS The command examples, the $ is to indicate it is a bash/shell command as a non-root user, do not include it in the command.

Oct 3, 2016 12:50 AM in response to WonderWoofy

hey there,


i am having the same problems. i also found my way to "gdisk" but i am having trouble with it, so i found your post.


When i print out the protective MBR Data, i get this:

Disk size is 1953525168 sectors (931.5 GiB)

MBR disk identifier: 0x00000000

MBR partitions:


Number Boot Start Sector End Sector Status Code

1 1 1953525167 primary 0xEE



So how do i get rid of it? Unfortunately i didn't figure it out so far.

I need to remove the MBR or protective MBR in order to install Windows via EFI Boot.


Please help! Ive been trying for ages!!

How can i remove a hybrid mbr from my system drive so that Efi booted windows will install.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.