diff --git a/doc/migrating-storage-device.md b/doc/migrating-storage-device.md index 3d97297db..94fecc909 100644 --- a/doc/migrating-storage-device.md +++ b/doc/migrating-storage-device.md @@ -34,4 +34,11 @@ $ sudo btrfs subvolume create new/persist $ rsync -arv old/persist/ new/persist/ ``` -5. insert the disk into the system, and boot! +5. ensure/fix ownership +``` +$ chmod -R a+rX new/nix +# or, let the nix daemon do it: +$ nix copy --no-check-sigs --to new $(nix-build -A hosts.moby) +``` +``` +6. insert the disk into the system, and boot!