kasbert / OS-X-SAT-SMART-Driver

Max OS X kernel driver for providing access to external drive SMART data
574 stars 74 forks source link

Unable to remove SATSMARTDriver.kext #69

Closed redvwyahoocom closed 3 years ago

redvwyahoocom commented 3 years ago

I have used the Terminal Command "sudo rm -r /Library/Extensions/SATSMARTDriver.kext" to remove SATSMARTDriver.kext, but receive the following error: No such file or directory

Julien@juliens-imac ~ % sudo rm -r /Library/Extensions/SATSMARTDriver.kext rm: /Library/Extensions/SATSMARTDriver.kext: No such file or directory Julien@juliens-imac ~ %

Screen shot below:

Screen Shot 2021-04-09 at 3 22 36 PM Screen Shot 2021-04-09 at 3 21 16 PM

I have also tried to drag this item to the trash, but since the file is grayed out that does not work.

How do I remove the file SATSMARTDriver?

alvarnell commented 3 years ago

I can't tell from your Find screenshot exactly where your SATSMART extensions are located or what version of macOS you are running, but until recently they were installed to /System/Library/Extensions/ which are SIP protected by the latest versions of macOS.

But if they are actually in /System/Library/Extensions/ in a SIP enabled macOS, then you must either disable SIP temporarily or remove them from Recovery.

redvwyahoocom commented 3 years ago

Could you provide how to disable SIP?

It is located in the path you listed.

Julien Antkies @.***

On Apr 9, 2021, at 8:25 PM, Al Varnell @.***> wrote:

I can't tell from your Find screenshot exactly where your SATSMART extensions are located or what version of macOS you are running, but until recently they were installed to /System/Library/Extensions/ which are SIP protected by the latest versions of macOS.

But if they are actually in /System/Library/Extensions/ in a SIP enabled macOS, then you must either disable SIP temporarily or remove them from Recovery.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kasbert/OS-X-SAT-SMART-Driver/issues/69#issuecomment-817039456, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATTNNPHNTBR74645HEG6TSLTH6LHTANCNFSM42VRLKOA.

alvarnell commented 3 years ago

First, let me just say that both methods will require you to boot into Recovery, so deleting them from there is faster but somewhat more dangerous if you happen to mistype a Terminal command.

Since Apple no longer publishes how to disable SIP, I'm reluctant to do so here, but a browser search will reveal several sources of printed and video instructions.

redvwyahoocom commented 3 years ago

I found the command, thank you.

Would leaving the file in place cause any issues?

Julien Antkies @.***

On Apr 9, 2021, at 8:44 PM, Al Varnell @.***> wrote:

First, let me just say that both methods will require you to boot into Recovery, so deleting them from there is faster but somewhat more dangerous if you happen to mistype a Terminal command.

Since Apple no longer publishes how to disable SIP, I'm reluctant to do so here, but a browser search will reveal several sources of printed and video instructions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kasbert/OS-X-SAT-SMART-Driver/issues/69#issuecomment-817042864, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATTNNPAWEJQV64TOKDW7GJ3TH6NPBANCNFSM42VRLKOA.

alvarnell commented 3 years ago

I'm not aware of any issues that it might cause. I suspect it's like most chuff that gets left behind and simply takes up some small amount of disk space.

redvwyahoocom commented 3 years ago

Much appreciated.