How to fix "Couldn't allocate runtime area" if there aren't enough available pages under slide=256?


I had a working hackintosh (latest High Sierra) on a Alienware m15 R1 laptop. It was working fine, but Today I got the dreaded "Couldn't allocate runtime area" error. The only thing I could imagine that affected the fragmentation of memory was a new Thunderbolt 10G SFP+ adapter from QNAP that I used in Windows. The problem is that while trying to fix it following instructions here, I found that I have no available contiguous pages below slide=256. I need 0x11bbd pages and the only space with enough pages is:

Type Start End # Pages Attributes Available 0000000100000000-00000010BDFFFFFF 0000000000FBE000 000000000000000F 

Looking at the map it seems that there was enough space but I got some BS_Data in between:

Type Start End # Pages Attributes Available 0000000000000000-000000000009EFFF 000000000000009F 000000000000000F Reserved 000000000009F000-000000000009FFFF 0000000000000001 000000000000000F Available 0000000000100000-0000000010F3CFFF 0000000000010E3D 000000000000000F BS_Data 0000000010F3D000-0000000010F7CFFF 0000000000000040 000000000000000F Available 0000000010F7D000-000000001F0BEFFF 000000000000E142 000000000000000F 

What should I do in this situation? I've read about disabling Above4GDecoding BIOS option, but I have an Alienware laptop and the BIOS is super basic, and doesn't have any option like that. I've tried the -free2000.efi driver but with the same result.

Is there anyway to specify a slide above 256? (in my case it would be 0x800). If not, what should I do to defragment the memory? Is that even possible? I'm using CLOVER as I was too lazy to move to OpenCore when it came out, should I give it a try? Is there anyway to install it without booting MacOS? I have triple boot to Windows and Linux and can modify the EFI partition without problems.

Thank you!

submitted by /u/kahuna0k
[link] [comments]