5T33Z0 / OC-Little-Translated

ACPI Hotpatches and Guides for the OpenCore Bootmanager. Enhance and fine-tune your Hackintosh by adding devices and enabling additional features not covered in the OpenCore Install Guide. Only place that covers how to use OpenCore Legacy Patcher on PCs.
BSD 3-Clause "New" or "Revised" License
524 stars 71 forks source link

How to disable an M2 NVMe drive from appearing in macOS? #45

Closed danieldeicide closed 2 years ago

danieldeicide commented 2 years ago

Hello!

Is there a possibility to disable a specific M.2 slot? I am assuming I should be using a custom SSDT (but don't know how)

5T33Z0 commented 2 years ago

See chapters 1 and 2.

You need to find the PCI path of the device in th DSDT. If it contains the method _STA you can disable it pretty easy via SSDT.

I suggest asking for help on a Hackintosh forum or on reddit.