Contribute
Register

[SUCCESS] Gigabyte Designare Z390 (Thunderbolt 3) + i7-9700K + AMD RX 580

Joined
Apr 25, 2011
Messages
69
Motherboard
Gigabyte Z390 Designare
CPU
i7-9700K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Finally I have Mojave installed WITH a FW PCIe card.
Sleep/wake/shutdown works with FixFirewire enabled in Clover.

I have a http://www.bare-bone.com/fwb-pcie1x21a/eindex.htm card.
Also know as Delock product https://www.delock.de/produkte/1114_FireWire/61643/merkmale.html
I got the A version with an FW400 port and 2 FW800 ports. The B version is with 3 FW800 ports.

When I put it in the PCIEX1_2 card I got an ACPI table error and won't boot further to Mojave.
When I put it in the PCIEX8 slot it WORKS like a charm.
 
Joined
Mar 21, 2011
Messages
820
Motherboard
GA-Z390-Aorus Pro
CPU
i7-9700K
Graphics
RX 590
Oops, I didn't see the typo either.
The command gives the answer Volume on disk0s1 failed to mount
If the volume is damaged, try the "readOnly" option
CloverConfigurator: nothing happens after the password request
EFI Mounter: AppleEvent manager failed, error -10000
EFI Agent: failed to mount, it tells me the same thing for all the EFI volumes present
a long shot, but....

if you have more than one SSD or HD in your system, the one you're trying to mount may not be disk0. if you have multiple drives, try disk1s1, or disk2s2, etc depending on how many drives you have.

I have an m.2 ssd, and a spinning HD. randomly, from boot to boot, my ssd may be assigned disk0 or it may be disk1. I always have to check by opening disk utility. if you can boot your system, open disk utility to see what disk number bios has assigned to the drive your EFI folder is on.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,703
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
*** Mini-Guide ***
Mojave Users: Configure Carbon Copy Cloner for One-Key Bootable Backup

Please do not quote this guide in its entirety. Post a link instead.

These instructions are for Mojave (10.14.x) users only. Catalina users should refer to the Mini-Guide below.

Update 8-Mar-2020:
We are now using a modified version of @byteminer's EFIClone from my GitHub repository. Instructions are provided in the spoiler below. Note that the script has TEST_SWITCH set to "Y". This puts the script in dry-run mode in which it will only log the files to be deleted and copied, but will not delete or copy any files.
  • Your first cloning operation should be run with TEST_SWITCH set to "Y". Then examine EFIClone.log as described at the bottom of the procedure to ensure that only files in the source and target EFI partitions are listed in the log.​
  • If files from any other disks or partitions are listed in the log, then STOP AND POST YOUR EFIClone.log file.​
  • However, if the log looks good, then edit the script, change TEST_SWITCH to "N" at the top of the file and save. The file can be found by selecting Utilities --> Reveal CCC's Scripts Folder from within Carbon Copy Cloner. Edit the file located in the Finder window that opens and save it with TEST_SWITCH changed to N.​
Screen Shot 2020-03-08 at 1.10.16 PM.png
Prerequisites: These steps are only performed once on a new SATA SSD.
  • Purchase or use a 2.5-inch SATA SSD that is large enough to hold everything in your Mojave OS disk. The backup disk only needs to be as large as the amount of space used on the source disk. If the source disk is 1TB, but only 100GB is used, then a 128GB backup SSD is sufficient.
  • Purchase or use a USB 3 external SSD enclosure. These can be purchased from Amazon for under US$10. Here's an example.
  • Install the SATA SSD into the USB 3 enclosure and connect the USB 3 cable to an available blue, yellow or red USB 3 port on the Hackintosh.
  • Run Disk Utility, select View --> Show All Devices, and click on the parent name of the external USB SSD. Double-check that all of these steps have been followed; ask for help if necessary.
  • Select Erase and make sure that a dialog appears with 3 options:
    1. Name: Select something like "Mojave Local Backup".
    2. Format: Select "APFS" (the first item in the pop-up menu).
    3. Scheme: Select "GUID Partition Map". This option is necessary so that an EFI partition gets created.
  • Click Erase at the bottom right of the dialog.
  • Check that Carbon Copy Cloner has Full Disk Access by selecting Grant Full Disk Access to CCC... as shown:
    full

Your SATA SSD will be divided into a primary APFS partition and a secondary EFI partition. When formatting is complete, only the APFS partition will be mounted.

