nixos pinephone: validation
This commit is contained in:
parent
5332cda66f
commit
badd62ec2d
|
@ -13,6 +13,13 @@ step 3: install jumpdrive to a sd card
|
|||
|
||||
step 4: build a minimal mobile-nixos
|
||||
|
||||
validate the image (optional; debugging):
|
||||
```sh
|
||||
$ sudo losetup -Pf /nix/store/rp9nsr9zympcc1vqah4rckija2lb34xx-pine64-pinephone_full-disk-image.img
|
||||
$ sudo fsck -f /dev/loop0p4
|
||||
$ sudo losetup -d /dev/loop0
|
||||
```
|
||||
|
||||
step 5: flash the image. oflag=direct is less likely to result in corruption
|
||||
```sh
|
||||
$ sudo umount /dev/sdb* ; sudo dd if=/nix/store/qalvicwwl80sfjx0rxmyi85wg30x257f-pine64-pinephone_full-disk-image.img of=/dev/sdb bs=1M status=progress conv=sync oflag=direct;
|
||||
|
|
Loading…
Reference in New Issue