From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 16:47:22 2007 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 1D12716A417 for ; Wed, 25 Jul 2007 16:47:22 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id EA6B713C468 for ; Wed, 25 Jul 2007 16:47:16 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from [127.0.0.1] ([74.56.154.114]) by VL-MO-MR003.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0JLQ001TIUMRZ6X2@VL-MO-MR003.ip.videotron.ca> for freebsd-questions@freebsd.org; Wed, 25 Jul 2007 12:47:16 -0400 (EDT) Date: Wed, 25 Jul 2007 12:47:19 -0400 From: Alain To: freebsd-questions@freebsd.org Message-id: <46A77E97.8080408@videotron.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Antivirus: avast! (VPS 000758-3, 07/22/2007), Outbound message X-Antivirus-Status: Clean User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) Subject: recover corrupt 6.2 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: Wed, 25 Jul 2007 16:47:22 -0000 It looks like the / partition is corrupt. For some incomprehensible reason (possibly & probably the sata hdd connectors which appear to me to be very "flimsy" as I have had this connection problem on several motherboards) the sata drive gets disconnected or partially so. This appeared a couple of times after bootup when the computer seemed to slow down and could not access files. Rebooting necessitated fsck and after sever reboots and hdd cable jigglings, things were almost normal; cron gave innumerable mail messages and pkg_info could not find or read +COMMENTS or such files. Yet things worked more or less. Now, on bootup, the hdd appears to be read correctly but the messages come up: fsck: Bad file descriptor Unknown error; help! init: /rescue/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /rrescue/sh: I suspect that there are only 2 possibilities: reinstall everything (ohmigodidon'twant to go throught this again) or update the kernel or the 6.2 installation (maybe the installed programs don't need to be reinstalled ) :) What could be done? I have no important files on the disk as I keep those on other disks and/or computers. I have googled without success. Thanks for any suggestions. Phil