amuza Posted December 27, 2020 Posted December 27, 2020 Hi, I built and successfully installed Armbian with Cryptroot SSH unlock. Now I wanted to have everything on SATA SSD, but when I run nand-sata-install I get the following message: This tool must run from SD-card! How could I have everything on my SATA SSD?
Werner Posted December 27, 2020 Posted December 27, 2020 I assume nand-sata-install tool is not compatible with cryptroot. It is to mention that cryptroot is a community contribution and did not come from Armbian itself. So probably some tinkering with the script will be necessary.
amuza Posted January 5, 2021 Author Posted January 5, 2021 I contacted the author of this nice blog post: https://maxammann.org/posts/2020/01/armbian-encrypt-root/ They suggested to remove from "case" to "esac" here: https://github.com/armbian/build/blob/master/packages/bsp/common/usr/sbin/nand-sata-install#L616 I did it and run the edited nand-sata-install. That looked like it was going to work ok, as it let me run the script without any problem. I chose to use EMMC and SATA SSD. It started to show the progressing bar, and it finished as it everything was fine. However, it did not work. It did not move things to EMMC or SATA. Any suggestion would be very much welcome...
amuza Posted March 5, 2021 Author Posted March 5, 2021 Choosing to have the boot partition on the microSD card and the root partition on the USB/SATA drive does work ok.
Recommended Posts