From owner-freebsd-questions Wed Aug 7 11:40:17 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA27910 for questions-outgoing; Wed, 7 Aug 1996 11:40:17 -0700 (PDT) Received: from cliff.bms.com (cliff.bms.com [140.176.1.102]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA27904 for ; Wed, 7 Aug 1996 11:40:15 -0700 (PDT) Received: from ccgate0.bms.com by cliff.bms.com (PMDF V5.0-7 #15142) id <01I7ZXM4Q97K00O4O3@cliff.bms.com>; Wed, 07 Aug 1996 14:38:35 -0500 (EST) Received: from ccMail by ccgate0.bms.com (SMTPLINK V2.11 PreRelease 4) id AA839454178; Wed, 07 Aug 1996 14:21:53 -0500 (EST) Date: Wed, 07 Aug 1996 14:21:53 -0500 (EST) From: "Jeffrey M. Metcalf" Subject: Repair boot sector of IDE hard drive To: questions@freebsd.org Cc: metcalf@imagine.com, joseph_m._o'connor@ccgate1.bms.com Message-id: <9607078394.AA839454178@ccgate0.bms.com> Content-transfer-encoding: 7BIT Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, In preparing an installation of FreeBSD 2.1, a collegue of mine and I used DOS fdisk to partition an IDE hard drive and through one process or another, managed to corrupt the boot sector. We do not have a backup of the boot sector and would like to know if there is a way to repair it. We know the geometry of the hard drive. It is a 1272MB hard drive with a geometry of 2466 cyls, 16 heads, and 63 sectors. Currently, DOS fdisk reports that the maximum size of the hard drive available for a primary DOS partition is 504MB, when this is clearly not the case. We want to correct the boot sector so that DOS fdisk will recognize the 1272MB as the maximum available size for a primary DOS partition. Thanks, J. Metcalf