Tiny Core Base > Micro Core

why core extensions are only tcz and not also tce?

<< < (2/3) > >>

helander:
You need to "remaster" your microcore.gz (or tinycore.gz if you are using that).

   - gunzuip "microcore.gz"
   - unpack "microcore". using cpio, into a clean directory
   - copy all your extensions into opt/tce under the new directory
   - pack the new directory into a new "microcore" using cpio
   - gzip "microcore"
   - et voila

Maybe there should be a tool that does this, which as input takes an existing initramfs image (xxxxcore.gz) and
a directory where the extensions are located.

/Lars

curaga:
They were announced here:
http://forum.tinycorelinux.net/index.php?topic=1770.0

In short, follow the wiki page "Remastering". The only thing to do between unpacking and packing would be

mkdir /tmp/extract/opt/tce
cp /path/to/my/tce/*.core.* /tmp/extract/opt/tce

edit: heh, helander beat me to it :P

jls:
in order to stay in initramfs should I boot with the embed option?

[^thehatsrule^: removed spam]

helander:
No, you do not have to. Without embed all of initramfs is copied to the newly created tmpfs, including the stuff under
/opt/tce.

Another possibility which I have not explored yet, only read about in the syslinux manual, is if you use
any of the boot loaders in the syslinux/isolinux/extlinux family.

When you specifiy the initrd you could provide this as a comma separated list of (compressed or uncompressed) cpio archives. The resulting initramfs would then consist of the union of the contents of the listed files.
This should allow you to create one cpio with the stuff under /opt/tce and the other would be the
xxxxcore.gz originally supplied by MC/TC. This would avoid the need to merge your extensions into the
xxxxcore.gz files. In case you are using grub or any other boot loader this is not possible (to my knowledge)

/Lars

jls:
booting with the embed option it's not better for memory consumption?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version