| 1 | |
| 2 | To extract the kernel vmlinux, System.map, .config or initrd from the zImage binary: |
| 3 | |
| 4 | objcopy -j .kernel:vmlinux -O binary zImage vmlinux.gz |
| 5 | objcopy -j .kernel:System.map -O binary zImage System.map.gz |
| 6 | objcopy -j .kernel:.config -O binary zImage config.gz |
| 7 | objcopy -j .kernel:initrd -O binary zImage.initrd initrd.gz |
| 8 | |
| 9 | |
| 10 | Peter |
| 11 |