Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Dec 2007 13:31:16 -0500
From:      Patrick Baldwin <Patrick.Baldwin@studsvik.com>
To:        "Philip M. Gollucci" <pgollucci@riderway.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Determining kernel?
Message-ID:  <47559CF4.6050605@studsvik.com>
In-Reply-To: <475594E1.90702@riderway.com>
References:  <4755900F.3080906@studsvik.com> <475594E1.90702@riderway.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Philip M. Gollucci wrote:
> Patrick Baldwin wrote:
>> I was reading through the handbook section on updating, as I'd
>> like to update a FreeBSD 6.2 system.  One of the things I noticed
>> is that you need to specify what kernel you want in the KERNCONF
>> line.  Is there any way to get a running FreeBSD system to tell
>> me what kernel is being used?
> uname -a
> FreeBSD philip.hq.rws 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Nov  6
> 16:28:12 EST 2007
> pgollucci@philip.hq.rws:/usr/obj/usr/src/sys/RIDERWAY  i386
> 
> Notice the path at the end.
> 

OK, the path at the end for me is:
/usr/obj/usr/src/sys/SMP  i386

However, when I use uname -i as someone else suggested, it gives me:
SMP-GENERIC

So which do I substitute for MYKERNEL in the KERNCONF lines:

make buildkernel KERNCONF=MYKERNEL
make installkernel KERNCONF=MYKERNEL

Thanks!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47559CF4.6050605>