2

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

2

1 Answer 1

1

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
4
  • 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, 2011 at 18:38
  • How do i get the vmlinux from this vmlinuz? I want to this run crash utility.
    – Anandan
    May 10, 2011 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, 2011 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, 2011 at 5:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .