Questions tagged [cpio]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
80 views

Updating a single file in a CPIO archive

I have a CPIO archive with the Linux image on it. With binwalk I can see that there are the following chunks: DECIMAL HEXADECIMAL DESCRIPTION ------------------------------------------------...
2
votes
2answers
212 views

How to extract rpm preamble

I am working on a non-redhat based machine and I need to extract Version: x.y.z and Release: a.b.c information from some .rpms that pass across the machine. Typically one would do: rpm -qip ./Foo.x....
1
vote
1answer
2k views

cpio incorrectly unpacking initrd in Ubuntu Xenial

I am trying to unpack initrd image: # file /boot/initrd.img-4.11.0-14-generic /boot/initrd.img-4.11.0-14-generic: ASCII cpio archive (SVR4 with no CRC) # mkdir /tmp/initrd; cd /tmp/initrd # cpio -i -...
1
vote
1answer
2k views

Mysql 5.7 on Centos 7 - cpio: read failed - No such file or directory

I tried to install mysql 5.7 on centos 7 and I got the below error, I was able to install successfully more than one time on different machines with centos 7, but this is the first time I encountered ...
0
votes
1answer
792 views

How do I extract the initrd when the usual cpio -i -m produces gibberish?

I am attempting to follow the instructions here https://superuser.com/questions/1134160/how-to-get-old-linux-versions-to-boot-after-p2v-on-vmware for getting another P2Vd old Linux system to boot, but ...
1
vote
1answer
73 views

Restore data from tapes made on old irix system (on linux)

Hey guys I'm looking for some help. I'm trying to get the data off of some old SDLT tapes probably 11+ years old. I don't know anything about them besides they were made on an irix system and I do not ...
0
votes
1answer
138 views

CPIO ulimit reached error

I have been googling this without much luck. I hope someone can help here. We have a customer running SCO Unixware 7 machine. This machine does a daily backup to tape. These have stopped running. ...
1
vote
2answers
273 views

Does CPIO produce platform dependant archives?

I made a CPIO archive with following command on Solaris 11 (SPARC): find . | cpio -ov >/tmp/myarchive.cpio I copied it to Intel based Solaris 11 machine and tried to extract using the following ...
1
vote
1answer
97 views

auspex LFS backups

I have some backup tapes which existed on an AUSPEX file server. The backups were written to tape with the SunOs version of the CPIO command. Now that I need to restore them, (of course there are no ...
9
votes
4answers
10k views

How to move Linux to another partition?

I need to make a copy of a working linux system, which (being contained in /, and the new place is prepared in /mnt/sdb5) seems to contain considerable amount of hard-, soft-links and special files in ...
0
votes
1answer
99 views

Making archive with the current date as folder name

I am looking to make an archive of my root directory, but only certain folders/files. So far, this is what I have, can you please tell me what I'm doing wrong? For the purposes of figuring out the ...
0
votes
2answers
404 views

HP-UX -> Linux incremental remote backup

I've the need to setup a differential backup process from a range of remote HP-UXes to a central RHEL5 server. I'd happily go with rsync, problem is, stock HP-UX 11.11 has no built-in rsync and I don'...
3
votes
2answers
190 views

Backup file format that enables easy access of specific files?

I need to upgrade a Server and there have to make a compressed backup of a lot of directories. The question is: Which format should I use? tar.gz, cpio? Both compression and decompression processes ...
6
votes
4answers
4k views

cpio VS tar and cp

I just learned that cpio has three modes: copy-out, copy-in and pass-through. I was wondering what are the advantages and disadvantages of cpio under copy-out and copy-in modes over tar. When is it ...
0
votes
2answers
186 views

Fedora Core yum update cpio error

Any idea why I'm getting these errors when running: yum update http://pastie.org/private/7x4pez9duzxvmb6lgeyrgq I've never had a problem with that command in the past.
1
vote
2answers
393 views

Automating a multi-tape cpio backup

Currently, I have a simple backup process in which a script is run daily via cron. If there's a tape in the drive, it will use cpio to backup critical files, with a full system backup done once a ...
24
votes
8answers
12k views

Is there a smarter tar or cpio out there for efficiently retrieving a file stored in the archive?

I am using tar to archive a group of very large (multi-GB) bz2 files. If I use tar -tf file.tar to list the files within the archive, this takes a very long time to complete (~10-15 minutes). ...