Mounting FileSystem From SD Card¶
When inserting a SD card to ROScube, the storage will be appeared as a /dev/mmcblk1
storage.
1. Format SD card to EXT4 filesystem.¶
cd rootOnStorage/sdmmc
sudo ./copy-rootfs-sdmmc.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 SD card.
sudo ./setup-service.sh
Note
After setting up the service, reboot for the changes to take effect.