Tiny Core Base > TCB Q&A Forum

How did you make tinycore.gz

(1/2) > >>

newbean:
I modified the /etc/skel/.ashrc file in Tiny Core ISO image.
After unarchiving both tinycore.gz and tinycore.cpio files.

How do I get it back together again?

To get tinycore.cpio, I changed to the unarchived cpio directory and ran:
find * | sudo cpio -oc -O tinycore.cpio

OK

But my gzip command does'nt give me the same tinycore.gz type you have packed in the iso image.
I used:
tar -czf tinycore.gz tinycore.cpio
also tried:
gzip -f tinycore.cpio > tinycore.gz

My gzipped file is'nt the same as yours.

The file looks different under Archive Manager
It seems to have a layer between tinycore.gz and tinycore.cpio
Where your bundled tinycore.gz does not.

What command did you guys use to get tinycore.gz?

Thanks
newbean

althalus:
find | sudo cpio -o -H newc | gzip -2 > ../tinycore.gz

(For more details, see http://wiki.tinycorelinux.com/Remastering)

newbean:
Thanks althalus,

In Ubuntu, after mounting the iso with "Archive Mounter", and after clicking on tinycore.gz,
(using Archive Manager) "tinycore.cpio" is displayed showing type: "CPIO archive"

But after repacking the unarchived folders using:
    find | sudo cpio -o -H newc | gzip -2 > ../tinycore.gz

and after going through the above process again,
"tinycore" is displayed showing type" "unknown".

After a minor change to /etc/skel/.ashrc,  the size of
the new .iso jumped from 10.7 MB (11177984 bytes)
to: 19.7 MB (20635648 bytes)

Was tinycore???.iso packaged using Windows software?
Because the tinycore.gz files are different when packaged using
the refered web-sites instructions.

Why the big difference?

gutmensch:
did you forget the mentioned
--- Code: ---advdef -z4 tinycore.gz
--- End code ---
?

newbean:
Yeh!
I forgot advdef.

After following http://wiki.tinycorelinux.com/Remastering
I'm happy to report it works.

However, I had trouble with the mkisofs -J flag.

But when I dropped it, it all worked out.

P.S.  I installed isomaster.tcz and that was easier.

Thanks for catching that.
Sorry for the slip-up

newbean

Navigation

[0] Message Index

[#] Next page

Go to full version