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
Go to list of users who liked
More than 3 years have passed since last update.
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
Register as a new user and use Qiita more conveniently
Go to list of users who liked