-
-
Notifications
You must be signed in to change notification settings - Fork 188
Persistence
ThinStation edited this page Jun 14, 2024
·
8 revisions
So you want to keep some settings on a client that persist from boot to boot?
You will need to include the ext4 module in your build, and add the following lines in your thinstation.conf.buildtime
MOUNT_0="LABEL=boot /boot auto x-mount.mkdir,defaults 0 0"
MOUNT_1="LABEL=home /home auto x-mount.mkdir,defaults 0 0"
When you partition the drive, you will need at least 2 partitions. One FAT32 called boot, and an EXT4 partition called home.
/ts/bin/flash will do this for you if the drive is installed in the build system.
That's it.
You can make additional partitions and mount points using the above as a reference. It's fstab syntax.