[LINUX] Extract and package initrd images

Extract image to local filesystem:

mkdir tmp
cd tmp
wget some-initrd.img
zcat some-initrd.img | cpio -idmv
ls

After doing some changes, build a new image:

find . | cpio -o -c | gzip -1 > ../new.img

Recommended Posts

Extract and package initrd images
Extract images from cifar and CUCUMBER-9 datasets
Send and receive Flask images
Extract csv data and calculate
Extract text from images in Python
Installing and uninstalling the egg package
Extract Pokemon GO Pokemon data and skill data
Upload and download images with falcon