LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2002, 12:25 PM   #1
unprocessed
LQ Newbie
 
Registered: Sep 2002
Posts: 3

Rep: Reputation: 0
cpio.gz??


can anyone help me gunzip this file
'lnx_920_disk1.cpio.gz'???? i've read about cpio and gunzip
but none of the explainations combine the two. i need an example
cause i don't know how they interact.
thanks

unprocessed
 
Old 09-08-2002, 12:27 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
well with example.tar.bz2 it would be

bzip2 -dc example.tar.bz2 | tar xvf -


didn't hear of cpio yet ... but i'll check that out now
 
Old 09-08-2002, 05:23 PM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
To unzip a .bz2 i beleive you need to issue a bunzip2 command not bzip2. Might be wrong here tho...

-NSKL
 
Old 09-08-2002, 05:42 PM   #4
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Nope that's not true ... see:

bzip2, a block-sorting file compressor. Version 1.0.2, 30-Dec-2001.

usage: bzip2 [flags and input files in any order]

-h --help print this message
-d --decompress force decompression
...
 
Old 09-08-2002, 08:20 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
did you try
gunzip -d lnx_920_disk1.cpio.gz|cpio -i -
?
 
Old 09-09-2002, 06:13 PM   #6
unprocessed
LQ Newbie
 
Registered: Sep 2002
Posts: 3

Original Poster
Rep: Reputation: 0
TRIED BUT NADA!!!!!
i think the 'cpio' part needs to be copied to somewhere in the command to gunzip. I just don't know how :?(
 
Old 09-09-2002, 11:55 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
For instance
Code:
zcat Linux9i_Disk1.cpio.gz | cpio -idmv
 
Old 09-11-2002, 05:37 PM   #8
unprocessed
LQ Newbie
 
Registered: Sep 2002
Posts: 3

Original Poster
Rep: Reputation: 0
N7

Thanks that seemed to extract that disk but methinks that the second disk is not all there. I get an error message that the archive is incomplete. This could also be the 1st disk???
going to download again when i have time thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using cpio ksun Linux - Newbie 4 05-12-2006 06:14 AM
cpio error ntoughe AIX 9 12-31-2005 12:19 PM
How to use cpio to extract a cpio archive? linx win Debian 4 06-17-2005 02:53 PM
cpio problem mgventura Red Hat 0 04-15-2004 08:56 AM
Does CPIO compress? severedhead Linux - Software 1 08-03-2002 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration