From owner-freebsd-questions@FreeBSD.ORG Fri Nov 28 15:35:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 360FD1065672 for ; Fri, 28 Nov 2008 15:35:42 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B3AC28FC12 for ; Fri, 28 Nov 2008 15:35:41 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L65NY-0004gQ-74 for freebsd-questions@freebsd.org; Fri, 28 Nov 2008 15:35:36 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Nov 2008 15:35:36 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Nov 2008 15:35:36 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 28 Nov 2008 16:35:28 +0100 Lines: 65 Message-ID: References: <492FFDF8.1020705@videotron.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig170FF6C7965DB4D03D59129C" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.18 (X11/20081125) In-Reply-To: <492FFDF8.1020705@videotron.ca> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: repair v.7 installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2008 15:35:42 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig170FF6C7965DB4D03D59129C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable PJ wrote: > I believe that my installation should be salvageable but I do not know > how to phrase my search question. > Here is the problem: > Apparently due to some connector problem in the computer one or some > files were damaged. I ran a regenerating program on the disk and all > sectors are readable. > How can I locate the problem files and repair or reinstall them without= > damaging other files? Try reading all the files on the drive, something like > find / -exec cat "{}" > /dev/null ";" See if any files error out. > From trying to boot the system, it appears that the problem is related > to the login files: I boot to safe mode and get the logon prompt which > is not accepted. I then get to the single user mode and can read the Boot to a single-user mode and see if /etc/passwd and /etc/master.passwd are ok. If so, regenerate the databases (easiest way is to run vipw). > contents of the root (top or main) directory and subdirectories. > The command "df" returns "-70016" under Avail and "104%" under Capacity= , > Mounted on / . This doesn't necessarily mean there's an error. If you filled the file system past its reserved space limit, it's normal to get negative available bytes and over 100% usage. See also if you have a /lost+found directory. > Or is it possible to reinstall the system from the installation CD? I > would like to avoid having to reinstall all the programs that run on > this local development server - Apache, Samba, Cups, php, pstgresql, et= c. It is possible, with care, to reinstall the system from the CD media, and keep all user settings. /usr/local/* will not be touched in any case when performing an upgrade. --------------enig170FF6C7965DB4D03D59129C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJMA/AldnAQVacBcgRAtxMAKCpERhbvToJv0ufp/QSpq4H+m6YYQCdHofE SjW4t7HZU+v+1JlWShOdLUM= =U0WT -----END PGP SIGNATURE----- --------------enig170FF6C7965DB4D03D59129C--