mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 02:54:32 +08:00
12 lines
327 B
Plaintext
12 lines
327 B
Plaintext
|
|
||
|
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
|
||
|
|