I have installed Debian 5.0.7 with kernel version 2.6.26-2-amd64. I don't find the linux-image-dbg package inside install dvd. I need the vmlinux image of installed kernel for running crash utility.

Where do I get the vmlinux for this kernel?

Thanks, Anandan

link|improve this question
What crash utility are you going to run exactly? – Warren P May 10 '11 at 20:59
standard crash utility. I got this from (packages.debian.org/lenny/crash) – Anandan May 11 '11 at 5:43
feedback

1 Answer

It's usually in the root (the topmost folder in your unix filesystem is called the root), and the main linux kernel file is usually symbolically linked using the name /vmlinuz The z replaces the x and indicates it's compressed.

Update : I thought I might be able to extract the compressed image somehow, like this, but this doesn't work:

gunzip /vmlinuz > /tmp/vmlinux
link|improve this answer
localhost:/# file /boot/vmlinuz-2.6.26-custom-kdump /boot/vmlinuz-2.6.26-custom-kdump: Linux kernel x86 boot executable RO-rootFS, root_dev 0x801, swap_dev 0x1, Normal VGA – Anandan May 10 '11 at 18:38
How do i get the vmlinux from this vmlinuz? I want to this run crash utility. – Anandan May 10 '11 at 18:39
You could try using the crash utility with this kernel image, and it will probably just work, because most unix utilities will automatically recognize and decompress the compressed kernel image. – Warren P May 10 '11 at 20:58
I tried running the crash utility on this and i got this error. crash: vmlinuz-2.6.26-2-amd64: not a supported file format Also, gunzip does not work. It fails with error "not in gzip format" – Anandan May 11 '11 at 5:39
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.