core.efi and core.img are part of grub, they are bootloaders.

In this case they are for the x86_64 architecture, if the architecture changes the files also change.

files are characteristic of architecture.

They are made for the architecture, you cannot use the same core.img or core.efi for another architecture

commands to know the architecture:

sw_vers

you will get an output like this:

ProductName: macOS
ProductVersion: 13.7.2
BuildVersion: 22H313
  • exclusive for macos.
  • get the macOS version

You can get the system architecture using the following command:

uname -m

you will get an output like this:

x86_64

for macos and linux

You can get the system architecture using the following command:

uname -m

for macos and linux

can be x86_64 (for 64-bit systems) or i386 (for 32-bit systems).

another command:

 uname -a

download grub2:

https://sourceforge.net/projects/supergrub2

more links:

https://www.supergrubdisk.org/category/download/supergrub2diskdownload/super-grub2-disk-stable

The Super Grub2 Disk tool is a SourceForge project that offers a way to repair and restore the boot of operating systems. The download includes two ISO images, which can be used to create a boot disk or a bootable USB.

The core.img file is the core of GRUB, which is loaded into memory and is responsible for loading the rest of the GRUB code.

The core.img file is a key component of GRUB (GNU GRand Unified Bootloader), which is the boot loader used by many Linux operating systems.

The core.img file included in the Super Grub2 Disk download supports x86_64 architectures. The Super Grub2 Disk project ensures that the core.img file is compatible with most common architectures, including x86_64.

The supergrub2-2.06s4-multiarch-USB.img image is a SuperGrub2 image, which is a boot loader that can be used to boot operating systems from a variety of sources, including hard drives, USB devices, and CDs/DVDs.

When you mount the supergrub2-2.06s4-multiarch-USB.img image, you can see that it contains a /boot/grub/i386-pc/ directory with a core.img file inside. This core.img file is the core of GRUB, which is the boot loader used to boot the operating system.

the core.img file in the supergrub2-2.06s4-multiarch-USB.img image could be used as a bootloader for a bootable ISO.

Super GRUB2 supports the following architectures:

  • i386 (32 bit)
  • x86_64 (64-bit)