Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

aikawa24

macrumors newbie
Original poster
Sep 18, 2023
4
1
Hi,
ive an 2014 MacBook Pro with 16Gig soldered Ram which has a faulty area between 1844MB and 1848MB

with nvram boot-args="maxmem=1844" ive managed to install Bigsur and no Problems occur but ive only 1,8GB Ram from 16GB left

on Ubuntu I can set GRUB_BADRAM="0x000000007384800,0xfffffffffffffc83" and I get my 16GB Ram without the 4MB faulty Area

is there anybody out there who knows the equivalent of the Grub Badram for MacOS?

there is an EfiUnusableMemory command but I don't know where to use it.
 
  • Like
Reactions: Basic75
macOS has no badmem equivalent. There may be a way though, using this utility. It may work since it is made to run on FreeBSD, macOS is based on BSD.

You will have to compile it though and enable kmem in the bootargs to expose /dev/mem. Let me know if you want me to compile it for you.
 
  • Like
Reactions: f54da
Woah I didn't know osx actually supported /dev/mem and /dev/kmem without kernel extensions. Very neat.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.