Questions tagged [cpio]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
487 views

Kernel panic initramfs: no cpio magic

Im trying to boot a proxmox that was abruptly rebooted due a power lost. When trying to boot it stops with a kernel panic. The error it shows is "Initramfs unpacking failed: no cpio magic". ...
borja's user avatar
  • 13
3 votes
2 answers
2k 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 ------------------------------------------------...
jdevelop's user avatar
  • 153
2 votes
2 answers
692 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....
nolandda's user avatar
  • 193
4 votes
1 answer
4k 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 -...
Selivanov Pavel's user avatar
1 vote
1 answer
3k 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 ...
Berlin's user avatar
  • 402
0 votes
1 answer
2k 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 ...
Pyromancer's user avatar
1 vote
1 answer
130 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 ...
A.Martinez's user avatar
0 votes
1 answer
195 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. ...
Deldran's user avatar
  • 11
1 vote
2 answers
305 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 ...
TiCL's user avatar
  • 329
1 vote
1 answer
111 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 ...
user1250465's user avatar
10 votes
4 answers
12k 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 ...
kagali-san's user avatar
  • 2,021
0 votes
1 answer
117 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 ...
koo's user avatar
  • 23
0 votes
2 answers
497 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'...
Joao Figueiredo's user avatar
3 votes
2 answers
197 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 ...
Philip's user avatar
  • 203
6 votes
5 answers
6k 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 ...
Tim's user avatar
  • 1,517
0 votes
2 answers
197 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.
Travis's user avatar
  • 141
1 vote
2 answers
432 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 ...
goldPseudo's user avatar
  • 1,106
31 votes
9 answers
18k 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). ...
Alex Reynolds's user avatar