From fe76b9f4b461c6a25f49a80a2476b7d60537c455 Mon Sep 17 00:00:00 2001 From: "Travis A. Everett" Date: Thu, 16 Jun 2022 09:37:52 -0500 Subject: [PATCH] doc: fix some darwin uninstall gaps --- doc/manual/src/installation/installing-binary.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/manual/src/installation/installing-binary.md b/doc/manual/src/installation/installing-binary.md index 9fb9c80c3..762402948 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= /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,16 @@ and `/etc/zshrc` which you may remove. This will remove the Nix Store volume and everything that was added to the store. + If this command indicates that it couldn't remove the volume, your Nix Store + volume may not be mounted. Run the following to double-check: + + ```console + diskutil list + ``` + + If you see a Nix Store volume, re-run the diskutil deleteVolume command, but + replace `/nix` with the volume's `diskXsY` identifier. + > **Note** > > After you complete the steps here, you will still have an empty `/nix`