docs(readme): add drive change instructions

This commit is contained in:
steveej 2022-10-30 15:40:58 +01:00
parent e1ff3b492c
commit fc1ade3c94

View file

@ -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/<deviceName> <prevDiskId>` command to rename the filesystem and volume group