Thanks for replies and hints!
First of all, I see that this thread was moved from the TC Extensions Tips & Tricks section to this (current) General TC Talk section, along with an appended [iso remaster] in the subject line. Okay.
Second of all, I wish to re-iterate that my goal was (and is) to store TCE extensions for portable use.
Storage could be via a CD-R (a "mini" 180mb one in my case) or a USB drive for the future; not necessarily on hard disk drives.
Storage for such portability is through using TC 3.x TCE extensions in .tcz format .
Third of all, the remastering I wish to carry out is at the isolinux stage (for CD-R's), and
not at the kernel-remastering or tinycore.gz unpacking/packing stages. In other words, for me, this would mean carrying out all steps mentioned at
http://wiki.tinycorelinux.com/Remastering up to the steps "extract tinycore.gz for adding/removing something:" yet continuing with the "Creating an iso" section.
Using TC itself for this , I would probably
at least download and store the cdrtools.tcz and mkisofs-tools.tcz extensions for CLI usage instead of using the suggested ISO Master GUI tool.
Fourth, tinypoodle wrote:
I have created an additional initrd with extensions in /opt/tce/optional according to instructions in wiki for dynamic remastering.
This wiki is at
http://wiki.tinycorelinux.com/Dynamic+root+filesystem+remasteringNo desire to use the EXTLINUX bootloader along with the "additional initrd with extensions in /opt/tce/optional".....there might be FAT-based filesystems requiring the SYSLINUX bootloader and don't want the RAM cost of being
forced to using any given .tcz extensions that I've downloaded and that get compiled into a heavier initrd.
Besides, the ISOLINUX bootloader is typically used for "El Torrito" CD-Rs and the SYSLINUX bootloader the same for USB drives. ---- see my second point above.
One option that
might make some sense here, though, is to create a top-level /syslinux directory for the remastery-level I'm attempting and download the latest syslinux tarball from
http://www.kernel.org/pub/linux/utils/boot/syslinux/ into this /syslinux directory for future unpacking and usage. Yes, this would have a RAM "cost" penalty, but this
does give me the helpful flexibility to extract and use whichever SYSLINUX, PXELINUX, ISOLINUX, and/or EXTLINUX lightweight bootloader(s) I would require for future 2nd-level remasterings.
Fifth, Guy wrote
if you use /opt/tce you can have a regular /tce directory on the hard drive or usb drive as well. So you can download additional applications
I have reviewed
http://wiki.tinycorelinux.com/Integrating+Extensions , and Guy's suggestion would be ideal if correct. As this wiki directly states for the operation of adding extensions to a new ISO image into
/tmp/newiso/tce/optional :
Doing this operation might prevent using a tce directory outside of the CD; if it is not explicitly specified, the boot process uses the first tce directory found.
Essentially, incorporating these two methods could enable the desired dual application-loading capability:
1. Maintaining the default RAM-loading /tce directory of the boot process for downloading+running .tcz extensions from the Internet repositories on an as-needed basis through Appbrowser, and with no further files necessarily added outside of the base. The boot process would first use this /tce directory.
2. Creating a top-level
/opt/tce/optional directory which would store onto an ISO CD or USB
only those .tcz extensions that could not be downloaded+run otherwise.
Yes,
An ISO created this way can not achieve application persistence for the user (no extensions can be loaded by the user, beyond re-loading those on the ISO)
And yet this second capability
without persistence is
precisely useful for my desired purposes of portability, e.g., for those times when an Internet connection
remains unavailable.
I could then copy needed extensions on-the-fly from
/opt/tce/optional into the default /tce/optional directory
In this latter case of 2 when remastering with a /opt/tce/optional directory, I could then store a much more limited subset of .tcz apps.
E.g. off the top-of-my-head,
- the previously mentioned cdrtools.tcz and mkisofs-tools.tcz
- the .tcz extensions for full bash and perl scripting capability
- tcz. extensions for other small and/or CLI-specific apps
- the module for my e100 and epro100 NICs and then insmod (or modprobe) either one when needed, rather than the non-loading default
Would need to purposefully
omit browser and ftp app extensions under this concept.
Corrections or further feedback?
-goossbears