Now we're ready to set up our one-key backup task in Carbon Copy Cloner. This task will copy everything from the APFS and EFI partitions to the external USB SATA SSD.

Step 1: Create Backup Task
  • Run Carbon Copy Cloner (CCC) and create a new backup task by selecting your Mojave SSD as the SOURCE disk and your external USB SATA SSD as the DESTINATION disk. Note that you must select the currently booted Mojave SSD as the Source disk.
  • Click on ADVANCED SETTINGS to expand that section, but don't make any changes there yet.
  • Give the task a name on the left side panel.
  • Compare your screen with the screenshot below. I've named my task Full Mojave Local Backup.
    full
Step 2: Attach EFIClone.sh script for automated backup of EFI partition
  • Download EFIClone.sh by clicking here and selecting the green button Code followed by Download ZIP as shown:
    Screen Shot 2020-12-02 at 9.15.22 AM.png
  • IMPORTANT NOTE: Because this file is downloaded from the web, it may automatically receive a "quarantine" flag in macOS. Simply run Terminal, "cd" to the folder containing the file, and type xattr -d com.apple.quarantine EFIClone.sh. Then quit Terminal and continue to next step.
  • Open Finder and navigate to the folder containing this file.
  • From Carbon Copy Cloner's Utilities menu, select Reveal CCC's Scripts Folder as shown.
    full
  • Drag and drop EFIClone.sh into the Scripts folder. Mojave will ask for authentication, so enter your password when requested. The Scripts folder should look like this:
    Screen Shot 2020-03-08 at 1.14.29 PM.png
  • Now we need to fix ownerships and permissions, which is done easily from the same Utilities menu. When this menu is now selected, notice that the last option has changed to Secure CCC's Scripts folder. Choose this item now.
    full
  • Great. We're nearly done. Now let's attach our script to the backup task by clicking the folder icon next to AFTER COPYING FILES --> Run a Shell Script and selecting EFIClone.sh.
    Screen Shot 2020-03-08 at 1.15.35 PM.png
  • Verify that your screen matches the items in the red box below.
    Screen Shot 2019-06-02 at 6.44.24 AM_resize.png
  • Save the task by pressing CMD-S or File --> Save.

Step 3: Test Run
  • Make sure that the external USB SATA SSD is mounted.
  • Click the Clone button at the bottom right of the CCC window.
  • From the Utilities menu, select Terminal to open a Terminal window.
  • In the Terminal window, type tail -f /EFIClone.log.
  • When the main APFS partition has been backed up, CCC will invoke the EFIClone script. At that time you will see detailed logs messages in the Terminal window.
  • Press CONTROL-C to stop the log display and quit Terminal.
  • When the CCC backup task is complete, press OK at the top right.
  • Use Clover Configurator or EFI Agent to mount the EFI partition of the external USB SATA SSD.
  • Open the CLOVER folder on that partition and check that everything has been copied.
  • Finally, reboot your machine and press F12 at the BIOS splash screen to select the USB SSD as the boot drive.
  • From the Clover Boot Menu, select "Boot macOS from Mojave Local Backup" (replace "Mojave Local Backup" with the actual name you gave to the USB SSD).
  • Make sure Mojave can boot up fully. Then reboot, disconnect the USB SSD, and boot from the internal Mojave SSD.

Keep your bootable USB SSD up to date by running CCC periodically. Simply boot from the normal internal disk, mount the USB SSD, and run the CCC backup task. It will mount both the source and destination EFI partitions automatically and then dismount both EFI partitions after the clone is complete.

If your clone or backup disk is internally mounted (always present in the system), it may be a good idea to disable Spotlight search on that drive because it's just a duplicate. This can be done from System Preferences --> Spotlight as follows:
Screen Shot 2019-10-19 at 2.53.06 PM.png
 
Last edited:

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,703
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
*** Mini-Guide ***
Catalina/Big Sur: Configure Carbon Copy Cloner for One-Key Bootable Backup

Please do not quote this guide in its entirety. Post a link instead.

These instructions are for Catalina (10.15.x) and Big Sur (11.x) users
Mojave users should refer to the Mini-Guide above


macOS 11 Big Sur Users: Please see this additional information


WARNING: If you are running a non-English installation of Catalina, this procedure requires Catalina 10.15 with Supplemental Updates (Build 19A602) or newer. If you're running an English installation, any version of Catalina is okay.

