Re: [gentoo-user] Determine kernel release of non-running kernel

2006-11-06 Thread Tim Garton
Thanks, Sergio, that worked like a charm.  The string I wanted wasn't actually in the first 20 lines so a 'strings /tmp/vmlinuz | grep 2.6' worked better.Audrey, I wanted information about a kernel that was built by somebody else on another machine, so I don't have access to the applicable /lib/mod

Re: [gentoo-user] Determine kernel release of non-running kernel

2006-11-06 Thread Justin Findlay
On AD 2006 November 07 Tuesday 12:59:03 AM +0100, Sergio Polini wrote: > Tim Garton: > > Anyone know how to determine the kernel release of a non-running > > kernel? Like 'uname -r' but point it at a kernel file? > > $ strings | head -20 $ strings /boot/vmlinuz-2.6.18 | grep "2\.6\.[0-9]\+" Ju

Re: [gentoo-user] Determine kernel release of non-running kernel

2006-11-06 Thread Andrey
On Monday 06 November 2006 23:50, Tim Garton wrote: > Anyone know how to determine the kernel release of a non-running kernel? > Like 'uname -r' but point it at a kernel file? I didn't understand the problem... What about: ls /lib/modules/ ? -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Determine kernel release of non-running kernel

2006-11-06 Thread Sergio Polini
Tim Garton: > Anyone know how to determine the kernel release of a non-running > kernel? Like 'uname -r' but point it at a kernel file? $ strings | head -20 ;-) ... but I don't know how to automate that. HTH Sergio -- gentoo-user@gentoo.org mailing list