Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2003 22:31:35 +0200
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        michal.kolodziejski@pjwstk.edu.pl
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: [bug report] FreeBSD 5.0-RELEASE
Message-ID:  <20030318203135.GF1825@gothmog.gr>
In-Reply-To: <3E765800.5050309@pjwstk.edu.pl>
References:  <3E765800.5050309@pjwstk.edu.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-03-18 00:19, Micha? Ko?odziejski <michal.kolodziejski@pjwstk.edu.pl> wrote:
> SYSTEM: FreeBSD-5.0RELEASE (from an ISO image)
> MACHINE: i386
> PROBLEM: after cvs'uping (16-03-2003) sources, and building world,
> system can't boot up clean -> new kernel is hanging on "mounting
> filesystem from ufs:XXX" message, the old kernel boots, and
> complains about FSCK "-F" missing flag, thus it can't check "/" and
> thinks it's not been cleanly unmounted.

Have you carefully followed the instructions of /usr/src/UPDATING?
The part of /etc/rc that calls fsck with -F is a rather old set of
commands.  It should definitely be part of your 5.0-RELEASE
installation:

1.265        (dd       22-May-01):      [Yy][Ee][Ss])
1.265        (dd       22-May-01):              fsck -F -p
1.265        (dd       22-May-01):              ;;
1.265        (dd       22-May-01):      *)
1.265        (dd       22-May-01):              fsck -p
1.265        (dd       22-May-01):              ;;
1.265        (dd       22-May-01):      esac

> RESULT: new kernel hangs. old kernel boots only in single user mode,
> and stops processing rc files after FSCK complaint.

> SOLUTION: after short battle I have managed to change the parameter
> "-F", I assumed the "-f" flag is correct, because I couldn't find
> "-F" option in an manpage.

It is there.  It was there on FreeBSD 5.0-RELEASE too.  The
description of -F has been a part of fsck(8) since 25-Apr-2001 :/

Are you sure you're trying to upgrade to -CURRENT from 5.0-RELEASE?

- Giorgos


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




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