From owner-freebsd-questions Tue Dec 17 8:38:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0080837B401 for ; Tue, 17 Dec 2002 08:38:21 -0800 (PST) Received: from typhoon.enabled.com (typhoon.enabled.com [198.49.1.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5615143E4A for ; Tue, 17 Dec 2002 08:38:21 -0800 (PST) (envelope-from sleek@enabled.com) Received: from localhost (localhost.enabled.com [127.0.0.1]) by typhoon.enabled.com (8.12.6/8.12.6) with ESMTP id gBHGWKal011014 for ; Tue, 17 Dec 2002 08:32:20 -0800 (PST) (envelope-from sleek@enabled.com) Date: Tue, 17 Dec 2002 08:32:20 -0800 (PST) From: Noah Garrett Wallach To: freebsd-questions@freebsd.org Subject: Drive Failure Message-ID: <20021217082802.V9984-100000@typhoon.enabled.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, my current system drive is having difficulties some files that were in great shape are now EBADF. This drive is known as ad0 (yup IDE) So I installed a new drive and have moved all files over to it. The new drive is known as ad2. Is my fdisk usage here proper? Is this the proper response from fdisk? What else should I be doing? What might I be doing wrong? root@typhoon# fdisk -B -b ./boot0 ad2 [/mnt/ad2-root/boot] ******* Working on device /dev/ad2 ******* parameters extracted from in-core disklabel are: cylinders=148945 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=148945 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 150136497 (73308 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 464/ head 15/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: Do you want to change the boot code? [n] --- TCB'n, #Noah San Francisco, California --- USA There is a light, that shines beyond all things on earth, beyond us all, beyond the highest heavens. This is the light that shines in our hearts. - The Buddha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message