MacOS – Accidentally deleted private/var/folders on macOS Big Sur

big surmacbook promacos

I’m using macOS Big Sur and accidentally deleted private/var/folders while trying to clean up my storage. Now I’m stuck at the Apple logo on the boot up page (the white bar won’t move). I’ve found some solutions from similar questions which did not work for me. I guess the old commands don't work in Big Sur.

Under single-user mode I tried:

/sbin/mount -uw /

It returned:

Volume could not be mounted:resource busy failed with75

I’ve also tried reinstalling macOS but it failed and automatically returned to recovery mode. Sadly I just deleted my back-up a few weeks ago so Time Machine won’t work.

Is there any other way to fix the problem?

Best Answer

You can reinstall “macOS” in the recovery partition, which will install all system-relevant files that are important for the system. This should solve your problem.