6.2 STABLE to 6.2 RELEASE problem

Philip van Ulden pvanulden at gmail.com
Mon Apr 13 19:29:19 UTC 2009


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.


More information about the freebsd-questions mailing list