You asked where the boot code is.For the uninitiated, ie me, why would I do this, please? I am trying to learn as i go on this one...
On an (U)EFI-based system, there's an EFI system partition formatted as FAT32 which, in the case of e.g. Linux or Windows, contains the boot loader as an EFI binary. In the case of macOS booting from HFS+, it's a bit different as the boot loader isn't contained on the EFI system partition but on the macOS partition itself, as
/System/Library/CoreServices/boot.efi
.Using Disk Utility to format a disk using the GUID partition scheme automatically creates an EFI system partition.Both disks appear to have an EFI partition already, is this what you would expect?
Then your EFI system partition isIn this image the disk that is the boot disk is Disk1 but since i took this i have switched the physical drives around so now the boot drive is Disk0
/dev/disk0s1
.
Last edited: