aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2022-08-04 14:09:09 +0200
committerGitHub <noreply@github.com>2022-08-04 14:09:09 +0200
commit7d1280bbaf7f4cd142c2259dec620c42bf6f96fd (patch)
treeb75d9c255de611ff8d8059aeb76377a4d9df48b8 /doc/manual
parent6fa2e8cb6ff1e6947aad808e0db9e691858527ef (diff)
parent84a26882f86e68df3f2d0f66ff627e0dbd6365f5 (diff)
Merge pull request #6678 from abathur/update_darwin_uninstall
doc: update darwin uninstall instructions
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/src/installation/installing-binary.md18
1 files changed, 15 insertions, 3 deletions
diff --git a/doc/manual/src/installation/installing-binary.md b/doc/manual/src/installation/installing-binary.md
index 9fb9c80c3..ed0f65177 100644
--- a/doc/manual/src/installation/installing-binary.md
+++ b/doc/manual/src/installation/installing-binary.md
@@ -148,7 +148,8 @@ and `/etc/zshrc` which you may remove.
This will remove all the build users that no longer serve a purpose.
4. Edit fstab using `sudo vifs` to remove the line mounting the Nix Store
- volume on `/nix`, which looks like this,
+ volume on `/nix`, which looks like
+ `UUID=<uuid> /nix apfs rw,noauto,nobrowse,suid,owners` or
`LABEL=Nix\040Store /nix apfs rw,nobrowse`. This will prevent automatic
mounting of the Nix Store volume.
@@ -175,6 +176,18 @@ and `/etc/zshrc` which you may remove.
This will remove the Nix Store volume and everything that was added to the
store.
+ If the output indicates that the command couldn't remove the volume, you should
+ make sure you don't have an _unmounted_ Nix Store volume. Look for a
+ "Nix Store" volume in the output of the following command:
+
+ ```console
+ diskutil list
+ ```
+
+ If you _do_ see a "Nix Store" volume, delete it by re-running the diskutil
+ deleteVolume command, but replace `/nix` with the store volume's `diskXsY`
+ identifier.
+
> **Note**
>
> After you complete the steps here, you will still have an empty `/nix`
@@ -191,8 +204,7 @@ and `/etc/zshrc` which you may remove.
<!-- Note: anchors above to catch permalinks to old explanations -->
We believe we have ironed out how to cleanly support the read-only root
-on modern macOS. New installs will do this automatically, and you can
-also re-run a new installer to convert your existing setup.
+on modern macOS. New installs will do this automatically.
This section previously detailed the situation, options, and trade-offs,
but it now only outlines what the installer does. You don't need to know