Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Nov 2005 14:24:12 -0600
From:      Chris <racerx@makeworld.com>
To:        Markus Buretorp <markus.buretorp@home.se>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: 5.4 -> 6.0 buildworld failure
Message-ID:  <436D14EC.1000705@makeworld.com>
In-Reply-To: <436D1376.5030909@home.se>
References:  <436D1376.5030909@home.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Markus Buretorp wrote:
> Hello,
> 
> I'm trying to upgrade from FreeBSD 5.4-STABLE to 6.0. I've done a cvsup
> to RELENG_6 and RELENG_6_0, I've ran make cleanworld, make clean, rm -rf
> /usr/obj/*, etc; but nothing helps.
> 
> This is the error
> 

I'm not entirely sure why so many users have so much troube upgrading.
The process is outlined well on the FBSD site and to surmise:

Assuming you have done your cvsup of the src tree:

# cd /usr/src/usr.sbin/mergemaster
# ./mergemaster.sh -p

Drop to Single User Mode:
As the superuser, you can execute:

# shutdown now

from a running system, which will drop it to single user mode.
Alternatively, reboot the system, and at the boot prompt,
enter the -s flag. The system will then boot single user.
At the shell prompt you should then run:

# fsck -p
# mount -u /
# mount -a -t ufs
# swapon -a

# cd /usr/obj
# chflags -R noschg *
# rm -rf *

# cd /usr/src

# make buildworld

# cd /usr/src
# make buildkernel KERNCONF=MYKERNEL
# make installkernel KERNCONF=MYKERNEL

# shutdown now

# fsck -p
# mount -u /
# mount -a -t ufs
# swapon -a

# cd /usr/src
# make installworld

# shutdown -r now

Done.

-- 
Best regards,
Chris

Nature always sides with the hidden flaw.



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