|
Author: Joe Kelsey
Date: 14-03-01 17:47
I think that your discussion of how to perform the buildworld, buildkernel, installkernel, installworld process is good, but misses several important technical points. The problem is the order in which you say to perform the steps, and the fact that you do not say anything about dropping to single-user mode to do the installworld.
The correct order of operations is:
1) buildworld
2) buildkernel
3) installkernel
4) reboot -s
5) installworld
6) mergemaster
7) reboot
The reason for the order is that you have to buildkernel with the tools produced by the buildworld, and then installkernel before installworld to make sure that the new system services are available before they are needed by the newly built programs. Often, when just going from one cvsup to another, the distinction required by installing kernel before installing world is moot, but it is especially important when going from, say 3.4 to 4.x. The -stable mailing list recently had a very long discussion about this whole subject that everyone may want to review.
/Joe
|
|
Reply To This Message
|
|
Author: k
Date: 14-03-01 18:57
On the same topic, I had a question that might save me a few
minutes on upgrading. When cvsuping, say from 4.2 to 4.3, is it
necessary to rebuild the kernel from the new version's config
file? I always have done it out of habit, but was wondering if
I could use my earlier version's config file to build against
the new source (of course assuming no hardware changes, etc
on the machine).
Thx
|
|
Reply To This Message
|
|
Author: Dan Langille
Date: 14-03-01 23:50
<p>Thanks. I have received email about that. An article update is coming.</p>
<p>As for single user mode, I understood that to be optional. has -stable come up with something new and the handbook is now out of date?</p>
|
|
Reply To This Message
|
|
Author: Dan Langille
Date: 15-03-01 00:29
<p>You should do a diff between the two GENERICs. You can use the CVS Respository's www interface for that. And make any changes which may be required. I usually use my old kernel.</p>
<p>but read /usr/src/UPDATING to be sure.</p>
|
|
Reply To This Message
|
|
Author: Dan Langille
Date: 15-03-01 00:42
I've updated both articles:
<ul>
<li><a href="http://freebsddiary.org/makeworld-2boxes.html">Build world on your fast box, install on your slow box</a></li>
<li><a href="http://freebsddiary.org/makeworld-script.html">The make-world script</a></li>
</ul>
One suggestion I have not yet included is the installation of a new kernel.GENERIC. That can always be helpful. If you've really buggered things up...
|
|
Reply To This Message
|
|
Author: Daniel Schrock
Date: 16-03-01 00:38
personally, I've never rebooted to single-user mode prior to 'make installworld' and have never had a problem.
|
|
Reply To This Message
|
|