Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: NoIdea on August 24, 2014, 05:58:54 AM

Title: How do I extract and recompress core.gz?
Post by: NoIdea on August 24, 2014, 05:58:54 AM
Hello,
I want to edit my core.gz to add custom files, remove some files, change my keymap, etc

So far  I have been trying to unzip core.gz , core.cpio and to repack them using file-roller for core.cpio and gzip for core.gz.
But the new core.gz is even with the highest compression level slightly bigger than the original one ( 5.7M vs 5.8M ) and when I try to boot from it it causes a kernel panic because it cant mount a root file system.
How must I archive and compress my custom core.cz?
And is it even possible to boot from a custom core.gz or does the kernel check with a checksum or something if it is loading the correct image?
Title: Re: How do I extract and recompress core.gz?
Post by: gerald_clark on August 24, 2014, 08:01:48 AM
Instructions are in the remastering section of the wiki.