uname -v shows no difference after buildkernel and installkernel etc

Nathan Kinkade nkinkade at ub.edu.bz
Tue Aug 24 16:08:06 PDT 2004


On Wed, Aug 25, 2004 at 08:32:48AM +1000, August Simonelli wrote:
> > > August
> > 
> > What does your symlink look like?  So you put the newly built kernel in
> > /root/kernels, then did something like?:
> > 
> > # ln -s /root/kernels/mykernel /boot/kernel/kernel
> 
> 
> I followed the example in 8.3:
> 
> # cd /usr/src/sys/i386/conf
> # mkdir /root/kernels
> # cp GENERIC /root/kernels/MYKERNEL   
> # ln -s /root/kernels/MYKERNEL
> 
> so now I have the following symlink:
> 
> /usr/src/sys/i386/conf/MYCUSTOM -> /root/kernels/MYCUSTOM
> 
> and I built and installed with that as my KERNCONF value. I do still
> have GENERIC sitting in that directory. Does it use GENERIC first by
> default?
> 
> Thanks again,
> 
> august

I apologize, when you said:

"... did a custom kernel (placing in /root/kernels ..."

I took it too literally, thinking that for some odd reason you had put
the actual built (binary) kernel into /root/kernels and were symlinking
from /boot/kernel to that directory, as opposed to simply putting the
kernel config file there.  However, is it just a typing mistake that you
say you link to MYKERNEL, but you say the actual links points to
MYCUSTOM?  Also, what does an `ls -l /boot/kernel/kernel` reveal?  Does
the modification time coincide with the time you actually built your
custom kernel?

Nathan

Side note
---------
I once tried the advice to put custom kernel config files at a
subdirectory of /root, but personally found this more confusing in the
long run.  In about 5 years of running FreeBSD and building custom
kernels I have never deleted the entire /usr/src directory and
subsequently realized I had blasted my only copy of a custom kernel
config.  I personally found it to be one more layer of indirection that
hassled me from time to time, and it was one more thing I had to
remember.  If I were worried about the possibility of deleting my custom
kernel config files accidentally while one day recursively removing
/usr/src, then I would personally prefer to just copy that kernel config
to some other location for safe keeping.  It's just my personal
preference.  One of the things that is so distressing to me about
certain GNU/Linux distros is all the levels of indirection and seeming
complexity - symlinks pointing to symlinks and things of that nature.

--
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040824/f761e27d/attachment.bin


More information about the freebsd-questions mailing list