Last active
December 20, 2015 04:29
-
-
Save tjhartmann/6071473 to your computer and use it in GitHub Desktop.
Initrd foo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# extract old initrd | |
mkdir newinitrd | |
cd newinitrd | |
zcat ../oldinitrd.img | cpio -ivd | |
# make changes | |
# create new initrd | |
find . | cpio -o -H newc | gzip > /tmp/newinitrd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment