LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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
 
Thread Tools
Old 09-08-2002, 12:25 PM   #1
unprocessed
LQ Newbie
 
Registered: Sep 2002
Posts: 3
Thanked: 0
cpio.gz??


[Log in to get rid of this advertisement]
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
unprocessed is offline     Reply With Quote
Old 09-08-2002, 12:27 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467
Thanked: 0
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
markus1982 is offline     Reply With Quote
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
Thanked: 0
To unzip a .bz2 i beleive you need to issue a bunzip2 command not bzip2. Might be wrong here tho...

-NSKL
NSKL is offline     Reply With Quote
Old 09-08-2002, 05:42 PM   #4
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467
Thanked: 0
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
...
markus1982 is offline     Reply With Quote
Old 09-08-2002, 08:20 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Thanked: 0
did you try
gunzip -d lnx_920_disk1.cpio.gz|cpio -i -
?
neo77777 is offline     Reply With Quote
Old 09-09-2002, 06:13 PM   #6
unprocessed
LQ Newbie
 
Registered: Sep 2002
Posts: 3
Thanked: 0

Original Poster
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 :?(
unprocessed is offline     Reply With Quote
Old 09-09-2002, 11:55 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Thanked: 0
For instance
Code:
zcat Linux9i_Disk1.cpio.gz | cpio -idmv
neo77777 is offline     Reply With Quote
Old 09-11-2002, 05:37 PM   #8
unprocessed
LQ Newbie
 
Registered: Sep 2002
Posts: 3
Thanked: 0

Original Poster
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
unprocessed is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 06:33 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration