Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 1996 13:31:50 -0700 (PDT)
From:      Ken Marsh <durang@u.washington.edu>
To:        "Jeffrey M. Metcalf" <jeffrey_m._metcalf@ccmail.bms.com>
Cc:        questions@freebsd.org, metcalf@imagine.com, joseph_m._o'connor@ccgate1.bms.com
Subject:   Re: Repair boot sector of IDE hard drive
Message-ID:  <Pine.A32.3.92a.960807133053.86254H-100000@homer27.u.washington.edu>
In-Reply-To: <9607078394.AA839454178@ccgate0.bms.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Well, I'm not sure, but for the benefit of speedy response, I'll guess:

use the undocumented fdisk /MBR on the drive.

Ken

On Wed, 7 Aug 1996, Jeffrey M. Metcalf wrote:

>      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
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.A32.3.92a.960807133053.86254H-100000>