I need a very lightweight, and I found Tiny Core Linux, which I installed following this guide, but I have several problems, related to adding SysVinit (in which is based) startup scripts:
- Anything I write in /etc/init.d/ is lost after reboot
- There are no /etc/rcX.d/ directories for the different runlevels. I tried to avoid the 2nd problem calling my scripts at the end of the ones in /etc/init.d/, but because of the 1st problem, everything is lost when restarting.
After this, I checked the mounted devices, and the disk I selected to install, /dev/vda1, is mounted in /mnt/vda1, /home and /opt, and / corresponds to a rootfs:
rootfs on / type rootfs (rw,size=460176k,nr_inodes=163912)
Before these tests, I had tried other install ways instead of Frugal, like USB-HDD, but similar results, so, I think I am not understanding well how to work with this distro.