*BSD News Article 66753


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!zib-berlin.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Invalid Partition Table
Date: 22 Apr 1996 06:30:56 GMT
Organization: Private FreeBSD site, Dresden
Lines: 31
Message-ID: <4lf930$hmg@uriah.heep.sax.de>
References: <4lb5dh$kuo@paperboy.livenet.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6

jsloan@LiveNet.Net (Jim Sloan) writes:
>I just recently installed FreeBSD 2.1 on a 3 gig ST 43400N.  The drive 
>geometry that FreeBSD wanted to use didn't match the specs on the drive, nor 
>would it accept the correct geometry (99 SPT, 21 Heads, 2735 cylinders, 
>FreeBSD wanted to use 2777 tracks, 64 heads, 27 SPT).  I set the drive up as 
>42 heads 50 SPT, 2735 tracks, and it accepted it.

I'm sounding like a broken record here:

The drive's real geometry is irrelevant.  Use the BIOS geometry.
The drive's real geometry is irrelevant.  Use the BIOS geometry.
The drive's real geometry is irrelevant.  Use the BIOS geometry.
...

(The drive's real geometry usually doesn't even have a uniform number
of sectors per track across the surface, so it cannot be expressed as
a straight C/H/S value anyway.)

>If anyone has any suggestions on how to fix this without losing the data I 
>currently have on the drive, I would appreciate it.

Run fdisk, and tweak the C/H/S values of the slice start so they match
the relative sector number of the slice start, in terms of the BIOS
geometry.  Be careful.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)