Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2014 08:52:29 +0100
From:      krad <kraduk@gmail.com>
To:        Allan Jude <allanjude@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Upgrading an i386 machine from amd64.
Message-ID:  <CALfReycd5q4CyZ4Zno-tMQN9PCUJB5_hv59LizA=Mf5bD4M6Ew@mail.gmail.com>
In-Reply-To: <538D50B3.300@freebsd.org>
References:  <538B61EC.9000403@mu.org> <5B82C892-12A4-4251-B3D2-A6D3EAAF90F9@dataix.net> <538B6FCC.9090301@mu.org> <B007D0DE-EFC1-49D8-9E6A-F4A24B66DB8C@dataix.net> <538B761C.7060300@mu.org> <50E51CBE-7F7B-4093-86A5-320ACE81072E@dataix.net> <538B7937.2030104@mu.org> <098847BE-04B5-4E6F-98B8-87B5C7055C69@mail.turbofuzz.com> <538B8494.3040701@mu.org> <7977A65A-5ABE-49DD-8E76-074B54943D64@mail.turbofuzz.com> <538BDDF5.708@mu.org> <409ccb2cf1dc027bdf6ff7ccbda08723.authenticated@ultimatedns.net> <538C8DDF.3030602@mu.org> <538D4C93.1060808@freebsd.org> <B9DED949-63C2-452B-A2F5-A0D00065A64A@mu.org> <538D50B3.300@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
sorry im coming in a bit late here but i have done similar in the past.
What i did was build the binaries on another computer and then do an
install world and kernel with DESTDIR set to say /build/. I then rsynced
that dir from the build server to the target system. Its better if you can
do this via a liveusb image if you can but it should be ok if you cant.
Just make sure rsync is built statically to minimize problems. Once the
binaries (and src and obj) were copied over, i would then reboot the system
to single user mode. There I would rerun the installworld and kernel again
to to make sure everything was done correctly. YOu can then clean up with
delete-old etc. Finally reinstall all your ports.


On 3 June 2014 05:36, Allan Jude <allanjude@freebsd.org> wrote:

> On 2014-06-03 00:31, Alfred Perlstein wrote:
> >
> >
> >> On Jun 2, 2014, at 9:18 PM, Julian Elischer <julian@freebsd.org> wrote:
> >>
> >> On 6/2/14, 10:44 PM, Alfred Perlstein wrote:
> >> [...]
> >> so I guess we really should have a separate install-tools target along
> with an INSTALL_TARGET that populates it with cross built tools kind of
> like the universe target builds everything. but that's way beyond my
> makefile foo.
> >>
> >>
> >
> > Yes. That would solve my specific problem.
> >
> > -Alfred
> > _______________________________________________
> > freebsd-hackers@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to "
> freebsd-hackers-unsubscribe@freebsd.org"
> >
>
> I seem to recall, that when I needed to upgrade an i386 machine to
> amd64, did the following:
>
> mv /boot/kernel /boot/kernel.old
> tar -xJf kernel.txz -C /
>
> rebooted on to the new kernel
>
> tar -xJf base.txz --exclude ./etc -C /
>
> then used mergemaster to update my /etc
>
> I seem to recall having to manually remove some schg flags. I did a
> fresh buildworld etc after I got the system running amd64, so that
> restored those flags after.
>
> --
> Allan Jude
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReycd5q4CyZ4Zno-tMQN9PCUJB5_hv59LizA=Mf5bD4M6Ew>