Sainadh J wrote:

Hello, i build LFS/BLFS 7.6 system, when i run "uname -r" it's
displays my host system kernel version(3.10.17),but my kernel version
is 3.16.2 i don't know why i getting my host system kernel version on
my LFS/BLFS system.please help me friends.Thanks in advacne.

You booted a 3.10.17 kernel that you either built or was already on your
system.  Check the linux command line in grub.cfg.

You might want to check the directories in /lib/modules to see what the
system has.

i attached my grub.cfg file.i found 3.16.2 directory in /lib/modules
but i found there broken symlinks i.e build and source,i think this
could be cause a reason my system displays a host kernel version i don't
know clearly please guide me how to solve this issue.Thanks in advance.

The symlinks are not needed unless you are installing proprietary
drivers for something like nvidia or vmware.

grub.cfg looks OK, but is grub looking at the grub.cfg for the original
host?  At the grub prompt, select e to see if the linux line is what you
have in your attachment.

What is the output of 'dmesg|head|grep Linux'.  In my case I have:

[    0.000000] Linux version 3.16.2-lfs76rc1 (root@toshiba-lfs) (gcc
version 4.9.1 (GCC) ) #1 SMP Mon Sep 8 22:53:24 CDT 2014

i didn't find grub folder on my host which is "/boot".the output of
"dmesg|head|grep Linux"root [ / ]# dmesg|head|grep Linux

[    0.000000] Linux version 3.10.17 (root@hive64) (gcc version 4.8.2 (GCC) )
#2 SMP Wed Oct 23 16:34:38 CDT 2013
root [ / ]#

the same output i getting when i run host system also.

I think grub is looking at a different location for grub.cfg.  Did you run

grub-install /dev/sda

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to