The original

Refer to the first situation at the end of the Black Apple Installation instructions, you have successfully booted Mac+Win

Next, we will install Linux. Here, we will install Ubuntu20, which is GUI friendly

Start with some Linux basics

Common partitions and functions of Linux

  1. /——- Root directory, the only directory that must be mounted
  2. Swap —- Swap partition, as long as the capacity is approximately equal to your physical memory
  3. /home– This is the home directory where you usually create your own files
  4. /usr—- application directory. Most of the software is installed here
  5. /var—- If you want to do some server work, consider allocating a larger partition
  6. /boot– If the hard disk does not support LBA mode (unlikely), it is better to mount it. If it is mounted, it is safer to mount it on the first partition of the hard disk. In general, a mounted partition of only 100M is sufficient

Most of the time we only need two partitions: / and swap partition. Ubuntu20 can be properly installed with only the system partition ^[/ root partition] and swap partition reserved

Here, the author uses 16GB Swap partition ^[format as Linux-swap using the Gparted tool] and 128GB system partition /^[format as ext4 using the Gparted tool]

Burn the installation disk

The installation process

Try Linux first, do not install directly, configure the download source as Ali Cloud in the software update
Use the Gparted tool to initialize system partitions/And Swap partition Swap
After language selection is complete, select minimum install
Select other installation types and continue to manually select root and swap partitions

Install the Boot loader that selects the EFI partition as the hard disk Windows Boot Manager
Set the user name and password for the installation
After the installation and restart, Linux preempts the first boot option
You can now use the USB flash drive Opencore to access the MAC system

Add Linux boot to MAC system

See Opencore Multiboot Linux to add Linux boot

Make sure you have openshell.efi in your EFI OC

Please do not copy homework from others’ EFI and add it to your own EFI

Restart to see your OpEncore boot screen with an Openshell tool, select the tool and press Enter

FSO: command to check if there is an EFI partition

If not, keep looking until you find an Ubuntu boot file, and remember that FSx^[x is partition number] partition

Ls EFI Check whether the Ubuntu boot file exists in the EFI

Map > map-table-windows.text Run the map command to export the text information before exiting

Mount partitions using EFI Mounter
Access the EFI partition and view the map-table-windows. TXT file that was exported before

The absolute path to copy the Ubuntu boot file from the partition

Then open Up OpEncore Configurator

Click Misc- Other Settings

Click on Entries- Custom Entries

Click + in the lower right corner

Tab copies the absolute path, a space, /\EFI\ Ubuntu \grubx64.efi

Name Ubuntu Linux

Check the enable

Save as Linux_Entry to the desktop

Open proper Tree and modify the opencore configuration file

Open config.plist in OC under EFI

Locate the Entries and open the linux_Entry saved on the desktop to search for Entries

Copy the O entry below the Entries to the Entries in config.plist, save and restart opencore. Linux boots and you can successfully enter the system

Modifying the Configuration End

Subsequent updates