Update 8-Mar-2020:
We are now using a modified version of @byteminer's EFIClone from my GitHub repository. Instructions are provided in the spoiler below. Note that the script has TEST_SWITCH set to "Y". This puts the script in dry-run mode in which it will only log the files to be deleted and copied, but will not delete or copy any files.
  • Your first cloning operation should be run with TEST_SWITCH set to "Y". Then examine EFIClone.log as described at the bottom of the procedure to ensure that only files in the source and target EFI partitions are listed in the log.​
  • If files from any other disks or partitions are listed in the log, then STOP AND POST YOUR EFIClone.log file.​
  • However, if the log looks good, then edit the script, change TEST_SWITCH to "N" at the top of the file and save. The file can be found by selecting Utilities --> Reveal CCC's Scripts Folder from within Carbon Copy Cloner. Edit the file located in the Finder window that opens and save it with TEST_SWITCH changed to N.​
Screen Shot 2020-03-08 at 1.10.16 PM.png
Prerequisites: These steps are only performed once on a new SATA SSD.
  • Purchase or use a 2.5-inch SATA SSD that is large enough to hold everything in your Catalina OS disk. The backup disk only needs to be as large as the amount of space used on the source disk. If the source disk is 1TB, but only 100GB is used, then a 128GB backup SSD is sufficient.
  • Purchase or use a USB 3 external SSD enclosure. These can be purchased from Amazon for under US$10. Here's an example.
  • Install the SATA SSD into the USB 3 enclosure and connect the USB 3 cable to an available blue, yellow or red USB 3 port on the Hackintosh.
  • Run Disk Utility, select View --> Show All Devices, and click on the parent name of the external USB SSD. Double-check that all of these steps have been followed; ask for help if necessary.
  • Select Erase and make sure that a dialog appears with 3 options:
    1. Name: Select something like "Catalina Local Backup".
    2. Format: Select "APFS" (the first item in the pop-up menu).
    3. Scheme: Select "GUID Partition Map". This option is necessary so that an EFI partition gets created.
  • Click Erase at the bottom right of the dialog.
  • Check that Carbon Copy Cloner has Full Disk Access by selecting Grant Full Disk Access to CCC... as shown:
    full

Your SATA SSD will be divided into a primary APFS partition and a secondary EFI partition. When formatting is complete, only the APFS partition will be mounted.

Now we're ready to set up our one-key backup task in Carbon Copy Cloner. This task will copy everything from the APFS and EFI partitions to the external USB SATA SSD.

Step 1: Create Backup Task
  • Run Carbon Copy Cloner (CCC) and create a new backup task by selecting your Catalina SSD as the SOURCE disk and your external USB SATA SSD as the DESTINATION disk. Note that you must select the currently booted Catalina SSD as the Source disk.
  • Now look at the lower left side of Carbon Copy Cloner (see screenshot below). Your SOURCE disk will contain 2 volume names. In this example (see Step 2 in screenshot) our SOURCE disk has the names Catalina - Data and Catalina. Note that the base name is the same for both -- the base name is just Catalina.
  • Now look at Step 4 in the screenshot below.
    • The DESTINATION disk will have only 1 volume name immediately after the disk has been formatted with Disk Utility. In other words, if the DESTINATION disk is empty, then it will have only 1 volume name. So you can skip Step 4 in the screenshot below.
    • But if a clone has previously been made to the DESTINATION disk, then it will have 2 volume names. So check that the base volume name is the same. In this case, the base volume name is Catalina Local Backup.
  • Follow Steps 1, 2, 3 in the image below, but do not perform Step 5 yet. Skip Step 4 if the DESTINATION disk has just been formatted (i.e. if the DESTINATION disk is empty).
    Screen Shot 2020-01-15 at 5.43.19 PM_resize.png
  • WARNING: If the 2 base names of the SOURCE are not the same or the 2 base names of DESTINATION are not the same, you must use Disk Utility to rename the incorrect volume(s).
    • Use Disk Utility to fix any volume name mismatches. See screenshots below in which my former "Mojave" drive has a mismatched pair of volume names. This mismatch must be corrected as shown in subsequent images.
      full

      full

      full
  • Now let's get back to Carbon Copy Cloner setup. Here's that screenshot once again:
    Screen Shot 2020-01-15 at 5.43.19 PM_resize.png

  • Click on ADVANCED SETTINGS to expand that section, but don't make any changes there yet. In the diagram above, don't perform Step 5 until later.
  • Give the task a name on the left side panel.
  • Compare your screen with the screenshot above. I've named my task Full Catalina Local Backup.
