Convert IMG to CPIO

Turn IMG archives into CPIO. A disk with one file system gives its files with their paths, times and permissions.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop IMG files on the dialor turn it to pick what to do

The files from a disk image, as one CPIO.A disk with one file system gives its files. A disk with several partitions gives raw partition images.

  1. What you get

    One CPIO file in the new-format (SVR4) style, the kind initramfs images and RPM packages use.

    If the disk holds a single file system, the archive holds its files with their paths, times and permissions.

  2. When there are several partitions

    A disk with several partitions does not give files. Each partition is stored in the archive as a raw image file instead.

    The files inside those partitions are not unpacked. They stay inside each partition image.

IMG and CPIO.What each format is.

The formats

From · IMG

Raw Disk Image

A disk copied byte for byte, as dd, Raspberry Pi Imager and USB stick tools make it.

Extensions
.img
MIME type
application/x-raw-disk-image
Kind
Archives
To · CPIO

cpio Archive

The Unix cpio archive, still used inside RPM packages and initramfs images.

Extensions
.cpio
MIME type
application/x-cpio
Kind
Archives

In your code.The same IMG to CPIO conversion through the API, for your app or your agent.

terminal
$ cv convert archive.img archive.cpio
$ cv convert archive.img archive.cpio

Questions.What people ask about IMG to CPIO.

01OF 04

Its files, with their paths, times and permissions, stored in one CPIO archive.

Each partition becomes a raw image file in the archive. The files inside them are not listed separately.

A new-format (SVR4) archive, the kind initramfs images and RPM packages use.

More conversions.Other ways in and out of IMG and CPIO.