The Fine Print: The following comments
are owned by whoever posted them.
( Add a Reply )
|
Re: Howto: Mergemaster and Make World.
by opus on Saturday July 24, @07:23AM
|
| Before you do this, be sure you read "/usr/src/UPDATING". Much to my dismay, I forgot to and ended up with a wreck.
[snip]
20031112:
The statfs structure has been updated with 64-bit fields to
allow accurate reporting of multi-terabyte filesystem
sizes. You should build world, then build and boot the new kernel
BEFORE doing a `installworld' as the new kernel will know about
binaries using the old statfs structure, but an old kernel will
not know about the new system calls that support the new statfs
structure.
Note that the backwards compatibility is only present when the
kernel is configured with the COMPAT_FREEBSD4 option. Since
even /bin/sh will not run with a new kernel without said option
you're pretty much dead in the water without it. Make sure you
have COMPAT_FREEBSD4!
Running an old kernel after a `make world' will cause programs
such as `df' that do a statfs system call to fail with a bad
system call. Marco Wertejuk also reports
that cfsd (ports/security/cfs) needs to be recompiled after
these changes are installed.
****************************DANGER*******************************
DO NOT make installworld after the buildworld w/o building and
installing a new kernel FIRST. You will be unable to build a
new kernel otherwise on a system with new binaries and an old
[/snip]
|
[
Add a Reply to this ] |
Re: Howto: Mergemaster and Make World.
by Understudy on Saturday July 24, @12:41PM
|
You bring up a good point if you are running a 5.x branch of FreeBSD. Please note this does not apply to the 4.x branch. I haven't made the swing up to 5.x yet. And from what I am gathering I would be better off doing a fresh install of 5.x than a make world. I would just have to copy over my custom files and directories. I am waiting for 5.x to release a STABLE before I do.
|
[
Add a Reply to this ] |
Re: Howto: Mergemaster and Make World.
by anonymous on Thursday September 22, @04:28AM
|
make install kernel KERNCONF=KERNNAME
should be
make installkernel KERNCONF=KERNNAME
|
[
Add a Reply to this ] |
Re: Howto: Mergemaster and Make World.
by Undestudy on Thursday September 22, @06:46AM
|
You are correct. The typo doesn't exist in the article just in this post. I can't correct here but it is correct in the story.
|
[
Reply to this ]
|
|
Re: Howto: Mergemaster and Make World.
by Pierre on Sunday March 19, @10:50AM
|
Anybody knows how different it is to do a make world in freebsd 6 than what Understudy does in Freebsd 4?
|
[
Add a Reply to this ] |
Re: Howto: Mergemaster and Make World.
by Understudy on Sunday March 19, @11:30AM
|
The steps for FreeBSD 6 are similar but in a different order.
cvsup stable-supfile
make buildworld
make kernel KERNCONF=YOUR_KERNEL_HERE
mergemaster -p
make installworld
mergemaster -i
<reboot>
Hope that helps.
Brendhan
|
[
Reply to this ]
|
Re: Howto: Mergemaster and Make World.
by Pierre on Sunday March 19, @12:24PM
|
thank you so much... I used your howto a lot for my v4 machines (after you linked it to me in an IRC chat) and I got a little lost when I tried to do it on my v6 and could not find a make.conf ;)).
Thanks again!
Pierre
|
[
Reply to this ]
|
|
The Fine Print: The following
comments are owned by whoever posted them.
( Article Reply )
|