当前版本的文档还未经巡查,您可以查看最新的已查核版本。
你所需要的
-
这个步骤还没有翻译 帮忙翻译一下
-
Shut down your Mac
-
Press and hold the Command + S keys while pressing the power button to turn on your Mac.
-
It is best to start holding the keys before the screen turns on or you hear the startup chime. If you see the Apple logo, then you need to shut down and to do this step over. Except on a Mac with a T2 chip, the Apple logo will always appear the second the computer turns on.
-
You should see a black screen with white text.
-
-
这个步骤还没有翻译 帮忙翻译一下
-
When the text stops, you should see a line that says "localhost:/ root#" at the bottom. If you don't see "localhost:/ root#", press enter.
-
Type in "mount -uw"
-
Some more text will appear on the screen. when you see the "localhost:/ root#"at the bottom, continue to the next step
-
-
-
这个步骤还没有翻译 帮忙翻译一下
-
If you get a message that says "override r------- root/wheel for /var/db/.AppleSetupDone?", type in "y" and press enter/return.
-
You may get an error that says, "rm: /var/db/.AppleSetupDone: read-only file system.
-
If you don't see a message that says "override r------- root/wheel for /var/db/.AppleSetupDone?", then continue to the next step.
-
18等其他人完成本指南。
5条评论
What are the steps to overcome the error?
“You may get an error that says, rm: /var/db/.AppleSetupDone: read-only file system.”
This error can be caused because FileVault is enabled or that there was some random error. Try running the same commands in Terminal in the macOS recovery partition and see if that works. This error may also occur on a Mac with a T2 chip. If FileVault is enabled, you will have to erase the hard drive/SSD and reinstall macOS if you forgot your password.
Elijah -
i get no such file or directory why ???
: /var/db/.AppleSetupDone: read-only file system.",
you have to allow write access to the filesystem,
but only after checking for errors.
On my old MacBookPro, it's written in the system messages:
/sbin/fsck -fy
/sbin/mount -uw /
rm /var/db/.AppleSetupDone
Afterwards, it worked as described