Mounting FileSystem From NVMe M.2 SSD¶
When mounting a NVMe M.2 SSD to ROScube, the storage will be appeared as a /dev/nvme0n1
storage.
1. Format NVMe M.2 SSD to EXT4 filesystem.¶
cd rootOnStorage/nvme
sudo ./copy-rootfs-nvme.sh
Note
After finishing, you can see to-chk=0/*
.
2. Setup the service.¶
This will copy the .service file to the correct location, and install a startup script to set the rootfs to the SSD.
sudo ./setup-service.sh
Note
After setting up the service, reboot for the changes to take effect.