Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: mbzadegan on February 13, 2011, 02:44:26 AM

Title: Working With CPIO ?
Post by: mbzadegan on February 13, 2011, 02:44:26 AM
Dear Leaders :

i wanna to extract microcore.cpio and rebuilded it but the command of cpio -i is not working for me !!!
What command does need to Extract cpio files ? ( & for create ? ) :)
Title: Re: Working With CPIO ?
Post by: Rich on February 13, 2011, 02:53:08 AM
Hi mbzadegan
I don't know the answer off the top of my head but I know it's been covered. Try
searching the forums using combinations of the words cpio, extract, compress,
compile, bzImage and initrd.
Title: Re: Working With CPIO ?
Post by: Arslan S. on February 13, 2011, 03:14:09 AM
to extract
Code: [Select]
cpio -idv -F microcore.cpio
see for more
http://www.thegeekstuff.com/2010/08/cpio-utility/ (http://www.thegeekstuff.com/2010/08/cpio-utility/)
Title: Re: Working With CPIO ?
Post by: mbzadegan on February 13, 2011, 04:59:52 AM
Very Well , That's Right ,  :)
How can i create microcore.gz from my rebulided folder ?
Title: Re: Working With CPIO ?
Post by: Arslan S. on February 13, 2011, 05:30:17 AM
Code: [Select]
find | sudo cpio -o -H newc -F microcore.cpio
if you are remastering see wiki page
http://wiki.tinycorelinux.com/Remastering (http://wiki.tinycorelinux.com/Remastering)