Help with build world - Can't mount root after bootin from /k ernel

Kevin Oberman oberman at es.net
Thu Oct 16 08:51:56 PDT 2003


> From: Jason Dictos <jason.dictos at tapeware.com>
> Date: Thu, 16 Oct 2003 08:43:22 -0700
> 
> Hello,
> 
> 	I had freeBSD 5.1 installed, used cvsup on the stable branch, then
> built world.
> 
> Ok so disk 2 is the fix it disc, I'll pop that sucker in and go from there.

OK. Does that mean you were trying to downgrade from 5.1 to STABLE? If
so, that is not supported and the odds of it working are not
great. Most notably, the loader looks for the kernel in a different
place (/boot/kernel/kernel instead of /kernel) and V5 defaults to UFS2
partitions when you newfs. (V4 does not understand UFS2, so that would
explain the failure to mount root.)

The UFS2 issue is the big one. I don't know any way around this except
to make a set of UFS1 partitions on either a different slice or a
different disk and use dd or dump/restore to get your file systems
mountable under V4. Then re-build the loader and that MAY get you
bootable, but the files in /etc and some other places may still haunt
you. A clean install is probably far easier (although you will learn a
lot about FreeBSD if you do try to downgrade.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634


More information about the freebsd-stable mailing list