Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 04:18:29 -0400
From:      parv <parv_fm@emailgroups.net>
To:        Charles Pelletier <fozekizer@attbi.com>
Cc:        f-questions <freebsd-questions@freebsd.org>
Subject:   Re: upgrading and updating .... extremely complicated for me.
Message-ID:  <20020912081829.GB52964@moo.holy.cow>
In-Reply-To: <008301c2561f$908efca0$32040101@hume>
References:  <20020906190323.71502.qmail@web20108.mail.yahoo.com> <1031341376.23123.5.camel@laptop.aplusdata.com> <20020906200951.GF83171@freepuppy.bellavista.cz> <20020906215142.GA83894@moo.holy.cow> <008301c2561f$908efca0$32040101@hume>

next in thread | previous in thread | raw e-mail | index | archive | help
please do not top post.  it has been rearranged to sent to the list
this time.

also, don't send me private messages related to my replies to
somebody else's query.  at least copy the mailing list too.



in message <008301c2561f$908efca0$32040101@hume>,
wrote Charles Pelletier thusly...
>
> parv wrote:
> >
> >      0 # (be root)
> >      1 # cd /usr/src
> >      2 # make buildworld
> >      3 # make buildkernel KERNCONF=<the-file-with-your-kernel-config>
> >      4 # make installkernel KERNCONF=<the-file-with-your-kernel-config>
> >      5 # shutdown -r now
> >      6 # make installworld
> >      7 # mergemaster -i
>
> i was told never to reboot until the kernel rebuild is
> finished..does that only apply for the older system of cvsupping
> and rebuilding?

reason for booting w/ the new kernel (in single user mode) is to
verify that it works (before installworld).  if new kernel doesn't,
then the machine can be easily booted w/ the old world & old kernel;
fix the problems; try again.

otoh, if installworld was successful but new kernel doesn't boot,
then some utilities like ps, top don't show the correct results.

search the -stable archive where above point has been explained many
times.


> i notice that 3 and 4 are new..something i have yet to try.  my
> usual way has been thus:
>
> 1. cvsup cvsupfile
> 2. make -j4 buildworld
> 3. make installworld
> 4. make new kernel:  (/usr/src/sys/i386/conf/)
>
>  cp OLDKERNEL NEWKERNEL
>  ee NEWKERNEL (replace name of oldkernel with newkernel name)
>  save
>  run /usr/sbin/config NEWKERNEL
>  make depend ../../compile/NEWKERNEL
>  make
>  make install
>
> 5. reboot

you mean the kernel building steps?  since version 4.0, those (new
steps) apply after the src has been updated.

details are in the -stable archive (if there is one), or wait for
somebody else would to elaborate.


 - parv

--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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