Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2007 11:56:27 -0800 (PST)
From:      Dino Vliet <dino_vliet@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   advice on compiling a new kernel & upgrading to the latest sources
Message-ID:  <73161.84816.qm@web51108.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi folks,
from different sources I have written my steps to
compile a new kernel & upgrade to the latest sources.
Can anyone have a look into them and tell me if I
won't run into troubles or if there are better ways to
achieve the same?

Upgrade procedure to the newest freebsd kernel and
userland.

1.Make sure that the cvsup file (src-supfile) is
adjusted in the right way.
2.Cd /usr/src/sys/amd64/conf which contains the file
MYKERNEL
3.MYKERNEL is then adjusted, if necessary and copied
to root/kernels/MYKERNEL
4.Copy everything under /etc to /root/etc
5.cvsup -g -L 2  src-supfile 
6.cd /usr/src
7.make cleanworld 
8.make buildworld
9.make buildkernel KERNCONF=MYKERNEL
10.Go into single user mode
11.If the new kernel doesn't boot reboot and hit the
space bar at the boot prompt and boot kernel.old If
the new kernel boots OK mount -a 
12.cd /usr/src

13.make installkernel KERNCONF=MYKERNEL
14.Go into single user mode
15.cd /usr/src
16.mergemaster -p
17.make installworld
18.mergemaster -i
19.exit and reboot

Is this ok? Or have I forgot about something?
I'm running a freebsd 6.1 machine on a amd64 system
with an adjusted kernel called MYKERNEL.

Thanks inadvanced,
Dino


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com



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