mobile-nixos
mobile-nixos copied to clipboard
Doc: How to install to internal eMMC storage (on Pinephone)
I was not able to find instructions on how to install mobile nixos to the internal eMMC storage of my Pinephone.
I found this using Jumpdrive, but that seem to be discouraged.
https://github.com/grwlf/mobile-nixos-cfg#flashing-the-internal-emmc-card-with-a-mobile-nixos-example-configuration
Target Disk Mode should be used instead.
https://github.com/NixOS/mobile-nixos/tree/master/examples/target-disk-mode
But how to use it to install the system?
So I used the normal method or at least normal from what I have read which is JumpDrive and it worked well with the PinePhone Phosh image on your server:
https://ahoneybun.net/blog/pinephone-flashing/
Noting that, since then, the Mobile NixOS installer image should be used to install on the device.
The steps being:
- Get a well-behaved platform firmware that boots U-Boot images (e.g. Tow-Boot).
- Run the installer from an SD card to install to eMMC.