Thanks for the quick reply, much appreciated.
I did as you suggested. Renamed the tce to cde. I now have a boot directory and a cde directory. Inside cde there's onboot.lst, copy2fs.lst and the optional directory with the extensions. The contents of boot/grub/grub.cfg look like this:
https://pastebin.com/raw/arnepbynlinux /boot/vmlinuz libata.allow_tpm=1 loglevel=3 cde
Yet still the extensions aren't loaded when booted from the read-only filesystem. It works in qemu and from a pendrive.
I looked at the scripts, trying to find the condition where it would mount as read-only. It does so here:
https://github.com/tinycorelinux/Core-scripts/blob/1ab533e58dc5d175d532d46bcf76123d81038d00/usr/bin/fromISOfile#L54 I tried to add the iso bootcode discussed here:
http://forum.tinycorelinux.net/index.php/topic,12786.msg69982.html#msg69982 My conclusion from this is that I'd have to make a remastered ISO file, otherwise it will not mount as read-only, fail to mount and load the extensions.
Is remastering the ISO file the best way? Should I modify the filesystem in core.gz or change the contents of the cde directory?
So far my attempts to remaster the ISO file failed. Would love to know how to do it properly