I’ve spent days flashing images onto my Raspberry Pi 4 (1gb) and I end up with two outcomes:
- an error saying the block size doesn’t match and requires an fsck (from a fresh ‘dd’ this is just bizarre).
- after going through the full NixOS stage 1 / 2 boot process, just as I should be getting a login shell, I get a black screen, the display says no input, and the Pi flashes the green led twice (which apparently doesn’t align to any status code).
nixos-sd-image-22.05.1437.e8d47977286-aarch64-linux.img.zst (boots up to black screen)
nixos-sd-image-new-kernel-22.05.1437.e8d47977286-aarch64-linux.img.zst (gives FSCK error)
nixos-sd-image-21.11.335883.7adc9c14ec7-aarch64-linux.img (lost the link) (gives FSCK error)
I’ve flashed the raspbian image on and updated the bootloader and firmware.
$ nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage --argstr system aarch64-linux -I nixos-config=./pi.nix error: attribute 'sdImage' in selection path 'config.system.build.sdImage' not found
I’m at my wits end.
I’m going to put raspbian on, I’ve burnt so much time trying to get nix/nixops/etc working.
I wanted to raise this since it seems no one is discussing it, or at least not having the same issues I am.