*BSD News Article 35078


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!EU.net!sunic!trane.uninett.no!due.uninett.no!neptun.cmr.no!tl
From: tl@neptun.cmr.no (Tom Lislegaard)
Newsgroups: comp.os.386bsd.questions
Subject: Fix for "bad sector table corrupted" (FreeBSD)?
Date: 28 Aug 1994 13:09:49 GMT
Organization: Christian Michelsen Research a/s
Lines: 22
Distribution: world
Message-ID: <33q2at$4mm@due.uninett.no>
NNTP-Posting-Host: neptun.cmr.no

I'm setting up a secondary IDE disk and keep running into problems
with disklabel. System is FreeBSD 1.1.5.
At boot the kernel says

 wd1: cannot find label (bad sector table corrupted)

I can install the disklabel and read it back (with 'disklabel -r wd1'),
and also create and mount filesystems, but the label disappears at next
reboot. Can you tell me how I might be able to remedy this ?

Also I should say that the disk is partitioned in two with dos fdisk, and
has a bootmanager installed (pfdisk). If I change this disk to be
primary, I can select the first partition (dos) and boot it normally.

My suspicion is that I'm getting the disk geometry screwed up, anyway
it would be most helpful if someone could explain to me the general
layout of the disk, i.e locations of secondary bootstraps, disklabel,
and bad sector table. 

-tom
-- 
Tom Lislegaard,  System Manager,  Chr. Michelsen Research a/s, Bergen, Norway