ident name and kernel 10

Mohsen Pahlevanzadeh mohsen at pahlevanzadeh.org
Mon Aug 11 03:37:10 UTC 2014


Dear all,

I have the following system:
###################################
root at bsd10:/home/mohsen # uname -a
FreeBSD bsd10 10.0-RELEASE FreeBSD 10.0-RELEASE #0: Mon Aug 11 00:40:50
UTC 2014     mohsen at bsd10:/usr/obj/usr/src/sys/GENERIC  i386
####################################

According to freebsd handbook i compiled kernel and but generic kernel
exists.

my instruction:
###################################
cd /usr/src/sys/i386/conf/
mkdir /root/kernels
cp GENERIC /root/kernels/MYK
ln -s /root/kernels/MYK
ee /root/kernels/MYK  #### I changed ident from GENERIC TO MYK
ee /root/kernels/MYK  ## add the following options for ipfw firewall(at
end of file):
////////////////////////////////
options    IPFIREWALL
options    IPFIREWALL_VERBOSE
options    IPFIREWALL_VERBOSE_LIMIT
options    IPFIREWALL_DEFAULT_TO_ACCEPT
options    IPDIVERT
/////////////////////////////
make LINT
cd /usr/src/
make buildkernel KERNELCONF=MYK
make installkernel KERNELCONF=MYK
init 6
##########################################


after boot, `uname -i` returns GENERIC ,
My arch is i386: `uname -p` returns i386 ,
Where's my problem?

Yours,
Mohsen




More information about the freebsd-questions mailing list