|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
FreeBSD 7.0 kernel building...
Hi!
I was gone for a while, but now I'm back. I reinstalled my FreeBSD 7.0 system and compiled a custom kernel using the handbook. Everything went fine, but here's what I've noticed after a reboot. I installed my new kernel like this (sources for everything are already installed on my system): Code:
# mkdir /root/kernels # cd /usr/src/sys/i386/conf/ # cp GENERIC /root/kernels/TSUNAMI_i386 # ln -s /root/kernels/TSUNAMI_i386 --- edited my TSUNAMI_i386 config file here --- # cd /usr/src # make buildkernel KERNCONF=TSUNAMI_i386 # make installkernel KERNCONF=TSUNAMI_i386 Why is that? Any ideas? Thanks in advance!
__________________
FreeBSD Handbook - The Power to Serve! |
|
||||
You have compiled just a kernel, so uname -a will show you newer kernel, but userland is still "old" and dmesg is part of FreeBSD's base system userland.
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
Thanks for your reply, vermaden!
Yes, uname -a shows my new kernel. And is it ok that dmesg shows GENERIC? And how to fix it so dmesg shows my new kernel? Thanks again.
__________________
FreeBSD Handbook - The Power to Serve! |
|
||||
Do also make buildworld and make installworld steps according to FreeBSD Handbook.
I generally do it that way: Code:
# cd /usr/src # make buildworld # make kernel KODIR=/boot/testing # nextboot -k testing # reboot --- # cd /usr/src # mergemaster -p # make installworld # mergemaster -iU # make delete-old (optional) # make delete-old-libs (optional) # cd /boot # mv kernel old # mv testing kernel # reboot
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
Thanks! Now everything is fine!
__________________
FreeBSD Handbook - The Power to Serve! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FreeBSD Kernel Optimization | komodo | FreeBSD General | 5 | 22nd June 2009 07:15 AM |
Building a Server with FreeBSD 7 | anomie | Book reviews | 10 | 16th April 2009 01:13 PM |
Updating FreeBSD and Building a Custom Kernel | bsdforlife | FreeBSD Installation and Upgrading | 8 | 16th August 2008 02:45 AM |
Understanding the FreeBSD kernel | TomAmundsen | FreeBSD General | 3 | 7th July 2008 02:48 PM |
Building Mozilla Firefox 3 Beta 5 on FreeBSD | vi5in | FreeBSD General | 6 | 12th May 2008 11:25 PM |