Contribute
Register

Bootloader Installation with Legacy MBR and GPT Partition Table on Hackintosh

Status
Not open for further replies.
Joined
Apr 11, 2012
Messages
14
Motherboard
HP ProBook 4540s (H5L34EA)
CPU
i5-3230M
Graphics
HD4000
Mac
Classic Mac
  1. Classic
Mobile Phone
  1. Android
Dears,
Yesterday I have installed on my laptop Manjaro but the installation of boot loader failed.
After the first reboot, start the PXE boot cause the boot loader isn't installed correctly.

On my laptop I have 3 OS: Linux, Windows and OSX; with a legacy MBR / GPT partition table.

Here the disk partitions:
Bash:
[4540s ~]# fdisk -l
Disk /dev/sda: 465,78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Hitachi HTS54505
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 86DAC89C-584F-4DC2-B723-E69600624999

Dispositivo     Start      Fine   Settori   Size Tipo
/dev/sda1          40    409639    409600   200M EFI System
/dev/sda2      409640 293378383 292968744 139,7G Apple HFS/HFS+
/dev/sda3   586610688 848328703 261718016 124,8G Linux filesystem
/dev/sda5   293640528 586609271 292968744 139,7G Microsoft basic data
/dev/sda7   880102304 976510983  96408680    46G Apple HFS/HFS+

Here the partition table GPT:
Bash:
[4540s ~]# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.4

Partition table scan:
  MBR: hybrid
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with hybrid MBR; using GPT.
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Model: Hitachi HTS54505
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 86DAC89C-584F-4DC2-B723-E69600624999
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 8-sector boundaries
Total free space is 32299317 sectors (15.4 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              40          409639   200.0 MiB   EF00  EFI System
   2          409640       293378383   139.7 GiB   AF00  Apple HFS/HFS+
   3       586610688       848328703   124.8 GiB   8300 
   5       293640528       586609271   139.7 GiB   0700  Microsoft basic data
   7       880102304       976510983   46.0 GiB    AF00  Apple HFS/HFS+

Here the MBR data:
Code:
Disk size is 976773168 sectors (465.8 GiB)
MBR disk identifier: 0x00000000
MBR partitions:

Number  Boot  Start Sector   End Sector   Status      Code
   1                     1    586610687   primary     0xEE
   2      *      586610688    848328703   primary     0x83

To load Manjaro I have modified the MBR with gdisk, making the MBR hybrid with the boot on partition 3, now the error on startup is changed and I see the grub rescue.

With grub rescue I have load manually the grub configuration.
There is a way to install a boot loader with legacy GPT (I have tried to install grub with grub-install but without success)? Or I have to use Chamaleon / Clover?

I have tried also to install Chamaleon with HP Probook Installer but it doesn't work. Any suggestion is really appreciated.

Thanks in advance for your support.
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
29,033
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Dears,
Yesterday I have installed on my laptop Manjaro but the installation of boot loader failed.
After the first reboot, start the PXE boot cause the boot loader isn't installed correctly.

On my laptop I have 3 OS: Linux, Windows and OSX; with a legacy MBR / GPT partition table.

Here the disk partitions:
Bash:
[4540s ~]# fdisk -l
Disk /dev/sda: 465,78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Hitachi HTS54505
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 86DAC89C-584F-4DC2-B723-E69600624999

Dispositivo     Start      Fine   Settori   Size Tipo
/dev/sda1          40    409639    409600   200M EFI System
/dev/sda2      409640 293378383 292968744 139,7G Apple HFS/HFS+
/dev/sda3   586610688 848328703 261718016 124,8G Linux filesystem
/dev/sda5   293640528 586609271 292968744 139,7G Microsoft basic data
/dev/sda7   880102304 976510983  96408680    46G Apple HFS/HFS+

Here the partition table GPT:
Bash:
[4540s ~]# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.4

Partition table scan:
  MBR: hybrid
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with hybrid MBR; using GPT.
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Model: Hitachi HTS54505
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 86DAC89C-584F-4DC2-B723-E69600624999
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 8-sector boundaries
Total free space is 32299317 sectors (15.4 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              40          409639   200.0 MiB   EF00  EFI System
   2          409640       293378383   139.7 GiB   AF00  Apple HFS/HFS+
   3       586610688       848328703   124.8 GiB   8300
   5       293640528       586609271   139.7 GiB   0700  Microsoft basic data
   7       880102304       976510983   46.0 GiB    AF00  Apple HFS/HFS+

Here the MBR data:
Code:
Disk size is 976773168 sectors (465.8 GiB)
MBR disk identifier: 0x00000000
MBR partitions:

Number  Boot  Start Sector   End Sector   Status      Code
   1                     1    586610687   primary     0xEE
   2      *      586610688    848328703   primary     0x83

To load Manjaro I have modified the MBR with gdisk, making the MBR hybrid with the boot on partition 3, now the error on startup is changed and I see the grub rescue.

With grub rescue I have load manually the grub configuration.
There is a way to install a boot loader with legacy GPT (I have tried to install grub with grub-install but without success)? Or I have to use Chamaleon / Clover?

I have tried also to install Chamaleon with HP Probook Installer but it doesn't work. Any suggestion is really appreciated.

Thanks in advance for your support.
 
Joined
Apr 11, 2012
Messages
14
Motherboard
HP ProBook 4540s (H5L34EA)
CPU
i5-3230M
Graphics
HD4000
Mac
Classic Mac
  1. Classic
Mobile Phone
  1. Android

Thanks for the reply!

But with this guide you assume that my laptop is configured with UEFI, but it isn't.
I have a hybrid partition table, if I modify from legacy to UEFI OSX will not work any more and I have to re-install the whole OS.

To configure my laptop I have used this guide:
https://www.tonymacx86.com/threads/guide-to-installing-mavericks-on-hp-probook.112380/

Here an extract:
Also for 4x40s series, be sure legacy boot is enabled. There are 2 places to look for Legacy: Enable legacy boot in "Device Configurations" AND in "Boot Options" set "Legacy" or "UEFI Hybrid (With CSM)".

There is a way to write on MBR the Chamaleon boot loader?

Thanks for your support!
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
29,033
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Thanks for the reply!

But with this guide you assume that my laptop is configured with UEFI, but it isn't.
I have a hybrid partition table, if I modify from legacy to UEFI OSX will not work any more and I have to re-install the whole OS.

To configure my laptop I have used this guide:
https://www.tonymacx86.com/threads/guide-to-installing-mavericks-on-hp-probook.112380/

Here an extract:


There is a way to write on MBR the Chamaleon boot loader?

Thanks for your support!
not sure, i don't have your laptop, i only know of a guide for your laptop
 
Joined
Apr 11, 2012
Messages
14
Motherboard
HP ProBook 4540s (H5L34EA)
CPU
i5-3230M
Graphics
HD4000
Mac
Classic Mac
  1. Classic
Mobile Phone
  1. Android
not sure, i don't have your laptop, i only know of a guide for your laptop

Maybe with Multibeast Mavericks I can install only the boot loader in legacy mode.
But from the page of Multibeast isn't possible to download it anymore.. Do you have a valid?

Thanks!
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
29,033
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Maybe with Multibeast Mavericks I can install only the boot loader in legacy mode.
But from the page of Multibeast isn't possible to download it anymore.. Do you have a valid?

Thanks!
multibeast is mainly for desktops

you can try clover legacy from the downloads section:
 
Status
Not open for further replies.
Top