Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2009 16:29:03 -0230
From:      Philip van Ulden <pvanulden@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   6.2 STABLE to 6.2 RELEASE problem
Message-ID:  <556c57740904131159o6c8b774clf03690b1022d5869@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I was wondering if anyone might have some insight into this problem
I'm having.  I've downgraded a 6.2 STABLE system to 6.2 RELEASE for
the purpose of being able to upgrade it via freebsd-update.

I followed the steps as detailed here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

To summarize, the currently recommended way of upgrading FreeBSD from
sources is:

# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# shutdown -r now

    Note: There are a few rare cases when an extra run of mergemaster
-p is needed before the buildworld step. These are described in
UPDATING. In general, though, you can safely omit this step if you are
not updating across one or more major FreeBSD versions.

After installkernel finishes successfully, you should boot in single
user mode (i.e. using boot -s from the loader prompt). Then run:

# adjkerntz -i
# mount -a -t ufs
# mergemaster -p
# cd /usr/src
# make installworld
# mergemaster
# reboot

Now, after I reboot, I get an error when it tries mounting /usr:

NO WRITE ACCESS
INCONSISTENCIES FOUND, run fsck MANUALLY!

So, I did that and it found some free block inconsistencies and fixed
those but it is still bailing when it tries mounting /usr on the
reboot. I can boot to single user mode and run fsck -p and that is
fine.  I can mount the partition manually and browse through the files
fine.  One other weird thing is that it seems to mount /dev/md0 on
/var as well which doesn't look right.  Nothing in /etc/fstab about
it.  Maybe some other file that got mixed up during mergemaster?  I
said "fix later" for all files mergemaster came back with.

Does anyone have any suggestions?

Thanks in advance!
Phil.



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