This is an old revision of the document!
Table of Contents
Options when Installed on a USB Drive
When Tiny Core is installed on a USB drive, backup is designed to minimize the amount of writing to the USB drive, which results in the USB drive lasting longer. This also applies when solid state memory is used in a computer instead of a hard drive.
When Tiny Core is run without persistent home, and a file is saved, it is saved to RAM. It is only written to the USB drive, when backup is run, normally when shutting down Tiny Core.
The more you have in backup, the longer it will take to start up and shut down Tiny Core.
Persistent opt
If persistent opt is used on a USB drive, in most situations, it results in less writing to the usb drive. Most people change settings in opt, less often than they backup.
When setting up persistent opt in a USB drive, it is ideal to use the UUID.
To set up persistent opt, edit the bootloader configuration file, adding persistent opt.
If you have installed Tiny Core using the installer, you should already have tce=UUID=“9aff3da3-474d-440d-bb6c-3240afe84ac6” (the number will be different). To set up persistent opt, copy the UUID number, like this
opt=UUID="9aff3da3-474d-440d-bb6c-3240afe84ac6" tce=UUID="9aff3da3-474d-440d-bb6c-3240afe84ac6"
Use the UUID number for your USB drive.
If you have not installed Tiny Core using the installer, to find out the UUID, use
blkid -s UUID /dev/sda1
If not sda1, use the correct partition.
After setting up persistent opt, edit /opt/.filetool.lst, and remove all references to opt, so it is not included in backup.
Persistent Home
Is it a good idea to have persistent home on a USB drive?
It depends on how you use the USB drive.
If you run Tiny Core from a USB drive, and change a lot of files when using it, it may be better to backup the home directory.
If you use the USB drive as a repair and rescue tool, and don't change many files when using it, it may be better to use persistent home.
Ask the question: Is less written to the USB drive by saving files each time they are changed, or by saving everything in backup when turning off the computer.
Make Extensions for Files which Don't Change
It is a good idea to make extensions for files which don't change, particularly large ones.
To list large files in /home/tc, open the terminal and use
/home/tc/ -type f -size +1M | xargs ls -lhS
For more information, see Make Extensions for Settings.
For more information, see