From 0e490e5ae94a99933ec54ef72debaa7b1af96b07 Mon Sep 17 00:00:00 2001 From: neon ball <35791009+ParaDoX1994@users.noreply.github.com> Date: Fri, 8 Mar 2024 20:18:59 +0200 Subject: [PATCH] Switch kext removal command Command cleans /Library/Extensions with a one shot instead of having to do it one by one per kext. --- docs/TROUBLESHOOTING.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index 7b7c7ebc0..c62a23633 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -66,13 +66,13 @@ Then revert the snapshot ```sh bless --mount "/Volumes/Macintosh HD" --bootefi --last-sealed-snapshot ``` -After that, type the following -```sh -cd "/Volumes/Macintosh HD/Library/Extensions" && ls -``` -You should now see bunch of .kexts. If you only see .kexts starting with "HighPoint" and "SoftRAID", you can ignore this and just restart the system. If other kexts are found, continue. +Now we're going to clean the /Library/Extensions folder from offending kexts while keeping needed ones. -Delete everything **except** for the ones that start with HighPoint and SoftRAID, by using `rm -rf "kextname"` +Run the following and **make sure to type it carefully** + +```sh +cd "/Volumes/Macintosh HD/Library/Extensions" && ls | grep -v "HighPoint*\|SoftRAID*" | xargs rm -rf +``` Then restart and now your system should be restored to the unpatched snapshot and should be able to boot again.