From owner-freebsd-questions Wed Nov 6 21:22:25 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA28761 for questions-outgoing; Wed, 6 Nov 1996 21:22:25 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA28753 for ; Wed, 6 Nov 1996 21:22:22 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id VAA12088; Wed, 6 Nov 1996 21:22:20 -0800 (PST) Date: Wed, 6 Nov 1996 21:22:20 -0800 (PST) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: root cc: questions@freebsd.org Subject: Re: Bad Sectors In-Reply-To: <199611062306.PAA21512@cwo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 6 Nov 1996, root wrote: > I have FBSD 2.1.5R on a Zapa motherboard w/32MB RAM. The affected > disk is a EIDE drive. > > I have suddenly come across a bad sector that is affecting only 4 files > in the /usr/libexec directory. These are catman.local, makewhatis.local, > telnetd and ld.so. I have copied all the files, except these 4, into > a backup directory. bad144 and badsect do not work as I can't access > ld.so. How can I recover from this and mark the sectors bad? Try moving ld.so (or copying it from the Live Filesystem CD) to another directory, for example /usr/bin. Then try badsect. Be sure to read the man pages for those utils before using them. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major