Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |