This is a remote box, with noone around.

-----Original Message-----
From: Kent Stewart 
Sent: Wednesday, February 26, 2003 10:42 AM
Subject: Re: 4.7 Upgrade issue - Daniel Bye

On Wednesday 26 February 2003 12:13 pm, rew wrote:
> I upgraded my system several times before,
> are you saying that one is unable to run successfuly 'make
> installworld' until the new kernel is booted?
> has anyone even try to look at the error?

I have gone off list because it is rehasing old subjects.

That isn't what he was saying. You boot to single user mode on the new 
kernel to test it. If something bad happens, re-booting using 
kernel.old is really easy. Reinstalling an old version is frequently 
called doing a clean install.

Single user mode doesn't start any processes. There isn't a problem with 
the mixed up user world until you start running in multi-user mode. A 
shutdown now is not the same as booting in single user mode.

I did all 4 in multi-user mode for a long time. It always worked but 
then, one day, there was a problem with the kernel and I realized that 
my method was dangerous to my systems operational health. In my mind, 
doing a make world is even more dangerous to your system operation 

Have a good day,


> -----Original Message-----
> From: Daniel Bye
> Sent: Wednesday, February 26, 2003 10:16 AM
> Subject: Re: 4.7 Upgrade issue
> On Wed, Feb 26, 2003 at 04:59:53PM +0200, Willie Viljoen wrote:
> > On Wednesday 26 February 2003 16:50, someone, possibly Daniel Bye, 
> > > Yes, but how is that so different from installing a new world for
> > > an old kernel?
> >
> > The problem with a new world on an old kernel is that libraries in
> > your world may have changed with the upgrade. If a library that
> > interfaces directly with some feature in the kernel is changed, and
> > is expecting the change to be present in the kernel, you will
> > almost certainly have trouble with it.
> Agreed, but in this context, I think we are talking about running the
> disparate kernel and world, in either event, only as long as it takes
> to get both parts, the new kernel and the new world, installed. 
> Surely, an old world on a new kernel will have the exact same
> problems (or the exact opposite problems?), in that newly-built
> programs such as ps and top may have been altered to take account of
> new kernel memory structures etc, which won't be available until the
> new kernel is installed and booted.
> Anyone who is up to using buildworld should have enough understanding
> to know that you have to build and install both parts for your system
> to work properly.
> > > When you have built a new kernel, you must reboot to start using
> > > it. After running make installworld with the new kernel, you have
> > > the new world installed as well.  Your new kernel will only be
> > > running for a few minutes with the old world, until the new one
> > > is fully installed.
> >
> > That is exactly how it should be.
> >
> > The tried and trusted method, that works for me, and is the
> > official method listed in the UPDATING file:
> >
> > cd /usr/src/sys/i386/conf && vi YOURCONFIG
> > cd /usr/src/ && make buildworld kernel KERNCONF=YOURCONFIG
> >
> > The kernel target is a combination of buildkernel and
> > installkernel. These targets are built in order and rely on the
> > previous target making it. Thus, buildworld must succeed for
> > buildkernel to begin, and after buildkernel has worked,
> > installkernel will run. Once this is completed, continue with:
> >
> > shutdown now
> >
> > You will now have dropped to single user mode, then, pick /bin/sh
> > for your shell (this is easier to use in single user than csh), and
> > run:
> >
> > cd /usr/src
> > mergemaster -p
> > make installworld
> > mergemaster
> > reboot
> >
> > You will now have a properly functioning and fully upgraded system.
> But even then, there will be some disparity between the running
> kernel and the running world, no?  This will only be resolved once
> all steps are complete, whichever particular sequence of events you
> follow.
> Dan

Kent Stewart
Richland, WA


 Get your FREE email, calendar, file storage, bookmarks, and other great services at
 http://www.doneasy.com ! doneasy.com "Where timesaving is priceless!"

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to