Skip to content

Commit

Permalink
instructions/RESET.md: Fix zstd invocation, improve command, docs
Browse files Browse the repository at this point in the history
  • Loading branch information
diego-juicebox committed Jan 26, 2024
1 parent c6802da commit 08fb670
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions instructions/RESET.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ boot DVD. Set up the network, and then run:
```sh
GITHUB_USERNAME= # fill this in
apt update
apt install ca-certificates curl iotop openssh-server
apt install ca-certificates curl iotop openssh-server zstd
curl https://github.com/$GITHUB_USERNAME.keys > .ssh/authorized_keys
ip addr # record IP address
umount /run/win
Expand All @@ -27,10 +27,11 @@ On another computer:

```sh
LENOVO_IP= # fill this in
zstd lenovo-windows-disk.img.zst | ssh -C root@$LENOVO_IP 'dd bs=1M of=/dev/nvme0n1'
pv lenovo-windows-disk.img.zst | ssh -C root@$LENOVO_IP 'zstd --decompress --stdout | dd bs=1M of=/dev/nvme0n1'
```

This took about 40 minutes in the past.
This took about 40 minutes in the past. The `pv` output will appear to stall
towards the end, while the ceremony computer writes out a bunch of zeros.

## Reset the UEFI Settings

Expand Down

0 comments on commit 08fb670

Please sign in to comment.