Dan D.
05/21/2024, 3:15 AMDan D.
05/21/2024, 3:15 AMsudo ubuntu-rockchip-install /dev/nvme0n1
. This script may be found under /bin
in the RK1's Ubuntu root file system. The script will clone the contents of the two partitions on the eMMC device to two, identically sized partitions on the NVMe device. In addition, the script ensures that the UUIDs of partitions on the eMMC device and the NVMe device are different. Having the same UUIDs will result in the loader randomly mounting one partition from eMMC and the other partition from NVMe. It may not be immediately apparent why this is an issue. From a system software configuration perspective, you want the package database to be consistent across all file systems in the mount table. If the file systems being mounted come from randomly chosen devices, there is a high probability that, over time, the system package configuration database and the actual contents on storage will differ, and there won't be a way to resolve the issue short of image file reinstallation.Dan D.
05/21/2024, 3:21 AMubuntu-rockchip-install
script. You may use apt to update the script or manually change to script as shown in the patch here: https://github.com/Joshua-Riek/ubuntu-rockchip-settings/commit/6a592fa46d1502d1a339aeb52a2d3ab840557383.