07-06-2020, 02:56 PM
(07-03-2020, 07:27 AM)_hg_ Wrote: Good point, I'll take out that step. I made a lot of mistakes throughout the process and tried a lot of things to fix the problem, that one may not have been needed.
I actually tried nixos-install from the SD card but couldn't get it to work. I deleted the Manjaro partition, repartitioned as ext4 with an 8 GB swap partition, and installed to the now empty partition. I rebooted, and no luck (kernel panic). From the SD card, I then tried "nix-build -A pkgs.uBootPinebookPro" as the README says and installed that to the eMMC. Again no luck. I then used nix-os enter to go into the partition, ran nixos-generate-config and put together a basic config while including the wip-pinebook-pro overlays, ran nixos-rebuild, then rebooted. Still broken. At this point I was about ready to give up, so I tried building the SD image from the SD card and flashing to the eMMC, and that worked.
Who knows what I was doing wrong, I'm just glad I got it working in the end!
I had those issues too, and then I realized that I had forgotten to include the PBP overlay in the configuration.nix of thee new system. Luckily, I kept the SD card around to be sure that I had a recovery image. Maybe you ran into a similar issue?