From fc1ade3c94e14396610d65a3a057d91b8264d3d2 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Sun, 30 Oct 2022 15:40:58 +0100 Subject: [PATCH] docs(readme): add drive change instructions --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 4fe7213..b2d77ad 100644 --- a/README.md +++ b/README.md @@ -59,3 +59,10 @@ just --list * `gpg2 --edit-card; fetch` * clone password-manager and infra repositories * gpg2: ultimately trust my own key + +## Swapping out a disk + +1. offline-bitwise copy of drive +2. disconnect remove the previous drive +3. replace the driveId in the device's hw.nix +4. run the `just disk-relabel nix/os/devices/ ` command to rename the filesystem and volume group