Jump to content
1 post in this topic

Recommended Posts

Hi!

 

Was succesfully running 10.11.6 on my laptop and decided to convert MBR to Hybrid MBR to be able to install MacOS Sierra w/o patching the installer.

My SSD has 4 partitons: Win7 (NTFS), Docs (NTFS), El Capitan (HFS+), Recovery HD (HFS+).

So I've booted gparted live, made ~201 MB free space before any partitions -> gdisk -> r -> h -> w -> Done - I have Hybrid MBR and all my data. Of course, Win7 had refused to boot as I expected (error 0xc000000e), so I've used Win 7 installation media to boot the system recovery, but unfortuantely it was't able to fix the boot issue: now there is no error 0xc000000e, but at boot it shows Win sign and nothing happens.

Ok, win fails let's try to boot my El Cap with USB stick (usually I boot it like this), it boots, everything is fine - really love macOS for this: clone it from USB stick installation with GPT, restore to MBR and it just works!

In macOS I see data on my NTFS partitions. Not bad, going to Terminal to fix partition type for Recovery HD (as it's not the Apple_Boot) with "sudo asr adjust --target /dev/disk0s7 --settype Apple_Boot" and then I realize that it changed my Hybrid MBR to GPT - wow, that's bad as Win7 recovery media is not able to help anymore.

 

 

How to revert everything back: to MBR?

I'm planning to use gdisk -> r -> g -> w - is it a good idea?

 

 

Some output:

diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *120.0 GB   disk0
   1:       Microsoft Basic Data                         43.0 GB    disk0s1
   2:       Microsoft Basic Data                         45.5 GB    disk0s5
   3:                  Apple_HFS macOS 10.11.6           30.6 GB    disk0s6
   4:                 Apple_Boot Recovery HD             650.0 MB   disk0s7

 

sudo fdisk /dev/disk0
Disk: /dev/disk0    geometry: 14593/255/63 [234441648 sectors]
Signature: 0xAA55
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: EE 1023 254  63 - 1023 254  63 [         1 -  234441647] <Unknown ID>
 2: 00    0   0   0 -    0   0   0 [         0 -          0] unused
 3: 00    0   0   0 -    0   0   0 [         0 -          0] unused
 4: 00    0   0   0 -    0   0   0 [         0 -          0] unused

 

sudo gpt -r show /dev/disk0
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34     413662
     413696   83992576      1  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
   84406272      15366
   84421638   88912890      2  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
  173334528       6144
  173340672   59824128      3  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  233164800       2048
  233166848    1269536      4  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
  234436384       5231
  234441615         32         Sec GPT table
  234441647          1         Sec GPT header

×
×
  • Create New...