WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How do I extract and recompress core.gz?  (Read 2076 times)

Offline NoIdea

  • Newbie
  • *
  • Posts: 1
How do I extract and recompress core.gz?
« on: August 24, 2014, 08: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?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How do I extract and recompress core.gz?
« Reply #1 on: August 24, 2014, 11:01:48 AM »
Instructions are in the remastering section of the wiki.