Problem statement:
How do you determine the built kernel version ? Once you have built kernel from source , how would you determine the built kernel version ?
Fix :
Once you have built (make) kernel from source tree, you may want to determine the built kernel version but not install it. How do you do that ? The built kernel is "vmlinux" or "vmlinuz" but how do you extract the kernel version out of it.
Try this :
# strings vmlinux | grep "Linux version"
Linux version 3.15.0-rc5+
How do you determine the built kernel version ? Once you have built kernel from source , how would you determine the built kernel version ?
Fix :
Once you have built (make) kernel from source tree, you may want to determine the built kernel version but not install it. How do you do that ? The built kernel is "vmlinux" or "vmlinuz" but how do you extract the kernel version out of it.
Try this :
# strings vmlinux | grep "Linux version"
Linux version 3.15.0-rc5+