2009-03-26 10:09:51

by Victoria Muntean

[permalink] [raw]
Subject: how to extract 'uname -r' string from bzImage without booting it ?

How can make (or find) a script or utility
that can extract ?'uname -r' string from bzImage without booting it ?

Thanks
Viki


2009-03-26 10:17:28

by Vitaly Mayatskih

[permalink] [raw]
Subject: Re: how to extract 'uname -r' string from bzImage without booting it ?

At Thu, 26 Mar 2009 12:09:38 +0200, Victoria Muntean wrote:

> How can make (or find) a script or utility
> that can extract ?'uname -r' string from bzImage without booting it ?

$ strings vmlinuz | grep -P -o \\d\\.\\d\\.\\d{2}
2.6.29

--
wbr, Vitaly