Step 2: Attach EFIClone.sh script for automated backup of EFI partition
  • Download EFIClone.sh by clicking here and selecting the green button Code followed by Download ZIP as shown:
    Screen Shot 2020-12-02 at 9.15.22 AM.png
  • IMPORTANT NOTE: Because this file is downloaded from the web, it may automatically receive a "quarantine" flag in macOS. Simply run Terminal, "cd" to the folder containing the file, and type xattr -d com.apple.quarantine EFIClone.sh. Then quit Terminal and continue to next step.
  • Open Finder and navigate to the folder containing this file.
  • From Carbon Copy Cloner's Utilities menu, select Reveal CCC's Scripts Folder as shown.
    full
  • Drag and drop EFIClone.sh into the Scripts folder. Catalina will ask for authentication, so enter your password when requested. The Scripts folder should look like this:
    Screen Shot 2020-03-08 at 1.14.29 PM.png
  • Now we need to fix ownerships and permissions, which is done easily from the same Utilities menu. When this menu is now selected, notice that the last option has changed to Secure CCC's Scripts folder. Choose this item now.
    full
  • Great. We're nearly done. Now let's attach our script to the backup task by clicking the folder icon next to AFTER COPYING FILES --> Run a Shell Script and selecting EFIClone.sh.
    Screen Shot 2020-03-08 at 1.15.35 PM.png
  • Verify that your screen matches the items in the red box below.
    Screen Shot 2020-01-15 at 5.57.05 PM_resize.png
  • Save the task by pressing CMD-S or File --> Save.

Step 3: Test Run
  • Make sure that the external USB SATA SSD is mounted.
  • Click the Clone button at the bottom right of the CCC window.
  • From the Utilities menu, select Terminal to open a Terminal window.
  • In the Terminal window, type:
    Code:
    cd /System/Volumes/Data/Users/Shared
    tail -f EFIClone.log
  • When the main APFS partition has been backed up, CCC will invoke the EFIClone script. At that time you will see detailed logs messages in the Terminal window.
  • Press CONTROL-C to stop the log display and quit Terminal.
  • When the CCC backup task is complete, press OK at the top right.
  • Use Clover Configurator or EFI Agent to mount the EFI partition of the external USB SATA SSD.
  • Open the CLOVER folder on that partition and check that everything has been copied.
  • Finally, reboot your machine and press F12 at the BIOS splash screen to select the USB SSD as the boot drive.
  • From the Clover Boot Menu, select "Boot macOS from Catalina Local Backup" (replace "Catalina Local Backup" with the actual name you gave to the USB SSD).
  • Make sure Catalina can boot up fully. Then reboot, disconnect the USB SSD, and boot from the internal Catalina SSD.

Keep your bootable USB SSD up to date by running CCC periodically. Simply boot from the normal internal disk, mount the USB SSD, and run the CCC backup task. It will mount both the source and destination EFI partitions automatically and then dismount both EFI partitions after the clone is complete.

If your clone or backup disk is internally mounted (always present in the system), it may be a good idea to disable Spotlight search on that drive because it's just a duplicate. This can be done from System Preferences --> Spotlight as follows:
Screen Shot 2019-10-19 at 4.49.39 PM.png
 
Last edited:
Joined
Aug 1, 2019
Messages
113
Motherboard
Gigabyte Z390 Designare
CPU
i9-9900K
Graphics
Radeon VII
It all depends on what you get from Clover -> UEFI Shell -> memmap -b.

In my case this is enough. In other cases it won't be. If I were to add another PCI card this may completely fail for me.

I used slide=0 and that's something I've needed in any case. We have the same board and CPU but you have a different GPU.

You could screenshot memmap -b from the UEFI shell and post it here, though you may just be stuck with free2000.

I had a screen shot of my memmap on this post.
 
Joined
Aug 1, 2019
Messages
113
Motherboard
Gigabyte Z390 Designare
CPU
i9-9900K
Graphics
Radeon VII
Over the weekend I experimented with AptioMemoryFix and various slide values (including no slide parameter at all). What I found was baffling and inscrutable. I took a lot of notes which I can summarize later, but the key observations were as follows:

