Contribute
Register

Is it possible to disable an M.2 drive with OpenCore DeviceProperties or a DSDT patch?

To make a drive not show on your desktop place an appropriate entry for that drive into your /etc/fstab configuration file.

Here are examples of what some of the options are:

1. Using the specific drive's unique UUID number

# UUID=0B6EDFA4-7296-4475-83E2-19F49DB8AE16 Microsoft Basic Data Wim 10 x64 247.3 GB
UUID=0B6EDFA4-7296-4475-83E2-19F49DB8AE16 none auto rw,noauto

2. Using the specific drive's label

# UUID=45C1F96D-4EF3-4DB2-A669-F7BD28F70F13 Ventura 15.3 GB
LABEL=Ventura none auto rw,noauto

Only the lines starting with a bold entry ie. UUID or LABEL, are required, the respective lines above these are comment lines and serve for later orientation purposes only.

Opencore can of cause be configured for a drive not to show up in the picker but that drive will then still show
up on your desktop

Trusting this gets you a step further to where you want to be.

Greetings Henties.
 
I was looking for a general solution for disabling PCIe devices. An fstab entry will only hide it, but the operating system will still "see" the device.
 
Back
Top