Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2008 23:08:01 +0100
From:      Daniel Bye <freebsd-questions@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: buildworld, buildkernel, installkernel, shutdow now, fsck -p  -- NO WRITE ACCESS
Message-ID:  <20080804220801.GA6648@torus.slightlystrange.org>
In-Reply-To: <48975FF8.6010207@guice.ath.cx>
References:  <48975FF8.6010207@guice.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help

--RnlQjJ0d97Da+TV1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 04, 2008 at 04:00:56PM -0400, freebsd_user@guice.ath.cx wrote:
> I do not code in any way.  With that being said, should you be able to=20
> help please do so with the knowledge that I can not code.  I'm following=
=20
> the freebsd handbook when the following occurs.
>=20
> -- separate fresh 'dangerously dedicated' installs of both 7.0 and=20
> 6.3-RELEASE on the same machine, yield the following:
> In multi-user mode make buildworld, buildkernel and installkernel.
> Shutdown now

This will only drop you to single user mode with all filesystems still
mounted. It is not a good idea to run fsck on a mounted filesystem...

Instead, you need to run

# shutdown -r now

to REBOOT the machine with the newly installed kernel. At the loader
menu, press `4' to boot into single user mode (at this point, only /
will be mounted, so your `fsck -p' should work just fine).

Now procede with the next steps...


> -- fsck -p
> /dev/ad4s1a: NO WRITE ACCESS
> /dev/ad4s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
>=20
> This happens each and everytime no matter if I install from iso -or- ftp=
=20
> (passive). After numerous attempts the only way to get past this is=20
> 'fsck -y'. Could the fbsd handbook section I'm following need updating=20
> or is there another issue taking place here?

I think you're getting confused by the instructions (don't have a browser
to hand so can't check the handbook, so apologies if this isn't the case).
IIRC, the handbook suggests you drop to single user BEFORE you begin, in=20
order to ensure nothing else is running while you run the build. In my
experience, this has not been necessary. Even still, after the installkernel
you MUST reboot the newly installed kernel before you continue.

HTH

Dan

--=20
Daniel Bye
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

--RnlQjJ0d97Da+TV1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkiXfcEACgkQixf5fBYiFmqYbgCfbtbJyBsyC4RiCxO4NnAhiYmX
0eAAoLv6tE7eZ5rVAQmyxGF2DXGt6s0E
=yYcp
-----END PGP SIGNATURE-----

--RnlQjJ0d97Da+TV1--



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