Created
August 2, 2023 10:55
-
-
Save madanadam/22be6db7be23d309762d655843dfb85d to your computer and use it in GitHub Desktop.
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 | |
| zcat /boot/initrd-$(uname -r).img | cpio -idmv | |
| Compress | |
| find . | cpio -o -c -R root:root | gzip -9 > /boot/new.img |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment