Extraer vmlinux de vmlinuz o bzImage
Quiero generar System.map desde vmlinuz, ya que la mayoría de las máquinas no tienen el archivo System.map. De hecho, vmlinuz está comprimido a vmlinuz o bzImage.
Es cualquier herramienta o script puede hacer esto?
Lo intenté:
dd if=/boot/vmlinuz skip=`grep -a -b -o -m 1 -e Se ha fallado:
zcat: stdin: not in gzip format
32769+0 records in
32768+0 records out
\x1f\x8b\x08\x00' /boot/vmlinuz | cut -d: -f 1` bs=1 | zcat > /tmp/vmlinux
Se ha fallado:
zcat: stdin: not in gzip format
32769+0 records in
32768+0 records out