Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 14:26:21 -0600
From:      Marius Strom <marius@marius.org>
To:        stable@freebsd.org
Subject:   4.0-REL to RELENG_4_5_0 upgrade
Message-ID:  <20020308202621.GR85461@marius.org>

next in thread | raw e-mail | index | archive | help
I've read a bit about this in the archives, and am now faced with doing
this myself.  Not wanting to jump into the branding issues myself, I
wanted to consult the list first.

Just to verify some of the possibilities:

1) installkernel from 4_5_0, reboot to single user, installworld,
continue happily.  Does the 4.5 kernel understand the old method of ELF
branding?

2) installkernel, installworld (which will die due to branding.)  reboot
to single user, finish installworld.  This has been reported to work,
but purposefully starting an installworld that will die just plain
scares me.

3) Intermediate jump to 4_1_1 or 4_2_0.  I've heard differing reports as
to which of these to jump to.  Anyone know a definite answer?

Option 3 is probably the safest bet and what I will end up doing.  But
it seems to me that if a 4_2_0 kernel can understand the old brandings,
then a 4_5_0 should do the same, so maybe #1 is a viable option.

Reinstalling the base system is not an option, this must be a source
install.

Incidentally, on the 4.0-RELEASE system in question with RELENG_4_5_0
sources:

# cd /usr/obj/usr/src/usr.bin/brandelf
# /usr/bin/brandelf /bin/ls
File '/bin/ls' is of brand 'FreeBSD'.
# ./brandelf /bin/ls
File '/bin/ls' is of brand 'SVR4' (0).
# /usr/bin/brandelf /usr/obj/usr/src/bin/ls/ls
File '/usr/obj/src/src/bin/ls/ls' is of brand 'FreeBSD'
# ./brandelf /usr/obj/usr/src/bin/ls/ls
File '/usr/obj/src/src/bin/ls/ls' is of brand 'FreeBSD' (9)
#

Thanks for any pointers.

-- 
                       /------------------------------------------------->
Marius Strom           | Always carry a short length of fibre-optic cable.
Professional Geek      | If you get lost, then you can drop it on the
System/Network Admin   | ground, wait 10 minutes, and ask the backhoe
http://www.marius.org/ | operator how to get back to civilization.
                       \-------------| Alan Frame |---------------------->

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




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