Setting up the Experiment:
  • My configuration:
    • SMBIOS Macmini8,1
    • IGFX enabled and Platform ID 0x3E980003 (headless).
    • Fenvi FV-T919 in bottom PCIe x1 slot.
    • RX 580 GPU in Slot 1.
  • I created 20 different config.plist files, named config-1.plist through config-20.plist.
    • config-1.plist specified slide=1
    • config-2.plist specified slide=2
    • ...
    • config-20.plist specified slide=20
  • At the Clover Boot Menu we can select the Options option (ha!) and pick from any of the .plist files in the CLOVERfolder.
    • This is very handy because we can quickly cycle between all 20 values of slide without having to go through the whole tedium of booting into macOS, mounting EFI, modifying config.plist, etc.
  • I also tried a random set of much larger values of slide, such as slide=167.
  • I ran memmap several times (with several reboots) to make sure that the map was the same or very nearly the same each time.
  • And sure enough, the memory map was the same after each reboot.
Expectations:
  • Based on the information we have seen from vit9696 and others regarding calculation of slide values, I fully expected each slide value to generate a consistent, repeatable memory address.
  • For example, if I use slide=1, I expected macOS kernel to allocate a block of memory at the same memory address on each and every reboot (as long as memmap was the same, which it was).
  • So I selected config-1.plist and I immediately received a Couldn't allocate runtime area error, along with a memory address and size.
  • So I made a note of the memory address and rebooted/repeated the same experiment with the same slide value.
  • Surprisingly, the memory address changed...
  • Each time I repeated the experiment, I got a different memory address.
  • So I switched to slide=2, then slide=3, then slide=4, and so on. And I repeated the experiment multiple times with each slide value.
Overall Observations:
  • As we increase slide from 1 to 20 and then to 167 we expect the base memory address to increase.
  • But I did not observe any such behavior.
  • When I used slide=167 I found that macOS was attempting to allocate memory in the same region as slide=5 or slide=7.
  • When I used slide=15 I found that macOS was attempting to allocate memory in the same region as slide=1 or slide=167 or slide=12.
  • In other words, the value of slide did not seem to make any difference.
  • After spending a couple of hours on this, I was exhausted and happily went back to OsxAptioFix2Drv-free2000.
If you have also experimented with Slide values, did you observe the same behavior? If not, what did you observe?

Dang! Nice job on being thorough! I'll have to set aside some time to do some testing with multiple configs. Since I've only recently gotten into looking at the memmap, I'm keen to read the help in the shell and see if I can pipe the output to a thumb drive. For reference, this is my setup.

  • My configuration:
    • SMBIOS Macmini19,1
    • IGFX disabled yet Platform ID 0x3E980003 (headless) set in Devices -> Properties.
    • Fenvi FV-T919 in bottom PCIe x1 slot. Not running BT/Wifi
    • Radeon VII GPU in Slot 2 (space issues). With BIOS set as primary output.
 
Joined
Dec 31, 2013
Messages
802
Motherboard
Huawei Matebook D
CPU
i5-8250U
Graphics
UHD 620
Mobile Phone
  1. iOS
@zzmadd No, it doesn't work since it's a CNVI-Slot that can only accommodate specific Intel-modules. I recommend Fenvi FV-T919.
I ordered in China a plethora of WiFi cards, I just on hand native M.2 (KEY E) modules with adapters to fit into the slot. I'll have to wait for the parcels from China.

Thanks.
 
Joined
Jun 13, 2019
Messages
271
Motherboard
ASUS ProArt Z690-CREATOR WIFI
CPU
i9-12900K
Graphics
RX 6900 XT
I had a screen shot of my memmap on this post.

Is that with iGPU enabled in BIOS or disabled in BIOS? Because you have more pages available in that second Available region than I do with iGPU disabled in BIOS.

For me, having far less pages 0x50F7 (20727) available than you was enough to boot with AptioMemoryFix+slide=0+iGPU Enabled (with DVMT Preallocated=32MB) and no conflicting memory fix drivers. I need to run like that longer to see how it handles, but it was the first time I booted with iGPU and no free2000 driver.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,703
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
@CaseySJ, I was wondering about building a fresh install on my system, using the Upgrade Catalina as a basis.
It's all the file structure I am concerned about though. What are your thoughts?
Hello @MACAK,

I'm not sure I understand the question...
  • You can always install Mojave from scratch on a new disk or an existing disk, login to the Mac App Store, then perform an in-place upgrade to Catalina.
  • My experience with in-place upgrade is posted here.
 
Top