Help For upgrading Releng4.11 stable to 6.0 stable

1 view
Skip to first unread message

Yudhi Yuniadhi

unread,
Dec 28, 2005, 9:57:39 PM12/28/05
to
I have Machine 4.11 Stable. Now, I want upgrade to 6.0.
# uname -srm
FreeBSD 4.11-STABLE i386

How step for ugrade form 4.11 stable to 6.0 stable ????

How step is the same with use cvsup ???


Thanks a lot

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

Doug Barton

unread,
Dec 28, 2005, 10:04:02 PM12/28/05
to
Yudhi Yuniadhi wrote:
> I have Machine 4.11 Stable. Now, I want upgrade to 6.0.

The best, safest way to do this is to back up all your data, do the
reinstall from scratch, then restore your data.

Good luck,

Doug


--

This .signature sanitized for your protection

Edwin Groothuis

unread,
Dec 28, 2005, 10:04:37 PM12/28/05
to
On Thu, Dec 29, 2005 at 09:53:36AM +0700, Yudhi Yuniadhi wrote:
> I have Machine 4.11 Stable. Now, I want upgrade to 6.0.
> # uname -srm
> FreeBSD 4.11-STABLE i386
>
> How step for ugrade form 4.11 stable to 6.0 stable ????

Upgrade to 5.x first, then to 6.0.

Personally I've done a binary upgrade for all these situations and
a full rebuild of the ports collection after that was done. Long
live redundant services!

Edwin

--
Edwin Groothuis | Personal website: http://www.mavetju.org
ed...@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/

Ralf S. Engelschall

unread,
Dec 29, 2005, 8:13:01 AM12/29/05
to
On Thu, Dec 29, 2005, Yudhi Yuniadhi wrote:

> I have Machine 4.11 Stable. Now, I want upgrade to 6.0.
> # uname -srm
> FreeBSD 4.11-STABLE i386
>
> How step for ugrade form 4.11 stable to 6.0 stable ????

> How step is the same with use cvsup ???

1. Upgrade from 4 to 5 with a procedure similar to
http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-4x-5x.txt
2. Upgrade from 5 to 6 with the procedure
http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-5x-6x.txt

Directly jumping from 4 to 6 might work similar to the 4 to 5 procedure
but I've never tried this.
Ralf S. Engelschall
r...@engelschall.com
www.engelschall.com

Bruce A. Mah

unread,
Dec 30, 2005, 12:23:23 PM12/30/05
to
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigE7F22C6D539EE1D139A86AC1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

If memory serves me right, Ralf S. Engelschall wrote:

> Directly jumping from 4 to 6 might work similar to the 4 to 5 procedure
> but I've never tried this.

No. Source-upgrading to 6.X can only be done from 5.3-RELEASE (or newer
RELENG_5). So somebody trying to do a source upgrade from 4.X needs to
do it in two steps.

But in general for such a "large" upgrade I'd strongly urge backing up
all data, wiping the disk(s), and reinstalling + restoring. (For what
it's worth, I specifically recommended this in the 5.X Early Adopters
Guide.)

Cheers,

Bruce.

--------------enigE7F22C6D539EE1D139A86AC1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDtWvw2MoxcVugUsMRAp34AJoCnCo+xFzMJOYuHaeJ07HeavghkQCgpPYC
vlYex0hTbL4xOXwcZFZ4xrA=
=0foo
-----END PGP SIGNATURE-----

--------------enigE7F22C6D539EE1D139A86AC1--

Ralf S. Engelschall

unread,
Dec 30, 2005, 2:39:29 PM12/30/05
to
On Fri, Dec 30, 2005, Bruce A. Mah wrote:

> If memory serves me right, Ralf S. Engelschall wrote:
>
> > Directly jumping from 4 to 6 might work similar to the 4 to 5 procedure
> > but I've never tried this.
>
> No. Source-upgrading to 6.X can only be done from 5.3-RELEASE (or newer
> RELENG_5). So somebody trying to do a source upgrade from 4.X needs to
> do it in two steps.

Yes, but if you look at my 4 to 5 upgrade procedure in detail you will
see that it isn't just a straight-forward "build from source" approach.
It actually uses a rather strange but necessary "overwrite the running
system with new binaries and then rebuild from source" approach. And I'm
still not seeing why this wouldn't work for a direct 4 to 6 upgrade.

This upgrade approach is far away from being pretty and elegant, of
course. But it allows one to fully remotely upgrade a FreeBSD box
without access to the console and single user mode (which was the hard
problem I had to circumvent). And I still think it could be adapted for
a direct 4 to 6 jump, although I cannot recommend doing this approach if
it can be avoided.

> But in general for such a "large" upgrade I'd strongly urge backing up
> all data, wiping the disk(s), and reinstalling + restoring. (For what
> it's worth, I specifically recommended this in the 5.X Early Adopters
> Guide.)

Sure, at least if someone wants UFS2 this is the only possibility at all
AFAIK...

--
r...@FreeBSD.org Ralf S. Engelschall
FreeBSD.org/~rse r...@engelschall.com
FreeBSD committer www.engelschall.com

Reply all
Reply to author
Forward
0 new messages