Date: Fri, 7 Aug 2009 17:40:09 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Identry <jalmberg@identry.com> Cc: freebsd-questions@freebsd.org Subject: Re: Boot failure Message-ID: <20090807154009.GB39621@slackbox.xs4all.nl> In-Reply-To: <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--aM3YZ0Iwxop3KEKx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 07, 2009 at 11:25:48AM -0400, Identry wrote: > >> So I guess the question now is, if I can mount it manually, why > >> doesn't it mount during the boot process? > >> > > I'd give it an fsck or two (more than one has been needed once or > > twice) >=20 > So I've been thinking about how to run fsck... >=20 > At the moment, I have to boot from an install cd, go into fixit mode, > and mount filesystems by hand. I am mounting them to a mount point > like /mnt/root and /mnt/home, etc. >=20 > Do I just do a command like: >=20 > fsck /mnt/root >=20 > Should I use any flags? Should I mount the filesystems read write or read= only? You should never fsck a filesystem when its mounted! I think you should start by reading the manual pages for fsck and fsck_ffs. I would start with 'fsck_ffs -fp /dev/yourdevicenode'. If this command quits with errors, you might try fsck_ffs without flags, or 'fsck_ffs -y' to have it try and repair all damage that it finds. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --aM3YZ0Iwxop3KEKx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkp8StkACgkQEnfvsMMhpyWo3wCfTbFE8JFrBROFtlijyEuDVnFx JJYAn2YLTWYZadMzBF79id+XEyPpN5zI =6VCw -----END PGP SIGNATURE----- --aM3YZ0Iwxop3KEKx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090807154009.GB39621>