https://github.com/torvalds/linux
Raw File
Tip revision: 0fcfb00b28c0b7884635dacf38e46d60bf3d4eb1 authored by Linus Torvalds on 05 December 2021, 22:08:22 UTC
Linux 5.16-rc4
Tip revision: 0fcfb00
README

To extract the kernel vmlinux, System.map, .config or initrd from the zImage binary:

objcopy -j .kernel:vmlinux -O binary zImage vmlinux.gz
objcopy -j .kernel:System.map -O binary zImage System.map.gz
objcopy -j .kernel:.config -O binary zImage config.gz
objcopy -j .kernel:initrd -O binary zImage.initrd initrd.gz


	Peter

back to top