WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Working With CPIO ?  (Read 3737 times)

Offline mbzadegan

  • Newbie
  • *
  • Posts: 33
Working With CPIO ?
« 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 ? ) :)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11587
Re: Working With CPIO ?
« Reply #1 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.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Working With CPIO ?
« Reply #2 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/
« Last Edit: February 13, 2011, 03:22:05 AM by Arslan S. »

Offline mbzadegan

  • Newbie
  • *
  • Posts: 33
Re: Working With CPIO ?
« Reply #3 on: February 13, 2011, 04:59:52 AM »
Very Well , That's Right ,  :)
How can i create microcore.gz from my rebulided folder ?

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Working With CPIO ?
« Reply #4 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