Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2014 09:09:01 -0800
From:      "Chris H" <bsd-lists@bsdforge.com>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: best overall upgrade from 8.x?
Message-ID:  <971085e211564c84a0460ca945eda837@ultimatedns.net>
In-Reply-To: <CA%2BtpaK37cUgT9MG2t%2BaNfd=1-FMWLnj2fmGX9Pj=JG2BZuTzsQ@mail.gmail.com>
References:  <CA%2BE3k93YhbfCN1La8sJO%2BWA-%2BeBVnSHNO-JjCsd%2BNs5%2BJq6iNw@mail.gmail.com> <CAN6yY1tcgrO4ZgOj4feFA3hcVj%2BgP0Sq5gPcu6xmFgrONaUq6Q@mail.gmail.com> <54673CA1.5020008@netfence.it> <20141115125347.GC16633@swelter.hanley.stade.co.uk> <B40697E4-6CBD-4F88-805F-654E9C3E8238@FreeBSD.org>, <CA%2BtpaK37cUgT9MG2t%2BaNfd=1-FMWLnj2fmGX9Pj=JG2BZuTzsQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Nov 2014 09:26:22 -0600 Adam Vande More <amvandemore@gmail.com>
wrote

> On Sat, Nov 15, 2014 at 9:20 AM, Dimitry Andric <dim@freebsd.org> wrote:
> 
> > On 15 Nov 2014, at 13:53, Adrian Wontroba <aw1@stade.co.uk> wrote:
> > >
> > > On Sat, Nov 15, 2014 at 12:44:33PM +0100, Andrea Venturoli wrote:
> > >> On 11/15/14 05:48, Kevin Oberman wrote:
> > >>> I'd wait a month or so and, if no problems that might impact you pop
> > up,
> > >>> I'd go with 10.1
> > >> Uh... is direct upgrade (using sources) possible from 8.4 to 10.1?
> > >> No need to step through 9.x?
> > >
> > > Even the move from 9.2 (a near year old 9/stable) to 10.1 (stable/10 as
> > > of about 3 weeks ago) is slightly problematic.
> > >
> > > Following the normal upgrade procedure of installkernel and then
> > > rebooting with the userland untouched runs into a problem whereby
> > > rc.conf falls apart with a shower of eval errors, no networking, ...
> > >
> > > I do not know the cause.
> >
> > I almost certainly know the cause: you are supposed to reboot into
> > single user mode after installkernel.
> 
> 
> This is almost certainly not the cause.  Something else in the horked up
> given procedure or some omission of facts is the likely cause. Fortunately,
> nice people have already created documentation on how to do this:
> 
> https://www.freebsd.org/doc/handbook/makeworld.html
FWIW
The following has worked perfectly for ~10yrs.

NOTE personal experience indicates that regression issues introduced
by pkg(8), makes >=8.3-* the minimum starting point. YMMV

I have used the following for ~10yrs. w/o issue (comments added for
*hopeful* clarity).

The IMMEDIATELY following, is only relevant RE-building world/kernel:
cd /usr/obj
chflags -R noschg *
rm -rf *


cd /usr/src
make buildworld

NOTES:
SINGLE CPU: make -j4 buildworld

NOTE:
MULTI CPU: make -j(6 through ??) buildworld

# pre version 9
make kernel-toolchain

make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=<your_kernel_name_here>
make -DALWAYS_CHECK_MAKE installkernel KERNCONF=<your_kernel_name_here>

reboot (in single user mode)

fsck -p (optional, but a good idea)
mount -u /
mount -a -t ufs
swapon -a (most cases; optional)

adjkerntz -i (not always necessary, but DO check current time/date, just in
case)

mergemaster -p

cp -Rp /etc /etc.old

cd /usr/src

make installworld

mergemaster -F
or mergemaster -vF (my personal choice)
or mergemaster -cvF

make delete-old

reboot

HTH

--Chris

> 
> 
> -- 
> Adam
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"





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